emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#3016: closed (23.0.92.2; offer to make a directory


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#3016: closed (23.0.92.2; offer to make a directory when saving if it is needed)
Date: Tue, 12 Feb 2013 08:39:02 +0000

Your message dated Tue, 12 Feb 2013 03:37:39 -0500
with message-id <address@hidden>
and subject line Re: bug#3016: 23.0.92.2; offer to make a directory when saving 
if it is needed
has caused the debbugs.gnu.org bug report #3016,
regarding 23.0.92.2; offer to make a directory when saving if it is needed
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
3016: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3016
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.0.92.2; offer to make a directory when saving if it is needed Date: Thu, 16 Apr 2009 05:37:44 -0700 (PDT)

1. Do: C-x C-f /tmp/doesnotexist/myfile RET. Emacs tells you about 
make-directory
2. Type something.
3. C-x C-s. Error: no such directory

I suggest that Emacs not only tell the user about make-directory, but actually 
ask him/her in a y-n question if the directory should be created. This should 
happen on save.

The script could be then:

a. User does: C-x C-f /tmp/doesnotexist/myfile RET
b. Emacs warns: Warning: Directory /tmp/doesnotexist does not exist
c. User types something
d. User does: C-x C-s
e. Emacs asks: Create directory /tmp/doesnotexist? (y/n)
f1. If yes, it (and the above directories) are created
f2. If not, issue an error. The user can then do M-x make-directory as needed


This allows a faster save with just one extra key (C-x C-s y) instead of having 
to type M-x make-directory /tmp/doesnotexist RET C-x C-s







--- End Message ---
--- Begin Message --- Subject: Re: bug#3016: 23.0.92.2; offer to make a directory when saving if it is needed Date: Tue, 12 Feb 2013 03:37:39 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.4

Daniel Clemente wrote:

> 1. Do: C-x C-f /tmp/doesnotexist/myfile RET. Emacs tells you about
> make-directory
> 2. Type something.
> 3. C-x C-s. Error: no such directory
>
> I suggest that Emacs not only tell the user about make-directory, but
> actually ask him/her in a y-n question if the directory should be
> created. This should happen on save.

Sorry for the huge delay. This seems like a good idea, so I did it.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]