From unknown Fri Jun 13 16:56:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31648: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 22:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 31648@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152763276511292 (code B ref -1); Tue, 29 May 2018 22:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2018 22:26:05 +0000 Received: from localhost ([127.0.0.1]:54390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNn49-0002w3-Eu for submit@debbugs.gnu.org; Tue, 29 May 2018 18:26:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNn47-0002vc-Ea for submit@debbugs.gnu.org; Tue, 29 May 2018 18:26:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNn41-000854-E2 for submit@debbugs.gnu.org; Tue, 29 May 2018 18:25:58 -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.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNn41-00084q-Ag for submit@debbugs.gnu.org; Tue, 29 May 2018 18:25:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNn40-0004Z7-4M for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 18:25:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNn3v-00080l-31 for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 18:25:56 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:46972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNn3u-0007xV-Ol for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 18:25:51 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4TML6p6123693 for ; Tue, 29 May 2018 22:25:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=MGj1vd7Exk+H/V2bH//WExcM7Oi06Rhuxj0/ts1xDYc=; b=NOmboYF8hJIjr2mYTs37GZK++aWO7E1DoCgEfS7057y1OTxouCS+xcWii8yc95eoQSbC RhZdksRCjLyAhzKxmcFtJweWdogHDh38w/l50/fMOTIYsT9tpCJUvaWFY0t1owUvO/4H IwLQZnE5Lo9MlGjjlR8daeIEaF+tDuUFtPO16z9uyCbn/sa9gWNQJC2d+i3vN4Sc7jgY K9dGYNy0p9mGoR96jMc9dcJ3SAjkrZAERK7SYwk8fnadY3EgX8QPIcgjHiGo+7CFX7eV 76GAYnp7zMkY4irOnrDUYSNWL/Dmo4Bum7/lW4UBK1DvYucUeeb8GRy7bNEN/s/eW0iv jQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2j9ev883fu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 May 2018 22:25:47 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4TMPlDj028871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 May 2018 22:25:47 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4TMPkMw015428 for ; Tue, 29 May 2018 22:25:47 GMT MIME-Version: 1.0 Message-ID: <0c0705a4-6790-4267-ab5e-59519f3d9915@default> Date: Tue, 29 May 2018 15:25:44 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8908 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=893 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805290237 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] 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: -5.0 (-----) The doc of `clone-indirect-buffer' is incorrect. It implies that the new, indirect buffer, is not displayed when the command is invoked interactively. The doc string is correct. Please correct the manual similarly. The statement of the second sentence here, from the doc string is missing from the manual: DISPLAY-FLAG non-nil means show the new buffer with 'pop-to-buffer'. This is always done when called interactively. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (One might wonder why non-nil, instead of nil, was chosen to show the buffer, since that's the default interactive behavior - but it's too late now.) In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-04-10 Repository revision: c267421647510319d2a70554e42f0d1c394dba0a Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From unknown Fri Jun 13 16:56:20 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: Drew Adams Subject: bug#31648: closed (Re: bug#31648: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer') Message-ID: References: <83fu25e8r8.fsf@gnu.org> <0c0705a4-6790-4267-ab5e-59519f3d9915@default> X-Gnu-PR-Message: they-closed 31648 X-Gnu-PR-Package: emacs Reply-To: 31648@debbugs.gnu.org Date: Sat, 02 Jun 2018 11:20:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1527938402-31433-1" This is a multi-part message in MIME format... ------------=_1527938402-31433-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31648: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer' 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 31648@debbugs.gnu.org. --=20 31648: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31648 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1527938402-31433-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31648-done) by debbugs.gnu.org; 2 Jun 2018 11:19:19 +0000 Received: from localhost ([127.0.0.1]:58431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fP4Z2-00089u-QD for submit@debbugs.gnu.org; Sat, 02 Jun 2018 07:19:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fP4Z1-00089g-2w for 31648-done@debbugs.gnu.org; Sat, 02 Jun 2018 07:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fP4Yq-0001uo-SW for 31648-done@debbugs.gnu.org; Sat, 02 Jun 2018 07:19:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fP4Yq-0001uH-PY; Sat, 02 Jun 2018 07:19:04 -0400 Received: from [176.228.60.248] (port=2164 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fP4Yp-0005fw-9g; Sat, 02 Jun 2018 07:19:04 -0400 Date: Sat, 02 Jun 2018 14:19:07 +0300 Message-Id: <83fu25e8r8.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <0c0705a4-6790-4267-ab5e-59519f3d9915@default> (message from Drew Adams on Tue, 29 May 2018 15:25:44 -0700 (PDT)) Subject: Re: bug#31648: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer' References: <0c0705a4-6790-4267-ab5e-59519f3d9915@default> 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: -5.0 (-----) X-Debbugs-Envelope-To: 31648-done Cc: 31648-done@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: Tue, 29 May 2018 15:25:44 -0700 (PDT) > From: Drew Adams > > The doc of `clone-indirect-buffer' is incorrect. It implies that the > new, indirect buffer, is not displayed when the command is invoked > interactively. > > The doc string is correct. Please correct the manual similarly. The > statement of the second sentence here, from the doc string is missing > from the manual: > > DISPLAY-FLAG non-nil means show the new buffer with 'pop-to-buffer'. > This is always done when called interactively. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I added a note about DISPLAY-FLAG in interactive calls, but in general you shouldn't expect this to be spelled out in the ELisp manual, because interactive invocation of commands is described in the Emacs manual, and the ELisp manual is biased towards non-interactive uses. > (One might wonder why non-nil, instead of nil, was chosen to show the > buffer, since that's the default interactive behavior - but it's too > late now.) ??? It's the default interactively, but not in non-interactive calls. It should be clear that non-interactive calls don't necessarily want to display the cloned buffer. ------------=_1527938402-31433-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 May 2018 22:26:05 +0000 Received: from localhost ([127.0.0.1]:54390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNn49-0002w3-Eu for submit@debbugs.gnu.org; Tue, 29 May 2018 18:26:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNn47-0002vc-Ea for submit@debbugs.gnu.org; Tue, 29 May 2018 18:26:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNn41-000854-E2 for submit@debbugs.gnu.org; Tue, 29 May 2018 18:25:58 -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.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNn41-00084q-Ag for submit@debbugs.gnu.org; Tue, 29 May 2018 18:25:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNn40-0004Z7-4M for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 18:25:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNn3v-00080l-31 for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 18:25:56 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:46972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNn3u-0007xV-Ol for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 18:25:51 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4TML6p6123693 for ; Tue, 29 May 2018 22:25:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=MGj1vd7Exk+H/V2bH//WExcM7Oi06Rhuxj0/ts1xDYc=; b=NOmboYF8hJIjr2mYTs37GZK++aWO7E1DoCgEfS7057y1OTxouCS+xcWii8yc95eoQSbC RhZdksRCjLyAhzKxmcFtJweWdogHDh38w/l50/fMOTIYsT9tpCJUvaWFY0t1owUvO/4H IwLQZnE5Lo9MlGjjlR8daeIEaF+tDuUFtPO16z9uyCbn/sa9gWNQJC2d+i3vN4Sc7jgY K9dGYNy0p9mGoR96jMc9dcJ3SAjkrZAERK7SYwk8fnadY3EgX8QPIcgjHiGo+7CFX7eV 76GAYnp7zMkY4irOnrDUYSNWL/Dmo4Bum7/lW4UBK1DvYucUeeb8GRy7bNEN/s/eW0iv jQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2j9ev883fu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 May 2018 22:25:47 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4TMPlDj028871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 May 2018 22:25:47 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4TMPkMw015428 for ; Tue, 29 May 2018 22:25:47 GMT MIME-Version: 1.0 Message-ID: <0c0705a4-6790-4267-ab5e-59519f3d9915@default> Date: Tue, 29 May 2018 15:25:44 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8908 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=893 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805290237 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] 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: -5.0 (-----) The doc of `clone-indirect-buffer' is incorrect. It implies that the new, indirect buffer, is not displayed when the command is invoked interactively. The doc string is correct. Please correct the manual similarly. The statement of the second sentence here, from the doc string is missing from the manual: DISPLAY-FLAG non-nil means show the new buffer with 'pop-to-buffer'. This is always done when called interactively. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (One might wonder why non-nil, instead of nil, was chosen to show the buffer, since that's the default interactive behavior - but it's too late now.) In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-04-10 Repository revision: c267421647510319d2a70554e42f0d1c394dba0a Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' ------------=_1527938402-31433-1--