unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Xue Fuqiao <xfq.free@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Bastien <bzg@gnu.org>, emacs-devel@gnu.org
Subject: Re: /srv/bzr/emacs/trunk r111746: * files.el (basic-save-buffer): Offer to create a non-existing directory.
Date: Thu, 14 Feb 2013 07:58:08 +0800	[thread overview]
Message-ID: <20130214075808.e2c35690b086f143f241a239@gmail.com> (raw)
In-Reply-To: <jwvy5esqaod.fsf-monnier+emacs@gnu.org>

On Wed, 13 Feb 2013 14:27:59 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> > 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.
> I'm not opposed to it on principles, but I think that the default
> behavior should not do it, so as to minimize the risk that find-file
> ends up prompting in a context where the user is absent or doesn't even
> know that a file needs to be opened (internal uses of find-file-noselect).
> > 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.
> It's still meaningful in that it warns the user that maybe the name he
> provided was wrong, or that at the dir has not yet been created.

I agree with Stefan.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



  reply	other threads:[~2013-02-13 23:58 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
2013-02-13 19:27       ` Stefan Monnier
2013-02-13 23:58         ` Xue Fuqiao [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20130214075808.e2c35690b086f143f241a239@gmail.com \
    --to=xfq.free@gmail.com \
    --cc=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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).