unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Federico <federicotedin@gmail.com>
Cc: aaronjensen@gmail.com, 31039@debbugs.gnu.org
Subject: bug#31039: 27.0.50; allow silencing auto-save
Date: Sun, 05 Aug 2018 22:43:16 -0400	[thread overview]
Message-ID: <87zhy0xliz.fsf@gmail.com> (raw)
In-Reply-To: <CAA8GjPn_ZAosFke6MwKxcfv0Lanu5eKau8KVEF=Qy-T5h=KsVA@mail.gmail.com> (Federico's message of "Fri, 3 Aug 2018 21:51:53 -0300")

tags 31039 + patch
quit

Federico <federicotedin@gmail.com> writes:

> 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.

If you can add a NEWS entry mentioning the new variable, it should be
just about ready.

By the way, this patch is small enough to be added regardless, but if
you plan to send much more (the limit is about 15 lines, cumulative for
all of your patches), then you might want to think about getting started
on the copyright assignment.

> +  DEFVAR_LISP ("auto-save-quiet", auto_save_quiet,
> +	       doc: /* Non-nil means do not print any message when auto-saving. */);
> +  auto_save_quiet = Qnil;

The C name of the variable should start with V, like the others.

>    DEFVAR_LISP ("auto-save-timeout", Vauto_save_timeout,
>  	       doc: /* Number of seconds idle time before auto-save.
>  Zero or nil means disable auto-saving due to idleness.





  reply	other threads:[~2018-08-06  2:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-03  9:06 bug#31039: 27.0.50; allow silencing auto-save Aaron Jensen
2018-08-04  0:51 ` Federico
2018-08-06  2:43   ` Noam Postavsky [this message]
2018-08-06 14:56     ` Eli Zaretskii
2018-08-06 15:05     ` Eli Zaretskii
2018-08-06 23:02       ` Federico
2018-08-07 14:54         ` Eli Zaretskii
2018-08-07 18:36           ` Federico
2018-08-11 16:10             ` Aaron Jensen
2018-08-11  9:31         ` Eli Zaretskii
2018-08-11 10:11           ` Eli Zaretskii
2018-08-11 18:20             ` Federico

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=87zhy0xliz.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=31039@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=federicotedin@gmail.com \
    /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).