From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 17:12:04 2011 Received: (at submit) by debbugs.gnu.org; 21 Dec 2011 22:12:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdUOJ-0003HA-Ut for submit@debbugs.gnu.org; Wed, 21 Dec 2011 17:12:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdUOH-0003H3-Uo for submit@debbugs.gnu.org; Wed, 21 Dec 2011 17:12:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdUME-0000N7-Td for submit@debbugs.gnu.org; Wed, 21 Dec 2011 17:09:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:57979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdUME-0000N3-SA for submit@debbugs.gnu.org; Wed, 21 Dec 2011 17:09:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdUMD-00069d-JF for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2011 17:09:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdUMC-0000Mh-DA for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2011 17:09:53 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:55381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdUMC-0000MH-7u for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2011 17:09:52 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pBLM9mHQ009583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 21 Dec 2011 22:09:49 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pBLM9lrQ015809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 21 Dec 2011 22:09:48 GMT Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pBLM9l7X018863 for ; Wed, 21 Dec 2011 16:09:47 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 21 Dec 2011 14:09:47 -0800 From: "Drew Adams" To: Subject: 24.0.92; `save-buffer' and `basic-save-buffer': add MSG arg Date: Wed, 21 Dec 2011 14:09:45 -0800 Message-ID: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AczALT9sVSz5BvBHRnez09lHeaT9mg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090209.4EF2592D.0054,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Please make it possible to call this function without it displaying a message. E.g., add an optional MSG argument that is always non-nil interactively. One motivation: An Emacs function might do a series of things, including calling `save-buffer'. Sometimes the whole series could take a while, and a caller of the function might want to give a specific progress message: "Foo-barring..." and end with "Foo-barring...done". When the series of operations includes `save-buffer' this messaging is interrupted, and the user sees a message from `save-buffer', with no `...' to indicate that the overall operation (series) is not finished. In sum, since this function is sometimes called from Lisp, it makes little sense for it to systematically display a message. A caller should be able to control the messaging behavior. Same thing applies for `basic-save-buffer'. These functions are called from Lisp. They deserve optional MSG args to control message display. (Obviously, this applies only to the use of `message', not also to reading input or raising errors.) In GNU Emacs 24.0.92.1 (i386-mingw-nt5.1.2600) of 2011-12-06 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib' From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 16 20:21:53 2012 Received: (at 10345) by debbugs.gnu.org; 17 Sep 2012 00:21:53 +0000 Received: from localhost ([127.0.0.1]:37926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDP60-0006jP-Fh for submit@debbugs.gnu.org; Sun, 16 Sep 2012 20:21:53 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:39122) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDP5y-0006jF-AD for 10345@debbugs.gnu.org; Sun, 16 Sep 2012 20:21:50 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8H0Kbh9007476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <10345@debbugs.gnu.org>; Mon, 17 Sep 2012 00:20:37 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8H0Ka8a013701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <10345@debbugs.gnu.org>; Mon, 17 Sep 2012 00:20:36 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8H0Kaq6021429 for <10345@debbugs.gnu.org>; Sun, 16 Sep 2012 19:20:36 -0500 Received: from dradamslap1 (/10.159.170.142) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 16 Sep 2012 17:20:36 -0700 From: "Drew Adams" To: <10345@debbugs.gnu.org> References: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> Subject: RE: bug#10345: 24.0.92; `save-buffer' and `basic-save-buffer': add MSG arg Date: Sun, 16 Sep 2012 17:20:25 -0700 Message-ID: <4B429343FDED4577A0BB43D3CA011E7C@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> Thread-Index: AczALT9sVSz5BvBHRnez09lHeaT9mjUPPiCQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: 10345 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) ping From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 07:48:25 2016 Received: (at 10345) by debbugs.gnu.org; 28 Apr 2016 11:48:25 +0000 Received: from localhost ([127.0.0.1]:51386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avkQj-0003AR-ED for submit@debbugs.gnu.org; Thu, 28 Apr 2016 07:48:25 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:36492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avkQi-0003AK-EM for 10345@debbugs.gnu.org; Thu, 28 Apr 2016 07:48:24 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avkQc-0002IG-DG; Thu, 28 Apr 2016 13:48:23 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#10345: 24.0.92; `save-buffer' and `basic-save-buffer': add MSG arg References: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> Date: Thu, 28 Apr 2016 13:48:18 +0200 In-Reply-To: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> (Drew Adams's message of "Wed, 21 Dec 2011 14:09:45 -0800") Message-ID: <871t5qned9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10345 Cc: 10345@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > Please make it possible to call this function without it displaying a > message. E.g., add an optional MSG argument that is always non-nil > interactively. > > One motivation: > > An Emacs function might do a series of things, including calling > `save-buffer'. Sometimes the whole series could take a while, and a > caller of the function might want to give a specific progress message: > "Foo-barring..." and end with "Foo-barring...done". When the series of > operations includes `save-buffer' this messaging is interrupted, and the > user sees a message from `save-buffer', with no `...' to indicate that > the overall operation (series) is not finished. > > In sum, since this function is sometimes called from Lisp, it makes > little sense for it to systematically display a message. A caller > should be able to control the messaging behavior. > > Same thing applies for `basic-save-buffer'. These functions are called > from Lisp. They deserve optional MSG args to control message display. > (Obviously, this applies only to the use of `message', not also to > reading input or raising errors.) If you wish to save buffers without messaging, you use `write-region' or the like. `save-buffers' is a very user level function. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 07:48:28 2016 Received: (at control) by debbugs.gnu.org; 28 Apr 2016 11:48:28 +0000 Received: from localhost ([127.0.0.1]:51389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avkQm-0003Ah-Mz for submit@debbugs.gnu.org; Thu, 28 Apr 2016 07:48:28 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:36499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avkQm-0003Aa-0c for control@debbugs.gnu.org; Thu, 28 Apr 2016 07:48:28 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avkQj-0002IP-R3 for control@debbugs.gnu.org; Thu, 28 Apr 2016 13:48:27 +0200 Date: Thu, 28 Apr 2016 13:48:25 +0200 Message-Id: <87ziselzsm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10345 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 10345 wontfix close 10345 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 10:09:38 2016 Received: (at 10345) by debbugs.gnu.org; 28 Apr 2016 14:09:38 +0000 Received: from localhost ([127.0.0.1]:53182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmdO-0000H3-6o for submit@debbugs.gnu.org; Thu, 28 Apr 2016 10:09:38 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:27523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmdM-0000Gr-Q2 for 10345@debbugs.gnu.org; Thu, 28 Apr 2016 10:09:37 -0400 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3SE9UIe015674 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 28 Apr 2016 14:09:31 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u3SE9Ta6013493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 28 Apr 2016 14:09:30 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u3SE9S1a029461; Thu, 28 Apr 2016 14:09:29 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 28 Apr 2016 07:09:26 -0700 (PDT) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#10345: 24.0.92; `save-buffer' and `basic-save-buffer': add MSG arg References: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> <871t5qned9.fsf@gnus.org> In-Reply-To: <871t5qned9.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 10345 Cc: 10345@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > If you wish to save buffers without messaging, you use `write-region' or > the like. `save-buffers' is a very user level function. Closing. No. `write-region' does not do the same thing at all. And no, `save-buffers' is not only "a very user level function". As I said: > In sum, since this function is sometimes called from Lisp, > it makes little sense for it to systematically display a > message. A caller should be able to control the messaging > behavior. Do you deny that this function is sometimes called from Lisp? If you instead accept that, then why shouldn't a caller of it be able to control the messaging behavior? What does it cost Emacs to add an optional MSG argument? From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 10:16:05 2016 Received: (at 10345) by debbugs.gnu.org; 28 Apr 2016 14:16:05 +0000 Received: from localhost ([127.0.0.1]:53202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmjd-0000RN-17 for submit@debbugs.gnu.org; Thu, 28 Apr 2016 10:16:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmjZ-0000Qa-Pu for 10345@debbugs.gnu.org; Thu, 28 Apr 2016 10:16:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avmjR-0005Pf-CB for 10345@debbugs.gnu.org; Thu, 28 Apr 2016 10:15:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avmjR-0005Pb-8b; Thu, 28 Apr 2016 10:15:53 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3765 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1avmjQ-00040D-HF; Thu, 28 Apr 2016 10:15:52 -0400 Date: Thu, 28 Apr 2016 17:15:40 +0300 Message-Id: <834malyg37.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Thu, 28 Apr 2016 07:09:26 -0700 (PDT)) Subject: Re: bug#10345: 24.0.92; `save-buffer' and `basic-save-buffer': add MSG arg References: <53FC977FC8D04F11BD0F300217E71573@us.oracle.com> <871t5qned9.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 10345 Cc: larsi@gnus.org, 10345@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Thu, 28 Apr 2016 07:09:26 -0700 (PDT) > From: Drew Adams > Cc: 10345@debbugs.gnu.org > > Do you deny that this function is sometimes called from Lisp? > If you instead accept that, then why shouldn't a caller of it > be able to control the messaging behavior? > > What does it cost Emacs to add an optional MSG argument? Emacs 25 has the inhibit-message variable for this purpose, so I think this argument is no longer relevant. From unknown Tue Jun 17 01:35:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 May 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator