From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31039: 27.0.50; allow silencing auto-save Date: Mon, 06 Aug 2018 18:05:33 +0300 Message-ID: <83d0uvsfgi.fsf@gnu.org> References: <87zhy0xliz.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533567915 23109 195.159.176.226 (6 Aug 2018 15:05:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 15:05:15 +0000 (UTC) Cc: federicotedin@gmail.com, aaronjensen@gmail.com, 31039@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 17:05:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1fmh4H-0005rD-EX for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 17:05:09 +0200 Original-Received: from localhost ([::1]:34581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmh6O-0000gv-6W for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 11:07:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmh5B-0008EW-Go for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 11:06:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmh58-0005Ym-R0 for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 11:06:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmh58-0005Yf-Lx for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fmh58-00083i-Ca for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Aug 2018 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 31039-submit@debbugs.gnu.org id=B31039.153356794930955 (code B ref 31039); Mon, 06 Aug 2018 15:06:02 +0000 Original-Received: (at 31039) by debbugs.gnu.org; 6 Aug 2018 15:05:49 +0000 Original-Received: from localhost ([127.0.0.1]:42822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmh4v-00083D-BU for submit@debbugs.gnu.org; Mon, 06 Aug 2018 11:05:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmh4t-000830-Ct for 31039@debbugs.gnu.org; Mon, 06 Aug 2018 11:05:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmh4k-0005LW-90 for 31039@debbugs.gnu.org; Mon, 06 Aug 2018 11:05:42 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmh4k-0005LS-4j; Mon, 06 Aug 2018 11:05:38 -0400 Original-Received: from [176.228.60.248] (port=1756 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fmh4j-0003Gi-JS; Mon, 06 Aug 2018 11:05:37 -0400 In-reply-to: <87zhy0xliz.fsf@gmail.com> (message from Noam Postavsky on Sun, 05 Aug 2018 22:43:16 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:149285 Archived-At: > From: Noam Postavsky > Date: Sun, 05 Aug 2018 22:43:16 -0400 > Cc: aaronjensen@gmail.com, 31039@debbugs.gnu.org > > I've prepared a patch to add this feature (see attached file). Since > this is my first contribution to this project (and also my first time > sending a patch via email), it's possible I've made some mistakes > along the way. Any feedback is appreciated. Thanks. > * src/keyboarc.c (auto_save_quiet): New variable, allows suppressing ^^^^^^^^ A typo. > diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi > index a7cc57e4e9..0635aeba71 100644 > --- a/doc/emacs/files.texi > +++ b/doc/emacs/files.texi > @@ -1023,11 +1023,12 @@ Auto Save > > When Emacs determines that it is time for auto-saving, it considers > each buffer, and each is auto-saved if auto-saving is enabled for it > -and it has been changed since the last time it was auto-saved. The > -message @samp{Auto-saving...} is displayed in the echo area during > -auto-saving, if any files are actually auto-saved. Errors occurring > -during auto-saving are caught so that they do not interfere with the > -execution of commands you have been typing. > +and it has been changed since the last time it was auto-saved. When > +the @code{auto-save-quiet} variable is set to @code{nil}, the message > +@samp{Auto-saving...} is displayed in the echo area during auto-saving, > +if any files are actually auto-saved. Errors occurring during auto-saving > +are caught so that they do not interfere with the execution of commands > +you have been typing. Each variable (and function and command and macro and ...) described in the manual must be indexed. So please add @vindex auto-save-quiet before this paragraph. Also, this text should say what is the default of this variable. Btw, I'd prefer to call the variable auto-save-no-message. auto-save-quiet might not make its intent clear enough, IMO. Thanks.