🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #100012

Automatic directory creation

#100012
From: Stavros Macrakis
Date: Tue, 06 Mar 1990 00:49
17 lines
1377 bytes
GNU Emacs 18.55.1 of Tue Oct 31 1989 on marat (hpux)

Current GNU Emacs does not have a "create directory" function.  This
would be especially useful when one's reorganizing one's files and
thus creating new directory structure.

The simplest and most intuitive interface I can think of would create
directories as necessary for write and rename operations.  It should
presumably not do this without asking.

From a reprogramming point of view, it might be easiest to put this in
read-file-name and expand-file-name.  That is, if you tried to do
completion on a non-existent directory, it would ask you: "Create
directory foo/bar/q (y or n)?".

Are there any cases where (interactive "F") or read-file-name does not
expect to create the new file if it does not exist?
Technical Details
Message-ID: <9003051650.AA26830@mururoa.imag.fr>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!ri.osf.fr!macrakis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,3e542273118d0877,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-03-05 16:49:18 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!ri.osf.fr!macrakis
From: macrakis@ri.osf.fr (Stavros Macrakis)
Newsgroups: gnu.emacs.bug
Subject: Automatic directory creation
Message-ID: <9003051650.AA26830@mururoa.imag.fr>
Date: 6 Mar 90 00:49:18 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 17
Posted: Tue Mar  6 01:49:18 1990