From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r111746: * files.el (basic-save-buffer): Offer to create a non-existing directory. Date: Wed, 13 Feb 2013 14:27:59 -0500 Message-ID: References: <878v6swk1w.fsf@bzg.ath.cx> <87ehgktare.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360783706 16717 80.91.229.3 (13 Feb 2013 19:28:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2013 19:28:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 13 20:28:47 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5i0a-0006pM-4H for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2013 20:28:44 +0100 Original-Received: from localhost ([::1]:60620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5i0G-0006N0-L4 for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2013 14:28:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5i03-0005rT-1E for emacs-devel@gnu.org; Wed, 13 Feb 2013 14:28:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5hzz-0005K0-Qp for emacs-devel@gnu.org; Wed, 13 Feb 2013 14:28:10 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5hzu-0005IE-6r; Wed, 13 Feb 2013 14:28:02 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxKjI/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNAcLFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: Av4EABK/CFFFxKjI/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNAcLFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="1182779" Original-Received: from 69-196-168-200.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.200]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Feb 2013 14:27:59 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 7199059267; Wed, 13 Feb 2013 14:27:59 -0500 (EST) In-Reply-To: <87ehgktare.fsf@bzg.ath.cx> (Bastien's message of "Wed, 13 Feb 2013 17:54:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157010 Archived-At: > 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. Stefan