all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: /srv/bzr/emacs/trunk r111746: * files.el (basic-save-buffer): Offer to create a non-existing directory.
Date: Wed, 13 Feb 2013 17:54:29 +0100	[thread overview]
Message-ID: <87ehgktare.fsf@bzg.ath.cx> (raw)
In-Reply-To: <jwv8v6sb6b8.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 13 Feb 2013 10:08:34 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>>> * files.el (basic-save-buffer): Offer to create a non-existing
>>> directory.
>> The attached patch implements the same change for `find-file'.
>
> Now that save lets you create the dir, why would you need to do that in
> find-file?

To spare you from having to do it at saving time?

I often use C-x s to save all buffers, I would find it
more convenient to be asked for the creation of the dir
when finding the file.

Also right now, when finding a file in a non-existing
dir, the user is taught how to create the directory...
which seems a bit redundant with the fact that he will
be asked to create the dir anyway.

Probably not a big deal, though.

-- 
 Bastien



  reply	other threads:[~2013-02-13 16:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1U5BzI-0002eB-PS@vcs.savannah.gnu.org>
2013-02-13 11:05 ` /srv/bzr/emacs/trunk r111746: * files.el (basic-save-buffer): Offer to create a non-existing directory Bastien
2013-02-13 15:08   ` Stefan Monnier
2013-02-13 16:54     ` Bastien [this message]
2013-02-13 19:27       ` Stefan Monnier
2013-02-13 23:58         ` Xue Fuqiao
2013-02-14  6:23         ` Bastien
2013-02-14  6:23     ` Thierry Volpiatto
2013-02-14 13:59       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehgktare.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.