From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-26 ee512e9: Ignore buffers whose name begins with a space in save-some-buffers Date: Mon, 18 Sep 2017 22:44:00 -0400 Message-ID: References: <20170918202953.21378.63492@vcs0.savannah.gnu.org> <20170918202955.5043420AC4@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505789060 12575 195.159.176.226 (19 Sep 2017 02:44:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2017 02:44:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Eric Abrahamsen To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 19 04:44:16 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du8WF-0002vy-D4 for ged-emacs-devel@m.gmane.org; Tue, 19 Sep 2017 04:44:15 +0200 Original-Received: from localhost ([::1]:39791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du8WL-0003Cv-45 for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2017 22:44:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du8WF-0003Cj-EO for emacs-devel@gnu.org; Mon, 18 Sep 2017 22:44:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1du8WC-0006Ip-7K for emacs-devel@gnu.org; Mon, 18 Sep 2017 22:44:15 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du8WC-0006Hj-0S for emacs-devel@gnu.org; Mon, 18 Sep 2017 22:44:12 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v8J2i0Wt029090; Mon, 18 Sep 2017 22:44:00 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 71B0E66271; Mon, 18 Sep 2017 22:44:00 -0400 (EDT) In-Reply-To: <20170918202955.5043420AC4@vcs0.savannah.gnu.org> (Eric Abrahamsen's message of "Mon, 18 Sep 2017 16:29:54 -0400 (EDT)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6118=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6118> : inlines <6072> : streams <1763624> : uri <2502759> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:218502 Archived-At: > Ignore buffers whose name begins with a space in save-some-buffers > * lisp/files.el (save-some-buffers): Consider these buffers > "internal", and don't prompt the user to save them. > * doc/lispref/files.texi: Document. Why? Currently we only prompt for buffers with a leading space in 2 case: - the buffer is associated with a file: rather unlikely, but if it occurs, it's probably a good idea not to ignore this buffer. - the buffer has buffer-offer-save set to a non-nil value: here again if someone bothered to set this, it's a good idea not to ignore this buffer. Stefan