From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29334: 25.3; compiled commands don't respect special interactive expressions Date: Fri, 17 Nov 2017 06:55:41 -0800 (PST) Message-ID: <07ace48b-93b3-4b01-9f71-b69ed44492c6@default> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510930574 21559 195.159.176.226 (17 Nov 2017 14:56:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2017 14:56:14 +0000 (UTC) To: Allen Li , 29334@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 17 15:56:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFi3p-00056N-Gy for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Nov 2017 15:56:05 +0100 Original-Received: from localhost ([::1]:46352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFi3x-0000on-0Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Nov 2017 09:56:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFi3q-0000oU-7z for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 09:56:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFi3m-0008S2-3h for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 09:56:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36463) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFi3m-0008Rn-01 for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 09:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eFi3l-00012W-Ny for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 09:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Nov 2017 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29334-submit@debbugs.gnu.org id=B29334.15109305523990 (code B ref 29334); Fri, 17 Nov 2017 14:56:01 +0000 Original-Received: (at 29334) by debbugs.gnu.org; 17 Nov 2017 14:55:52 +0000 Original-Received: from localhost ([127.0.0.1]:45144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFi3b-00012I-Rl for submit@debbugs.gnu.org; Fri, 17 Nov 2017 09:55:52 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:16739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFi3Z-00012C-7U for 29334@debbugs.gnu.org; Fri, 17 Nov 2017 09:55:49 -0500 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAHEth3S020953 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Nov 2017 14:55:43 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAHEtheY008464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Nov 2017 14:55:43 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vAHEtgTU024892; Fri, 17 Nov 2017 14:55:43 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4615.0 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140007 Archived-At: > 1. emacs -Q > 2. Mark some text in the buffer > 3. M-x append-to-buffer RET *scratch* RET > 4. C-x ESC ESC >=20 > Expected last command: >=20 > (append-to-buffer "*scratch*" (region-beginning) (region-end)) >=20 > Actual last command: >=20 > (append-to-buffer "*scratch*" 1 145) >=20 > If you then go and re-evaluate append-to-buffer (thus loading the > source version instead of the compiled version, you get >=20 > (append-to-buffer "*scratch*" (region-beginning) (region-end)) >=20 > Thus, it looks like the compiled command doesn't handle special > interactive forms correctly. Yes, thank you! This is something that has bugged me for a while. This change is actually a regression (or else on purpose?), introduced in Emacs 24. In all Emacs releases prior to 24 it works as a user expects. Dunno whether this bug report might be a duplicate. It seems unlikely that no one (including me) has reported this before. It reduces the utility of `C-x ESC ESC' considerably. An inexperienced user will likely give up altogether trying to use such a command with `C-x ESC ESC', if not give up on `C-x ESC ESC' entirely, through not fully understanding. And an experienced user has the annoyance of having to edit the hard-coded values to get the behavior expected.