From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31039: 27.0.50; allow silencing auto-save Date: Sun, 05 Aug 2018 22:43:16 -0400 Message-ID: <87zhy0xliz.fsf@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533523326 16928 195.159.176.226 (6 Aug 2018 02:42:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 02:42:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: aaronjensen@gmail.com, 31039@debbugs.gnu.org To: Federico Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 04:42:02 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 1fmVT7-0004Fj-J4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 04:42:01 +0200 Original-Received: from localhost ([::1]:60423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmVVD-00025x-T7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Aug 2018 22:44:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmVV7-00024X-9T for bug-gnu-emacs@gnu.org; Sun, 05 Aug 2018 22:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmVV4-0003bO-7t for bug-gnu-emacs@gnu.org; Sun, 05 Aug 2018 22:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmVV4-0003bH-3e for bug-gnu-emacs@gnu.org; Sun, 05 Aug 2018 22:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fmVV3-0005Cz-Ss for bug-gnu-emacs@gnu.org; Sun, 05 Aug 2018 22:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Aug 2018 02:44:01 +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: Original-Received: via spool by 31039-submit@debbugs.gnu.org id=B31039.153352340519971 (code B ref 31039); Mon, 06 Aug 2018 02:44:01 +0000 Original-Received: (at 31039) by debbugs.gnu.org; 6 Aug 2018 02:43:25 +0000 Original-Received: from localhost ([127.0.0.1]:42161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmVUT-0005By-7W for submit@debbugs.gnu.org; Sun, 05 Aug 2018 22:43:25 -0400 Original-Received: from mail-it0-f44.google.com ([209.85.214.44]:39935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmVUR-0005Bg-Np; Sun, 05 Aug 2018 22:43:24 -0400 Original-Received: by mail-it0-f44.google.com with SMTP id g141-v6so16090111ita.4; Sun, 05 Aug 2018 19:43:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=C7g9V036Vac4k7FMzQyR/0s/APRu10UtVfl/JY5nB6k=; b=lCBKXTcbmegHMromsiEXP4fgBMMP+u4kTlcEYBBuaOEA+CgjlNmynaI+9ZV6Azz4uP hG7wdLdMAug1oSPU+ZhsU0L9lwQWiUW3dRfhuYt0uTLDLpekDS8h1B+3NBZkAZH9r0jp YCE8sAf3fIenJt4b0dKIDwiZCQN3i8AU9W3AiMrPh5ECFBfhrgR+xtMakcJeTNG/CIWm jX0pRo2vwYecgHNysHvCOG8AjTS6h78hRzVIp1V50CES2Ldf1wWFv5UeMyKMLkJGhYVz 6yCfoX0eMEX8yGUO+jD2QsOXE2dhZcsUqttUtI5iPEewCPHd1h9/CkhCstHUEAq2bl++ P1sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=C7g9V036Vac4k7FMzQyR/0s/APRu10UtVfl/JY5nB6k=; b=DInGpEOaOMrw0Emo5EeaiZRITFAG67b+oz6QUcvQGSbD/ajeWusNUQbCFuOWh5nfPm eozNtZEt5NHUaPk8TEM4vjL1sRyJZ1hgaZUl94Y1m8DqF8NmS18G44ovqolOOtn5Cpc5 pnkmg8fsgArz7J2jPwbhP+HZdRMY5aLWwV0u0Ug9MX0qZEGFIPX7yjOHCYWpFMJG+LAO eq3YAfHQ32Uk1g0mf2UQt9gwPoBoFAgvqhb3IyZcG5IGRTsx8Ng1Pzjy8rr77hii+lu3 slq45NuEVjl4gwyc38s2PpHXPtTucuCeyD7VjR4b4zPe5aSrJbIR6PovoGUoz8CzB9uB IuJQ== X-Gm-Message-State: AOUpUlEvGVyqOZraQLioisRmX8uKr65BTsqrer1srb6WEgCZtJ0loDeR CIAZaQrEmqY8XQu8yJP2TqKuvjpw X-Google-Smtp-Source: AAOMgpc8NE/cygWtA5anDOdDtuFPikchUPQpzuvHsw0SsDJ2g6idlZsuyyYef+gcRSoyuR/vZEBSag== X-Received: by 2002:a02:c50b:: with SMTP id s11-v6mr11372105jam.61.1533523398134; Sun, 05 Aug 2018 19:43:18 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id x17-v6sm3348396iob.6.2018.08.05.19.43.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Aug 2018 19:43:17 -0700 (PDT) In-Reply-To: (Federico's message of "Fri, 3 Aug 2018 21:51:53 -0300") 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:149275 Archived-At: tags 31039 + patch quit Federico 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.