From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 12 18:46:02 2017 Received: (at submit) by debbugs.gnu.org; 12 Aug 2017 22:46:02 +0000 Received: from localhost ([127.0.0.1]:58637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgfAP-0007cP-OW for submit@debbugs.gnu.org; Sat, 12 Aug 2017 18:46:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgfAN-0007cH-RX for submit@debbugs.gnu.org; Sat, 12 Aug 2017 18:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgfAH-0005gE-U4 for submit@debbugs.gnu.org; Sat, 12 Aug 2017 18:45:54 -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 lists.gnu.org ([2001:4830:134:3::11]:49421) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgfAH-0005gA-Qb for submit@debbugs.gnu.org; Sat, 12 Aug 2017 18:45:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgfAG-0008Pf-K5 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 18:45:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgfAD-0005f9-In for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 18:45:52 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:20097) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgfAD-0005eb-A3 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 18:45:49 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7CMjjhE020810 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 12 Aug 2017 22:45:46 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v7CMjjpi032630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 12 Aug 2017 22:45:45 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 v7CMji0b005106 for ; Sat, 12 Aug 2017 22:45:45 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 12 Aug 2017 15:45:25 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.5; doc string of `eval-buffer' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.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: -5.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 string should, like Elisp manual node `Eval', mention that this does NOT always "Execute the current buffer as Lisp code." It acts on the = current buffer restriction, if any. As the manual says: `eval-buffer' operates on the entire accessible portion of buffer ^^^^^^^^^^^^^^^^^^ That qualification changes everything. We don't always need to point out explicitly that a particular function acts on the accessible portion of the buffer, but it is important to do so in this case. In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D3D/c/usr --host=3D3Di686-pc-mingw32' From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 13:39:40 2019 Received: (at 28070) by debbugs.gnu.org; 15 Jul 2019 17:39:40 +0000 Received: from localhost ([127.0.0.1]:48962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn4wu-00061s-0n for submit@debbugs.gnu.org; Mon, 15 Jul 2019 13:39:40 -0400 Received: from quimby.gnus.org ([80.91.231.51]:46064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn4wq-00061f-S1 for 28070@debbugs.gnu.org; Mon, 15 Jul 2019 13:39:38 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn4wl-0001hR-OW; Mon, 15 Jul 2019 19:39:35 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#28070: 24.5; doc string of `eval-buffer' References: Date: Mon, 15 Jul 2019 19:39:31 +0200 In-Reply-To: (Drew Adams's message of "Sat, 12 Aug 2017 15:45:25 -0700 (PDT)") Message-ID: <87ef2rb3jg.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > The doc string should, like Elisp manual node `Eval', mention that this > does NOT always "Execute the current buffer as Lisp code." It acts on the current buffer restriction, if any. > > As the man [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28070 Cc: 28070@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: -1.0 (-) Drew Adams writes: > The doc string should, like Elisp manual node `Eval', mention that this > does NOT always "Execute the current buffer as Lisp code." It acts on the current buffer restriction, if any. > > As the manual says: > > `eval-buffer' operates on the entire accessible portion of buffer > ^^^^^^^^^^^^^^^^^^ > > That qualification changes everything. We don't always need to point > out explicitly that a particular function acts on the accessible portion > of the buffer, but it is important to do so in this case. Looks like this was fixed in 2015: --- Execute the accessible portion of current buffer as Lisp code. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 13:39:53 2019 Received: (at control) by debbugs.gnu.org; 15 Jul 2019 17:39:53 +0000 Received: from localhost ([127.0.0.1]:48965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn4x6-00062L-F7 for submit@debbugs.gnu.org; Mon, 15 Jul 2019 13:39:53 -0400 Received: from quimby.gnus.org ([80.91.231.51]:46076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn4x4-00062D-PN for control@debbugs.gnu.org; Mon, 15 Jul 2019 13:39:51 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn4x2-0001he-4q for control@debbugs.gnu.org; Mon, 15 Jul 2019 19:39:50 +0200 Date: Mon, 15 Jul 2019 19:39:47 +0200 Message-Id: <87d0ibb3j0.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28070 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: close 28070 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: -1.0 (-) close 28070 quit From unknown Sun Aug 17 22:08:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Aug 2019 11:24:08 +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