From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23936@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146816889725142 (code B ref -1); Sun, 10 Jul 2016 16:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2016 16:41:37 +0000 Received: from localhost ([127.0.0.1]:45391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHnV-0006XS-5W for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHnT-0006XE-FN for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMHnN-0004fn-9T for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHnN-0004ff-6H for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHnK-0003TB-Qa for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 12:41:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMHnI-0004fR-ME for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 12:41:25 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:34662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHnI-0004fD-F9 for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 12:41:24 -0400 Received: by mail-pf0-x244.google.com with SMTP id g202so1226095pfb.1 for ; Sun, 10 Jul 2016 09:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version; bh=nMXkMneiwVsFjlP4Z2b44gn9I7fGZbPQQB5qbEY5TsY=; b=B/aMf7LH91sREej3b9I72hmIcqDzOOfQBJYZ3nHzj4qx3LvMWU4VLSojtrMYzO3QEV P1ATKyNh4Lvhc8pB8BV93HdClQmNU4MP6BIPqspGqB7x/wrdmkQ3yzq6g53SatpVusM+ s9QmSt2gbzjpcF+Tw9Xir+Mtc/YuxhmjkD7sM7r3fnybqWDPCv7wj8OvTkFMMc5+jsBw B1su+fRnZkmSAIfVfnXwHlsVQ6ZwHIcpblzsKRwDYJ6oBIdRpXRLRk+hPlOMlumNgAlx xHdz3cPUjcEHG9qLrJ7YaiGBlIBVcnZKmeYAIE5NxLpER8V476nzKCt7hlRymuVhwMLL IqTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:user-agent :mime-version; bh=nMXkMneiwVsFjlP4Z2b44gn9I7fGZbPQQB5qbEY5TsY=; b=V22x48/d8DT+sEYvbPNbCO4kDeMDUm564huKGuOY6Y521ecJ1T6DAb/cgjCdwVEnUb 2MqzyhLg2c6laHxL8Sd25YpK1qFpZHvLQOFKAnBJCrLemitPQ5FXTfCa9cp4rf33/DhC dzleaSb2LNW6RHed9io1GXFiogceTmL0B2PfSh3PM/faGgH7mp1ryA4zF2LRCGhapWrh W9/rPWrq1dqqZ14ji+RR45PBQgWeK/Q2X6Mv4PbkOTurNIR88og0GQyBycpR8mhf5lvI fSzjnR3Cj/xcQeflYqkkSq5Y+0cwXZqrIL+EL2cPlEDtcikLg+wIrcmnAxOhG55rg/Gy vtKg== X-Gm-Message-State: ALyK8tJLB8yGOS8pmlFM9ZNBEY8WKc1BuG9hrtx6GBDFY5mSM7enohqBkCOH+KxJQ4KneQ== X-Received: by 10.98.113.74 with SMTP id m71mr27854653pfc.6.1468168883376; Sun, 10 Jul 2016 09:41:23 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id h77sm2782990pfj.86.2016.07.10.09.41.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 09:41:22 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 11 Jul 2016 01:41:20 +0900 (JST) X-X-Sender: calancha@calancha-pc Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) Doc strings don't specify correctly when the buffer is erased, in what buffer position the output is inserted or when the mark is set. emacs -Q ;; Evaluate following two forms (progn (switch-to-buffer (get-buffer-create "*out*")) (insert (format "1 2\n\n\n\nfoo\n")) ; point is at 12 (shell-command-on-region 1 4 "printf 'bar\n'" t)) ; point is at 5 (progn (switch-to-buffer (get-buffer-create "*out*")) (shell-command "date" t)) ; buffer is not erased ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >From 90915fdad69939886a3a1dcc377453b2e98b2089 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Mon, 11 Jul 2016 01:33:22 +0900 Subject: [PATCH] * lisp/simple.el (shell-command, shell-command-on-region): Fix doc strings --- lisp/simple.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index ba026af..cb8c0ce 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3235,11 +3235,11 @@ shell-command The optional second argument OUTPUT-BUFFER, if non-nil, says to put the output in some other buffer. -If OUTPUT-BUFFER is a buffer or buffer name, put the output there. -If OUTPUT-BUFFER is not a buffer and not nil, -insert output in current buffer. (This cannot be done asynchronously.) -In either case, the buffer is first erased, and the output is -inserted after point (leaving mark after it). +If OUTPUT-BUFFER is a buffer or buffer name, erase that buffer +and insert the output there after point. +If OUTPUT-BUFFER is not a buffer and not nil, insert the output +in current buffer after point leaving mark after it. +(This cannot be done asynchronously). If the command terminates without error, but generates output, and you did not specify \"insert it in the current buffer\", @@ -3504,10 +3504,10 @@ shell-command-on-region Optional fourth arg OUTPUT-BUFFER specifies where to put the command's output. If the value is a buffer or buffer name, -put the output there. If the value is nil, use the buffer -`*Shell Command Output*'. Any other value, excluding nil, -means to insert the output in the current buffer. In either case, -the output is inserted after point (leaving mark after it). +erase that buffer and insert the output there. +If the value is nil, use the buffer `*Shell Command Output*'. +Any other value, excluding nil, means to insert the output +in the current buffer after START. Optional fifth arg REPLACE, if non-nil, means to insert the output in place of text from START to END, putting point and mark -- 2.8.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.1.50.5 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6) of 2016-07-10 built on calancha-pc Repository revision: 04a7977f700fc46cf29d5a41bc7dcffef71044c6 From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23936@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14681713493051 (code B ref -1); Sun, 10 Jul 2016 17:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2016 17:22:29 +0000 Received: from localhost ([127.0.0.1]:45501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIR2-0000n9-Ul for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:22:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIR0-0000mx-Tj for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:22:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMIQu-0008LP-N7 for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:22:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIQu-0008LJ-KI for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:22:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIQt-0002ij-5I for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:22:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMIQo-0008Kp-Sh for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:22:18 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:49427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIQo-0008Kk-HW for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:22:14 -0400 Received: from [192.168.1.82] ([109.24.225.43]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MPt6U-1bQAJr2zoI-0055LN for ; Sun, 10 Jul 2016 19:22:13 +0200 References: From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Message-ID: <57828445.3020006@gmail.com> Date: Sun, 10 Jul 2016 19:22:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GBtcUeff6dWpGqhxMOct2gvbIeNC079t4" X-Provags-ID: V03:K0:VzhsZ7tpFWHtJVQWqls8DLXPBxJzcB/ge3PocsA2ZILvc13PoT9 rIuDFRVRU77bjJQ6w94XrgT9m2KDwkVXTgB9jBaXRkQqdirDd8fnDlakoydux8pb9H+pL/P 3iLn4Fe8oAJqk1qm4XEvuKayXTDzD3qSHfFNkLFdMNcZrGg5eTfwVlfAOzcjd6JlEk/p3sU mIvbs529BOVPYIARkLJnw== X-UI-Out-Filterresults: notjunk:1;V01:K0:7Kt2K/XYrr0=:cepwAYrFHWeHnyU+VR/WfY BBUEBqLBoIIe1pqbCj34caUBrzO7hAuJ7hXq11lzJCVtYa1Sx0I74IyQC70dwm3D5j7FBikfl w+nR5IXqvt20kNYFNhIl3q+lCB+LYD2dLQDPaB5bXcrpcKyIO5jiKu94AOThW/qiVE5e6j8JY i35l3i7PkVG2cr9OtRTx2Q4eQdGuOccIlZob7vw56QESbkA3Jlxx7/ArcdKV7j2Y/QgNW2tnl fvazK30D630zcmOH47B6mzhIJlgOrjUY5tj60o1DBBV1mtodI+EhoxonU12jwbAp+eW9xrIWq 5HXPw5a0xCVuqetL13tfKYcFT8s/RGS6VdP4PCQizqQ5KQ0SpR89YLR9NLzBuVUFCTdnOlg0U yOoLyJldbgG5mWlTY42p44Fw3f9sQPpEVSyi6G37YZzYiHsCi9k0ql9HpFXAWbKyjhRDCWy6x MQHjH726auoQsvV+EwHITnoaDQR30nMUCeo9XYQHEIN8P51Any8wgvh+TxJ+wS9VtegyVBIs1 SvW1P1aifl9Op4f2zZ2AuoN7ScUPUwxdRKNlXIDnFMqcHc9K/me6GBxeXqT6HXYzJfrHpQ6A6 O6w4+F3JrpPXyk5uGqZbhk6924MKieUPxpTiAMXcsW1DRdI2ZW24n/SBjJewd8WRJCRtRNEKk tMHxIT+Uy0Of25VYABwsgEsSJWzf7kNCPOKPrcn9yegbhHQzD2Dwx6Q3cg4CyKvhIH7M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GBtcUeff6dWpGqhxMOct2gvbIeNC079t4 Content-Type: multipart/mixed; boundary="VjOIJmC7hu8ePh7wMObG1BF3tXvpdMs5t" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: <57828445.3020006@gmail.com> Subject: Re: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix References: In-Reply-To: --VjOIJmC7hu8ePh7wMObG1BF3tXvpdMs5t Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable LGTM, but: why do you need to say it's inserted after point, since the bu= ffer is erased anyway? > +Any other value, excluding nil, means to insert the output > +in the current buffer after START. "Any other non-nil value"? I read this wrong on the first read. Doesn't m= atter much though. Cl=E9ment. On 2016-07-10 18:41, Tino Calancha wrote: >=20 > Doc strings don't specify correctly when the buffer > is erased, in what buffer position the output is > inserted or when the mark is set. >=20 > emacs -Q > ;; Evaluate following two forms > (progn > (switch-to-buffer (get-buffer-create "*out*")) > (insert (format "1 2\n\n\n\nfoo\n")) ; point is at 12 > (shell-command-on-region 1 4 "printf 'bar\n'" t)) ; point is at 5 >=20 > (progn > (switch-to-buffer (get-buffer-create "*out*")) > (shell-command "date" t)) ; buffer is not erased >=20 > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;= ;;;;;;;; >=20 >> From 90915fdad69939886a3a1dcc377453b2e98b2089 Mon Sep 17 00:00:00 2001= > From: Tino Calancha > Date: Mon, 11 Jul 2016 01:33:22 +0900 > Subject: [PATCH] * lisp/simple.el (shell-command, shell-command-on-regi= on): > Fix doc strings >=20 > --- > lisp/simple.el | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) >=20 > diff --git a/lisp/simple.el b/lisp/simple.el > index ba026af..cb8c0ce 100644 > --- a/lisp/simple.el > +++ b/lisp/simple.el > @@ -3235,11 +3235,11 @@ shell-command >=20 > The optional second argument OUTPUT-BUFFER, if non-nil, > says to put the output in some other buffer. > -If OUTPUT-BUFFER is a buffer or buffer name, put the output there. > -If OUTPUT-BUFFER is not a buffer and not nil, > -insert output in current buffer. (This cannot be done asynchronously.= ) > -In either case, the buffer is first erased, and the output is > -inserted after point (leaving mark after it). > +If OUTPUT-BUFFER is a buffer or buffer name, erase that buffer > +and insert the output there after point. > +If OUTPUT-BUFFER is not a buffer and not nil, insert the output > +in current buffer after point leaving mark after it. > +(This cannot be done asynchronously). >=20 > If the command terminates without error, but generates output, > and you did not specify \"insert it in the current buffer\", > @@ -3504,10 +3504,10 @@ shell-command-on-region >=20 > Optional fourth arg OUTPUT-BUFFER specifies where to put the > command's output. If the value is a buffer or buffer name, > -put the output there. If the value is nil, use the buffer > -`*Shell Command Output*'. Any other value, excluding nil, > -means to insert the output in the current buffer. In either case, > -the output is inserted after point (leaving mark after it). > +erase that buffer and insert the output there. > +If the value is nil, use the buffer `*Shell Command Output*'. > +Any other value, excluding nil, means to insert the output > +in the current buffer after START. >=20 > Optional fifth arg REPLACE, if non-nil, means to insert the > output in place of text from START to END, putting point and mark --VjOIJmC7hu8ePh7wMObG1BF3tXvpdMs5t-- --GBtcUeff6dWpGqhxMOct2gvbIeNC079t4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJXgoRFAAoJEPqg+cTm90wjRpoP/iy7KKp9XGEtIso3BGdnBHEG fWO4LcUA9Yi1TY8aQt5rDCVHtjUd6R/lkbvjv0SqwwDJCiQI9INgK9DNcVvEz1qH MPodZ/cG8No7Rb5X568DNXoGygPP5IoBiqKEUt/vlv8m1Y5dwKhfcDFJ86yXjC9T PbLNIxRpPVfFglEgFqDV2RcDFlL4uV96ZZ+b9NRO+3bVX1pRUVzZlBnY+iQibGeb sqvzd2isFH49V5i8CT294yYCxsm/W51fPBZzUFMijEggjvN9QeiZQVIrLbn+61If cB9zrrcVzumPFLfVpZ8YfQeYPSoMGjWPNJwI/qebgpdZ+XbcoF9wXo/GiiH8fNID 9M1/PUbu5Jg9PYjXrmKkA7QevQGLAPSaUhKT+Oi2VOs8rBt7A0iqWM032wOoN3yM e/kA2Mu5CPWUL7Q0hDaAjEDHNLQk9vkyrvPruChWA0K7+D/Kd+5vuSgtgoQu5A7n bhOCfFg+mzmwvXuD5oMpX2A53k/VXr08YDPejjCKpYQfONJTCYjFUhr8POTnJ7i6 MZdZ7rqo8pimbZj4BZJgY2u+AM9E0WX/xP3sc5DMzNmHcygYza9ShFMgbPyQENKi 3rAsU6txqg5V1cGe0eteXMnpJ1A0xtCJ1Rfit+lxVvYDodt4hDGlFgUSndEoN3Tv ATHWFot18V2r7YjnPA58 =B0Ga -----END PGP SIGNATURE----- --GBtcUeff6dWpGqhxMOct2gvbIeNC079t4-- From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix References: In-Reply-To: Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Cc: 23936@debbugs.gnu.org Received: via spool by 23936-submit@debbugs.gnu.org id=B23936.14681730755895 (code B ref 23936); Sun, 10 Jul 2016 17:52:02 +0000 Received: (at 23936) by debbugs.gnu.org; 10 Jul 2016 17:51:15 +0000 Received: from localhost ([127.0.0.1]:45556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIst-0001X0-Ge for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:51:15 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIss-0001Wn-Ku for 23936@debbugs.gnu.org; Sun, 10 Jul 2016 13:51:14 -0400 Received: by mail-pa0-f42.google.com with SMTP id fi15so14023171pac.1 for <23936@debbugs.gnu.org>; Sun, 10 Jul 2016 10:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=oN5gbbvfTfyGMc4DDPYUBoXwd24xBeQJXW6Ekty0qHU=; b=mmzZobR7BrpgVP5bByGxjxIzIA0LJkgOWJSmoLKcjYNDUMhK5UkpxX4cwQNnLCxusc 0aI6T01gprOdhK2UwtdcnaIoebFS8aY0D7cRhX2i3xK4bK/oXVXPR+psyoe1RYaz4wDm o1gxE79Uymr2eZdGQ3uejyNAqAnO5aumn+OR1idhs2BcVwaQ7oJgvz6UdQTMZU+E1f8d Nshz07Pc85OoXsqoq90mmsMi3yR22zHxcWbuA8JYa16L8PSEXHKwmrDErMO7yZHEvngm QK1UOrDq/EwYTkSqpRq9+P4vw2nXyBwWf7D1vKF9muGVAv2twq7nhXgylL3jOTL5Omsz nbtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:user-agent :mime-version; bh=oN5gbbvfTfyGMc4DDPYUBoXwd24xBeQJXW6Ekty0qHU=; b=aSmznk51fW2T5ICXd5J/wMRpcHCjVcT11qJNnXZ77aLE7hlFzHhJa4QUzGiXpwbBDE Be6hGc42JEp1mO2fX6tc7Dy3s/H/4lQRfmYLKZES9nxJ1XW09qKWd3EDnocXRR973sFe gdPrmVDlcmswGDWPiARmfVftRLzQTVE8J9L2tAXZIB+xVTAIbP4cFNFs2uHwCObAGCPK nYWolvdSs6kx83gFNlMFBlOKZ/o4O1W6lXJomOG4C+hf5aFJ5k5x4977kAFYhEbQWgSA iiwhq1fSJDxE/2uzIiLVwdCQvEVQbCYCefz2Qau+/L2SXTu0GIYavZZR5g7xck2A4IDN PmGQ== X-Gm-Message-State: ALyK8tKPV39MwyLC/KocojCE1wqOEP2kFu9QiyWxtKvCSlE1Y3Q9mawK/q4ektJDMZLs5w== X-Received: by 10.66.156.9 with SMTP id wa9mr27880180pab.64.1468173068799; Sun, 10 Jul 2016 10:51:08 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id an13sm4343335pac.42.2016.07.10.10.51.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 10:51:08 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 11 Jul 2016 02:51:05 +0900 (JST) X-X-Sender: calancha@calancha-pc Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) 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.7 (/) >LGTM, but: why do you need to say it's inserted after point, since the buffer is erased anyway? You are right. I removed that part. >"Any other non-nil value"? I read this wrong on the first read. Doesn't matter much though. Your wording reads better. I rewrote following your suggstion. Thank you. From unknown Sat Jun 21 05:16:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tino Calancha Subject: bug#23936: closed () Message-ID: References: X-Gnu-PR-Message: they-closed 23936 X-Gnu-PR-Package: emacs Reply-To: 23936@debbugs.gnu.org Date: Sun, 10 Jul 2016 17:56:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1468173362-6334-1" This is a multi-part message in MIME format... ------------=_1468173362-6334-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23936: 25.1.50; shell-command shell-command-on-region doc fix which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23936@debbugs.gnu.org. --=20 23936: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23936 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1468173362-6334-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23936-done) by debbugs.gnu.org; 10 Jul 2016 17:55:12 +0000 Received: from localhost ([127.0.0.1]:45565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIwi-0001d2-At for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:55:12 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:36747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIwg-0001cr-JU for 23936-done@debbugs.gnu.org; Sun, 10 Jul 2016 13:55:10 -0400 Received: by mail-pa0-f41.google.com with SMTP id hu1so14817403pad.3 for <23936-done@debbugs.gnu.org>; Sun, 10 Jul 2016 10:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:message-id:user-agent:mime-version; bh=GBuDDOYXiKTYGCGbPS6fk/he+pMZU9g/ZkvWeAnBmjw=; b=ut69mc9KjetH+bClE9ixqEaNxGYVDafv1HZevE2K/AygDZfplasUKAFqkCtcGJWCps u09oF0pTbqtIaAWawTGfhsy18r7rClc15jW0dJvjj8wqPSpVDxQooqpbJN38rJ00SH7Z hxJBd9Y40FqZSBVfy9vqYvGqVUQCUhGsV21del+VhOPb32wGRvc1+SqqN9Xl8VB7ZpTe 6DPZV5VtxO029qqbUpuYhyD+i3Duq3xi67fy/ruP4g0A1gd/eQ5bEeumxFP956jKy4Nj QMHtM4xWuMy14zSH/at8BKeoVMlQ6JL7gzbdgAXN1BpOoORpXPnk1jQXVEr/SpniIG4U 1NtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:message-id:user-agent:mime-version; bh=GBuDDOYXiKTYGCGbPS6fk/he+pMZU9g/ZkvWeAnBmjw=; b=Q8k2qdNHC64HfN3NOIrDft9gpALbCTES6kZHO9fIGZsZC4jd0KjGdvUbvhiJ4DVknD fbgt7WUcS04CbSFaeHe9Yvkearza92Uhx+l2n1ImcEUvuhsIxhe/Av1LFAGLTzVPpLIm MWb5yLOB8X4ZlordQcSJqmHXUctIBY7CqQ528tbBW819CSLAOrSVRX5w5L+uOyjMzyhJ zXcNadVoCmTJ9CtZIBCTJlevHHUcxnNymxU4GxU7AjN9wwj9DCOa8634iAwLxnJ9BcRc 37naK4IRhXDf6wY8NchMvH7o2zz42pwE9MQ8S51hyW8TWHkfaH3irAlT6S2szJOa4XgZ mHeA== X-Gm-Message-State: ALyK8tJOlpdry2fhBSNJ5ZBfSAuJmftmI7ZCWzKgT0yFyRJ7po8YYHObRJaRJE2L/m/rHg== X-Received: by 10.66.134.20 with SMTP id pg20mr27739144pab.98.1468173304916; Sun, 10 Jul 2016 10:55:04 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id w8sm5209336paz.32.2016.07.10.10.55.03 for <23936-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 10:55:04 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 11 Jul 2016 02:55:02 +0900 (JST) X-X-Sender: calancha@calancha-pc To: 23936-done@debbugs.gnu.org Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fixed in master branch [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.41 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.41 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 23936-done 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fixed in master branch [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.41 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.41 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Fixed in master branch ------------=_1468173362-6334-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Jul 2016 16:41:37 +0000 Received: from localhost ([127.0.0.1]:45391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHnV-0006XS-5W for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHnT-0006XE-FN for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMHnN-0004fn-9T for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHnN-0004ff-6H for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:41:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHnK-0003TB-Qa for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 12:41:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMHnI-0004fR-ME for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 12:41:25 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:34662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHnI-0004fD-F9 for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 12:41:24 -0400 Received: by mail-pf0-x244.google.com with SMTP id g202so1226095pfb.1 for ; Sun, 10 Jul 2016 09:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version; bh=nMXkMneiwVsFjlP4Z2b44gn9I7fGZbPQQB5qbEY5TsY=; b=B/aMf7LH91sREej3b9I72hmIcqDzOOfQBJYZ3nHzj4qx3LvMWU4VLSojtrMYzO3QEV P1ATKyNh4Lvhc8pB8BV93HdClQmNU4MP6BIPqspGqB7x/wrdmkQ3yzq6g53SatpVusM+ s9QmSt2gbzjpcF+Tw9Xir+Mtc/YuxhmjkD7sM7r3fnybqWDPCv7wj8OvTkFMMc5+jsBw B1su+fRnZkmSAIfVfnXwHlsVQ6ZwHIcpblzsKRwDYJ6oBIdRpXRLRk+hPlOMlumNgAlx xHdz3cPUjcEHG9qLrJ7YaiGBlIBVcnZKmeYAIE5NxLpER8V476nzKCt7hlRymuVhwMLL IqTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:user-agent :mime-version; bh=nMXkMneiwVsFjlP4Z2b44gn9I7fGZbPQQB5qbEY5TsY=; b=V22x48/d8DT+sEYvbPNbCO4kDeMDUm564huKGuOY6Y521ecJ1T6DAb/cgjCdwVEnUb 2MqzyhLg2c6laHxL8Sd25YpK1qFpZHvLQOFKAnBJCrLemitPQ5FXTfCa9cp4rf33/DhC dzleaSb2LNW6RHed9io1GXFiogceTmL0B2PfSh3PM/faGgH7mp1ryA4zF2LRCGhapWrh W9/rPWrq1dqqZ14ji+RR45PBQgWeK/Q2X6Mv4PbkOTurNIR88og0GQyBycpR8mhf5lvI fSzjnR3Cj/xcQeflYqkkSq5Y+0cwXZqrIL+EL2cPlEDtcikLg+wIrcmnAxOhG55rg/Gy vtKg== X-Gm-Message-State: ALyK8tJLB8yGOS8pmlFM9ZNBEY8WKc1BuG9hrtx6GBDFY5mSM7enohqBkCOH+KxJQ4KneQ== X-Received: by 10.98.113.74 with SMTP id m71mr27854653pfc.6.1468168883376; Sun, 10 Jul 2016 09:41:23 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id h77sm2782990pfj.86.2016.07.10.09.41.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 09:41:22 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 11 Jul 2016 01:41:20 +0900 (JST) X-X-Sender: calancha@calancha-pc To: bug-gnu-emacs@gnu.org Subject: 25.1.50; shell-command shell-command-on-region doc fix Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) Doc strings don't specify correctly when the buffer is erased, in what buffer position the output is inserted or when the mark is set. emacs -Q ;; Evaluate following two forms (progn (switch-to-buffer (get-buffer-create "*out*")) (insert (format "1 2\n\n\n\nfoo\n")) ; point is at 12 (shell-command-on-region 1 4 "printf 'bar\n'" t)) ; point is at 5 (progn (switch-to-buffer (get-buffer-create "*out*")) (shell-command "date" t)) ; buffer is not erased ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >From 90915fdad69939886a3a1dcc377453b2e98b2089 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Mon, 11 Jul 2016 01:33:22 +0900 Subject: [PATCH] * lisp/simple.el (shell-command, shell-command-on-region): Fix doc strings --- lisp/simple.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index ba026af..cb8c0ce 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3235,11 +3235,11 @@ shell-command The optional second argument OUTPUT-BUFFER, if non-nil, says to put the output in some other buffer. -If OUTPUT-BUFFER is a buffer or buffer name, put the output there. -If OUTPUT-BUFFER is not a buffer and not nil, -insert output in current buffer. (This cannot be done asynchronously.) -In either case, the buffer is first erased, and the output is -inserted after point (leaving mark after it). +If OUTPUT-BUFFER is a buffer or buffer name, erase that buffer +and insert the output there after point. +If OUTPUT-BUFFER is not a buffer and not nil, insert the output +in current buffer after point leaving mark after it. +(This cannot be done asynchronously). If the command terminates without error, but generates output, and you did not specify \"insert it in the current buffer\", @@ -3504,10 +3504,10 @@ shell-command-on-region Optional fourth arg OUTPUT-BUFFER specifies where to put the command's output. If the value is a buffer or buffer name, -put the output there. If the value is nil, use the buffer -`*Shell Command Output*'. Any other value, excluding nil, -means to insert the output in the current buffer. In either case, -the output is inserted after point (leaving mark after it). +erase that buffer and insert the output there. +If the value is nil, use the buffer `*Shell Command Output*'. +Any other value, excluding nil, means to insert the output +in the current buffer after START. Optional fifth arg REPLACE, if non-nil, means to insert the output in place of text from START to END, putting point and mark -- 2.8.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.1.50.5 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6) of 2016-07-10 built on calancha-pc Repository revision: 04a7977f700fc46cf29d5a41bc7dcffef71044c6 ------------=_1468173362-6334-1-- From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: (no subject) Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23936@debbugs.gnu.org, Tino Calancha Received: via spool by 23936-submit@debbugs.gnu.org id=B23936.14681735956714 (code B ref 23936); Sun, 10 Jul 2016 18:00:02 +0000 Received: (at 23936) by debbugs.gnu.org; 10 Jul 2016 17:59:55 +0000 Received: from localhost ([127.0.0.1]:45577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJ1H-0001kE-AO for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:59:55 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:32796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJ1G-0001k3-Nh for 23936@debbugs.gnu.org; Sun, 10 Jul 2016 13:59:54 -0400 Received: by mail-oi0-f53.google.com with SMTP id u201so120713636oie.0 for <23936@debbugs.gnu.org>; Sun, 10 Jul 2016 10:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=kNrc8rmosz07I77M51hVZ0k+WjhnnQ2S3fc+16fOlho=; b=iltdTCi7bknYrgtYbeJEaYnbu5pyxxXDzkm4cU8QMYv96qUlAUfN8QOk574DDMiGKQ NB7nXcoP6h8/zsmUBeM4xAsBW16euUUqpE1srhmlRIih3kx5ryU1xlqej2ejihQUBz3T vJ7FN3El7y6/BcnlcgqCzLOq9JSWuBNWZ3KFQnZYOugYOMdu+K+F4zlC02tMr1xh859r iWyh3nKIoI63UtvmaJg/NzcNKlQvd0vGMcXoCIDaX0yOZGJ6Lzzvhh5nGgKkROBxDldg T+WZP5AQEls3mWgPsmIkZey4niGOYYiLnvNOpDXvJhN0CkdAyivAQdgURg6op115hicN rhAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=kNrc8rmosz07I77M51hVZ0k+WjhnnQ2S3fc+16fOlho=; b=GH3/E6p8rBHsPtPKRozqXyUo1PkoIGBDH4s1eg+S0KrEgOcUq2uf8/+0yQoIU5dnOf cTk4QfhkUYeB4nCGk+gXcRajqGNm3wMqoOoFxL0N/l++WOt5ooWKQJ5JLtkurcte5/2+ dAhod/j63BFr1a4Ks1jaFUBP5m/zVJV6fPzv67RSGuZJ7eM1tuwf5u/Q+9FHbyHjYo6h MTb85wc2l1TpFsn/w4W26qa6r0twuofG5zZ3U3GmDJvgSWgHw0nkbUOt1rWYbpirQ9n4 fbWAP6Bb6jJzbI5pC5t4sfz0VoYVHuYxlCiCQ6ogxQJm68LQO1bMyLGZgdMMO/jx4+Qp kNzA== X-Gm-Message-State: ALyK8tLoCek41IN7hqonwO2Xb/LN4TYcWc338WcWw2Y9HFYzsYn0u7V2AULuUazS0S2Z+xo2VhZ6BhvQ1fXSqw== X-Received: by 10.202.207.205 with SMTP id f196mr6666974oig.178.1468173589072; Sun, 10 Jul 2016 10:59:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Sun, 10 Jul 2016 10:59:48 -0700 (PDT) In-Reply-To: References: From: Noam Postavsky Date: Sun, 10 Jul 2016 13:59:48 -0400 X-Google-Sender-Auth: O1-y6B0OwGZ_x9Lx-ChnvIchu3o Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Jul 10, 2016 at 1:55 PM, Tino Calancha wrote: > Fixed in master branch Doc only fixes should go in emacs-25, I think (unless they document something that's only in master, but AFAIK shell-command-{on-region} hasn't been changed...) [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.53 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.53 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Jul 10, 2016 at 1:55 PM, Tino Calancha wrote: > Fixed in master branch Doc only fixes should go in emacs-25, I think (unless they document something that's only in master, but AFAIK shell-command-{on-region} hasn't been changed...) [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.53 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.53 listed in list.dnswl.org] 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different On Sun, Jul 10, 2016 at 1:55 PM, Tino Calancha wrote: > Fixed in master branch Doc only fixes should go in emacs-25, I think (unless they document something that's only in master, but AFAIK shell-command-{on-region} hasn't been changed...) From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: (no subject) Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 23936@debbugs.gnu.org, Tino Calancha Received: via spool by 23936-submit@debbugs.gnu.org id=B23936.14681741727652 (code B ref 23936); Sun, 10 Jul 2016 18:10:01 +0000 Received: (at 23936) by debbugs.gnu.org; 10 Jul 2016 18:09:32 +0000 Received: from localhost ([127.0.0.1]:45592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJAa-0001zM-77 for submit@debbugs.gnu.org; Sun, 10 Jul 2016 14:09:32 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:36453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJAX-0001z6-TE for 23936@debbugs.gnu.org; Sun, 10 Jul 2016 14:09:30 -0400 Received: by mail-pf0-f170.google.com with SMTP id t190so28163318pfb.3 for <23936@debbugs.gnu.org>; Sun, 10 Jul 2016 11:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=C5i8dX+AriQfNPrjM0SkOipC1y7nRWam4gDKbNrvuxU=; b=VYXZHnPzSMC2zxlp0jJfdGZ5E3fdwGMV2rdid97TMCCvmac6uDB1X80TeBoIOxpRHD FWyX6N2qgDKXdcpBv/pVSJfs6FKQp9VEZJp8C8hw6lXEEliO+L6cy8HLKOhup9Kbrdbk 7ogmQ0nynseB//Rt7fjIu7lhBSlOrpcdXJcWknkeJN15/4910Ltw5PTDplp/Y/USGvzx rNdJaOcmJ3/lMNrpnUX/ARfnPHq8Uf5Eq8uLbRrZLphL6zZSJHeSpG/hSfyDPfMANcz0 YS7BYDmq6OaA7QfpiCpZA384pOHN6IrfbyPnBN7zQ/wjXnOmMa+MZDfFGmdXeaDX/O1r G1Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=C5i8dX+AriQfNPrjM0SkOipC1y7nRWam4gDKbNrvuxU=; b=VlnCsK3pJ9I15cI6k18IqnD9LjExJb0R8XfsKFX6k3z7Iew1oe7fw23c3CB2ImKG4e OGayikNKLYd1mN20zMfh5nMIZxNWZII2xkBHTjVkzPz+IS87Y884ovfoxb8asR8H2QM2 IxUCRST9WYQqF8HwiN5bSbq8xQ2o+W8UhiOUR5/5Xu4hpjewUrhZfnB/XhIlEmariGPg pgEsfs/SkUC1VauLO38qeNqtX/ai1GVtVsINYo9zJW1Y9WjAgna8gUo476fMwYWCj6Tj PPEilAHBJNjJg1up0Lo9WmT/KrB9M8qwEVtkJQIQMeNZurEdEo20l7K8XGlcIu8SiE51 kwhQ== X-Gm-Message-State: ALyK8tKXNCetZTWT8ZphISnyIqgRvGp2pEWVx6n8uizgDsCXsbWZPPFj78iICWHtNtJuBA== X-Received: by 10.98.18.9 with SMTP id a9mr28399288pfj.14.1468174164233; Sun, 10 Jul 2016 11:09:24 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id p129sm3826733pfb.73.2016.07.10.11.09.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 11:09:23 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 11 Jul 2016 03:09:21 +0900 (JST) X-X-Sender: calancha@calancha-pc In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, 10 Jul 2016, Noam Postavsky wrote: > On Sun, Jul 10, 2016 at 1:55 PM, Tino Calancha wrote: >> Fixed in master branch > > Doc only fixes should go in emacs-25, I think (unless they document > something that's only in master, but AFAIK shell-command-{on-region} > hasn't been changed...) Sorry for that. I assumed fixes to emacs-25 would hardly being accepted because the proximity of the release. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.170 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.170 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, 10 Jul 2016, Noam Postavsky wrote: > On Sun, Jul 10, 2016 at 1:55 PM, Tino Calancha wrote: >> Fixed in master branch > > Doc only fixes should go in emacs-25, I think (unless they document > something that's only in master, but AFAIK shell-command-{on-region} > hasn't been changed...) Sorry for that. I assumed fixes to emacs-25 would hardly being accepted because the proximity of the release. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.170 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.170 listed in list.dnswl.org] 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid On Sun, 10 Jul 2016, Noam Postavsky wrote: > On Sun, Jul 10, 2016 at 1:55 PM, Tino Calancha wrote: >> Fixed in master branch > > Doc only fixes should go in emacs-25, I think (unless they document > something that's only in master, but AFAIK shell-command-{on-region} > hasn't been changed...) Sorry for that. I assumed fixes to emacs-25 would hardly being accepted because the proximity of the release. From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jul 2016 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23936@debbugs.gnu.org Received: via spool by 23936-submit@debbugs.gnu.org id=B23936.146909105526324 (code B ref 23936); Thu, 21 Jul 2016 08:51:02 +0000 Received: (at 23936) by debbugs.gnu.org; 21 Jul 2016 08:50:55 +0000 Received: from localhost ([127.0.0.1]:59288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQ9h1-0006qV-B0 for submit@debbugs.gnu.org; Thu, 21 Jul 2016 04:50:55 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:36478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQ9gy-0006qF-V8 for 23936@debbugs.gnu.org; Thu, 21 Jul 2016 04:50:53 -0400 Received: by mail-pa0-f68.google.com with SMTP id ez1so4865028pab.3 for <23936@debbugs.gnu.org>; Thu, 21 Jul 2016 01:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:in-reply-to:message-id:references:user-agent :mime-version; bh=nj4+yXF12VcIbIEFQcwRd2NarQO5wc4O16YXIqEYGT4=; b=uEotbMuPcE6Rk1TZHDa5vif6rLk0DImbzfEYrgzrJ87z6LvW39YpS5+OnUdp4utEnr AMF+u3IzcHeLOqBJ5Nil6W8wpmd9o58MSg95q58Vr+HO017E1fFYOZdgBFy7md/7a8qO 6je/AyBTvyEJIqzRKO4Ih0Jwon7sTClJnLzixsygdJaG8SJM1czxd/BdzctTtDr03X4P XRxMSE756MYgcONGYDrSFqPXvsROYU7p1Xr11TOM26Ds5k1jOVAvgfuPVPrkZZiwM6mu rA4ykf8Kmt1/l4AA3cRdN+G1Y045ZhPEuzNHvpUBuITnheSREMRLxgl91YK5Y5ksdl53 d/ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=nj4+yXF12VcIbIEFQcwRd2NarQO5wc4O16YXIqEYGT4=; b=blroNgt5afKt2mbjaJpydPRudONOYXD0w1vMEgWuYTYh/51Paof3uCLvKY23NAXZ8V Kj7AWmf0Ol7OScj7Y5WhOPd0UJPv1Qwdq9CE9O8P59tDHKWYQ7+8i8Im5AI9laVVWm3l W/li93117YtZN4n+qJsYAkwG7ww+WJdSeAcrYhwtfnV5PkRgLdoVh9ZRpUReGQVRn12l ETcR+PdILiJbRtWFZ6TljGOf9V+fYbyfP2kAIXszO3Ybcz4xUYFHPLACZNUrTi2efduu nasJ+/fEO2pfz3VcpTRVtKYOAuYgKgpTTAus6dPT781vy7WyScCqxqOxcMtqetdAgRLF V59A== X-Gm-Message-State: ALyK8tJg0d92PezbSiACyzbJQgkOLpPEOJarMRUCD4G+EuUz+2FYr6+jyb4Qr4pKMTi6Ug== X-Received: by 10.66.161.225 with SMTP id xv1mr67441171pab.20.1469091046803; Thu, 21 Jul 2016 01:50:46 -0700 (PDT) Received: from calancha-pc ([103.5.140.156]) by smtp.gmail.com with ESMTPSA id yv9sm10286434pab.0.2016.07.21.01.50.45 for <23936@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 01:50:45 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Thu, 21 Jul 2016 17:48:36 +0900 (JST) X-X-Sender: calancha@calancha-pc In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) 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.7 (/) There is another wrong sentence in the doc strings for shell-command[-on-region] The output buffer is not deleted: the code killing that buffer was commented: ;; It is rude to delete a buffer which the command is not using. ;; Don't kill: there might be useful info in the undo-log. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >From 33e7bb2c459ffdf918ccbad4693c641d09349178 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Thu, 21 Jul 2016 17:35:17 +0900 Subject: [PATCH] Doc string fixes * lisp/simple.el (shell-command, shell-command-on-region): These commands never delete the buffer '*Shell-Command Output*'; update their doc strings (Bug#23936). --- lisp/simple.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 51c9100..e91b6e0 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3288,9 +3288,6 @@ shell-command in the current buffer\", a message about the error goes at the end of the output. -If there is no output, or if output is inserted in the current buffer, -then `*Shell Command Output*' is deleted. - If the optional third argument ERROR-BUFFER is non-nil, it is a buffer or buffer name to which to direct the command's standard error output. If it is nil, error output is mingled with regular output. @@ -3535,9 +3532,7 @@ shell-command-on-region The output is available in that buffer in both cases. If there is output and an error, a message about the error -appears at the end of the output. If there is no output, or if -output is inserted in the current buffer, the buffer `*Shell -Command Output*' is deleted. +appears at the end of the output. Optional fourth arg OUTPUT-BUFFER specifies where to put the command's output. If the value is a buffer or buffer name, -- 2.8.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix References: In-Reply-To: Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jul 2016 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23936@debbugs.gnu.org Received: via spool by 23936-submit@debbugs.gnu.org id=B23936.146909118426528 (code B ref 23936); Thu, 21 Jul 2016 08:54:02 +0000 Received: (at 23936) by debbugs.gnu.org; 21 Jul 2016 08:53:04 +0000 Received: from localhost ([127.0.0.1]:59293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQ9j5-0006to-QT for submit@debbugs.gnu.org; Thu, 21 Jul 2016 04:53:03 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:33834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQ9j4-0006tM-R5 for 23936@debbugs.gnu.org; Thu, 21 Jul 2016 04:53:03 -0400 Received: by mail-pa0-f67.google.com with SMTP id hh10so4907589pac.1 for <23936@debbugs.gnu.org>; Thu, 21 Jul 2016 01:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version; bh=nj4+yXF12VcIbIEFQcwRd2NarQO5wc4O16YXIqEYGT4=; b=LMe9FO9gJ6bKVTrzYWidLA+COWZNbctnKiGoUtiq5V03ctqEtCyxGBZpKl9XePVhoA VL6I9EpDQVzJDAu+EeV3OTbTDy2S1UoZewe+WiweZIyR67Bfu+3WJgr9o7AwGx8H+8yP qTmlixOKuM09ElaM/ylo1ex6acQYGmm84/47on0L0IrmQw9DDmowZfF/gkhpSZzpiF2F mHiCebCEDXyIHbQ66aaHpMrypCaJmHr4JlHxgH7cDKkqecqDb8XU2I4wl4G0BJjSUoES Ut9NILj7Sh0NJ4ThjPpy/46Vu0JGDKuOatGbjSZbDYkG2W/TT0usO5zFyP3gTQ8xh3h+ lEIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:user-agent :mime-version; bh=nj4+yXF12VcIbIEFQcwRd2NarQO5wc4O16YXIqEYGT4=; b=Uu4LBkKRwbHQ+UGpnvHCOXXvJddqtQ6IqMisn8ko6otjwHbpYDyhBkImZquuKt0NlU 1Zg6JWcZ3ptGWcxwXm3k0qORDdu44zjkK9Ti0dVySIAy3w+HKkeCyFBaLQEdp1JNO+si lhoLGoQut8XzCSYwICf4LYuhcuyzqjXwAiiUFppVBgvqLCoXEh+Fk88u5car5dtEBo8a dqs22h73ox0YJroNBPj1r6LvjW/7oqeefsvzWI3bIV2/nxkwZQp/N4a/xeujHxlyUnE5 Kkq6APzjDUsgM4qnqYtI6DaozFxLOgKtvWWN5svDP8h8G3d3Wb2mYUsSjwMSV9ey2sQM q4uQ== X-Gm-Message-State: ALyK8tKBxvQp/WZWqWz3pnlEgpQxqB+qOiQZPY938UhnCCQE0Crxv2LQQXk45CjCc4+I9Q== X-Received: by 10.66.253.101 with SMTP id zz5mr12559055pac.32.1469091177164; Thu, 21 Jul 2016 01:52:57 -0700 (PDT) Received: from calancha-pc ([103.5.140.156]) by smtp.gmail.com with ESMTPSA id l128sm4905309pfl.21.2016.07.21.01.52.55 for <23936@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 01:52:56 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Thu, 21 Jul 2016 17:52:54 +0900 (JST) X-X-Sender: calancha@calancha-pc Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) 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.7 (/) There is another wrong sentence in the doc strings for shell-command[-on-region] The output buffer is not deleted: the code killing that buffer was commented: ;; It is rude to delete a buffer which the command is not using. ;; Don't kill: there might be useful info in the undo-log. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >From 33e7bb2c459ffdf918ccbad4693c641d09349178 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Thu, 21 Jul 2016 17:35:17 +0900 Subject: [PATCH] Doc string fixes * lisp/simple.el (shell-command, shell-command-on-region): These commands never delete the buffer '*Shell-Command Output*'; update their doc strings (Bug#23936). --- lisp/simple.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 51c9100..e91b6e0 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3288,9 +3288,6 @@ shell-command in the current buffer\", a message about the error goes at the end of the output. -If there is no output, or if output is inserted in the current buffer, -then `*Shell Command Output*' is deleted. - If the optional third argument ERROR-BUFFER is non-nil, it is a buffer or buffer name to which to direct the command's standard error output. If it is nil, error output is mingled with regular output. @@ -3535,9 +3532,7 @@ shell-command-on-region The output is available in that buffer in both cases. If there is output and an error, a message about the error -appears at the end of the output. If there is no output, or if -output is inserted in the current buffer, the buffer `*Shell -Command Output*' is deleted. +appears at the end of the output. Optional fourth arg OUTPUT-BUFFER specifies where to put the command's output. If the value is a buffer or buffer name, -- 2.8.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; From unknown Sat Jun 21 05:16:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23936: 25.1.50; shell-command shell-command-on-region doc fix References: In-Reply-To: Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jul 2016 05:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23936@debbugs.gnu.org Received: via spool by 23936-submit@debbugs.gnu.org id=B23936.146916687523587 (code B ref 23936); Fri, 22 Jul 2016 05:55:01 +0000 Received: (at 23936) by debbugs.gnu.org; 22 Jul 2016 05:54:35 +0000 Received: from localhost ([127.0.0.1]:60704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQTPu-00068N-UE for submit@debbugs.gnu.org; Fri, 22 Jul 2016 01:54:35 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQTPs-000689-SS for 23936@debbugs.gnu.org; Fri, 22 Jul 2016 01:54:33 -0400 Received: by mail-pa0-f43.google.com with SMTP id fi15so36337660pac.1 for <23936@debbugs.gnu.org>; Thu, 21 Jul 2016 22:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version; bh=BsYgHno0zpAamoWrHZxPsa5yZxRdvG4lMnMPmzGNKP0=; b=zQjbw++R/JVMXyc3WmKxK0VrxNUZkK/FY4khJAoZETpInBOsZkv9WV4IyO93brlV8m 16Hyv3tBRyyOlwTLnlICkwcM+TaL1yDnapu+dMMrtnmPMWZxMq6DutwGWNts3e28yDrV AsJC+XYzV0fDBuIiORw9MoPnXlNTBF25NSVHEHNk1PNJOXvVKFit0XqS27AlzgH2sqC1 yVUDwWJauJj3ec6z1ecqccs0Qdvd32DiqLaAjHMxkYn/e7TLUmDQNwSl6D0RiFUzEYYV 59N2cE8dD56dtotvwM6C9/YImK+U7MFpSod0LLKn9pEVc6p7diYUAObPkb0pSdQd8tXl 5jWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:user-agent :mime-version; bh=BsYgHno0zpAamoWrHZxPsa5yZxRdvG4lMnMPmzGNKP0=; b=HsEntPDbnhFpyKZpK1h6CPHNbfeb6NPFNy2LK9ivlzzwUVn462VPvAtAJveipdLzF2 y2PtQActQVguGF53vrF/1684LPHaeR7tZQm1WhU69CSRm1zUDNa6Uddcy0mHs+7uAWVW 9ujassYcn2n2rYs6HeEJRdn4tODe3UvG++qxnFLd1x+qzTmHOeWkdoG9OUyAw3cvydip QlkYY2+/bX8pGOXhE3SqRVrux0cOXxKwQF7zHEGu4WswXQCKDjCro0yqSDH36ddL0DuR sDQBtIDA88Vh8wkYQxcV60EauCH54lunYDVv19mUPd+GklXRjRsm3VCBLtXi7/7AdRZ5 HJJA== X-Gm-Message-State: AEkoouulBsEs7i3NQYy1v4mFxX4IwI94NjL+LeVvUpxjALA+hvRmYMEtUSkRbbiApuG9SQ== X-Received: by 10.66.227.101 with SMTP id rz5mr3382337pac.81.1469166866773; Thu, 21 Jul 2016 22:54:26 -0700 (PDT) Received: from calancha-pc ([103.5.140.141]) by smtp.gmail.com with ESMTPSA id p4sm16439552pac.46.2016.07.21.22.54.25 for <23936@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 22:54:26 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Fri, 22 Jul 2016 14:54:23 +0900 (JST) X-X-Sender: calancha@calancha-pc Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) 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.7 (/) I am going to push the patch fixing the new issue (sentence saying that command may delete buffer '*Shell Command Output*') to the master branch.