From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers Date: Tue, 29 Mar 2016 09:30:10 -0700 (PDT) Message-ID: <926e4dde-9802-450b-b61c-66fd3d56434a@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1459269096 13540 80.91.229.3 (29 Mar 2016 16:31:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 16:31:36 +0000 (UTC) To: Lars Magne Ingebrigtsen , 23151@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 18:31:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1akwY0-0000RO-2B for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 18:31:16 +0200 Original-Received: from localhost ([::1]:48651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akwXz-0001lJ-2q for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 12:31:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akwXp-0001hd-V0 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:31:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akwXl-00074o-VK for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:31:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akwXl-00074g-S7 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:31:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akwXl-00032B-Iu for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2016 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23151 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23151-submit@debbugs.gnu.org id=B23151.145926902111611 (code B ref 23151); Tue, 29 Mar 2016 16:31:01 +0000 Original-Received: (at 23151) by debbugs.gnu.org; 29 Mar 2016 16:30:21 +0000 Original-Received: from localhost ([127.0.0.1]:43974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akwX6-00031D-QD for submit@debbugs.gnu.org; Tue, 29 Mar 2016 12:30:20 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:50423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akwX5-000310-2K for 23151@debbugs.gnu.org; Tue, 29 Mar 2016 12:30:19 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2TGUCsN008756 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Mar 2016 16:30:13 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u2TGUCTC028170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Mar 2016 16:30:12 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u2TGUB8Q020213; Tue, 29 Mar 2016 16:30:11 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115717 Archived-At: > During an unrelated discussion on emacs-devel, it turns out that > virtually everybody Uh, 3 people? OK, 3 out of the 3 who bothered to say something about this. But "virtually everybody" might be a bit of an exaggeration, no? > is in the habit of making a change, then deleting > the change, just to make `C-x C-s' work. > > This means that there is a need for Emacs to offer a command to save > buffers, even if they aren't changed. No, it does not mean that. (But I have no objection to your adding such a command.) > 1) Have the interactive `C-x C-s' command always save the buffer, no > matter whether it's unchanged or not. I think many people would object > to this, as they're used to just `C-x C-s'-ing idly while thinking of > other things. I would object, for one. If you feel you must add a command, add a command. But please do not mess with `C-x C-s'. > 2) Have the prefix to that command save the unchanged buffer. This > would be the obvious choice, but: > Eh. Four `C-u's? I don't think so. We could bind `C-x C-s' to a new > `save-buffer-command' that has different prefix rules. Does anybody use > the backup stuff? Yes, of course they do. Hard to believe you wonder about this, or would even consider changing the UI of `C-x C-s'. > 3) Add a new keystroke. >=20 > 4) Something else. Just add the command. Users can bind it themselves, if they like. Time will then tell whether Emacs should at some point bind a key for the command by default. 5) Use `C-u C-x C-w RET' instead of `C-x C-s'. If you like, bind that to another key. Much ado about nothing, IMO.