From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#29334: 25.3; compiled commands don't respect special interactive expressions Date: Thu, 04 Jan 2018 00:25:55 -0500 Message-ID: References: <07ace48b-93b3-4b01-9f71-b69ed44492c6@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515043526 9838 195.159.176.226 (4 Jan 2018 05:25:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2018 05:25:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 29334@debbugs.gnu.org, Allen Li To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 04 06:25:21 2018 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 1eWy1d-0001gf-Fn for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jan 2018 06:25:09 +0100 Original-Received: from localhost ([::1]:47371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWy3c-0003eW-4B for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jan 2018 00:27:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWy3V-0003eF-SH for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 00:27:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWy3S-0006eP-PG for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 00:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54510) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWy3S-0006eD-MD for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 00:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWy3S-0007lj-Bl for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 00:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jan 2018 05:27:02 +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: patch fixed Original-Received: via spool by 29334-submit@debbugs.gnu.org id=B29334.151504358029795 (code B ref 29334); Thu, 04 Jan 2018 05:27:02 +0000 Original-Received: (at 29334) by debbugs.gnu.org; 4 Jan 2018 05:26:20 +0000 Original-Received: from localhost ([127.0.0.1]:34958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWy2m-0007kU-7C for submit@debbugs.gnu.org; Thu, 04 Jan 2018 00:26:20 -0500 Original-Received: from pmta21.teksavvy.com ([76.10.157.36]:20504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWy2j-0007kD-Sy for 29334@debbugs.gnu.org; Thu, 04 Jan 2018 00:26:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2GDEwCAuk1a/xCds2tdHgEGDIM+gVqJSYYHjhMBggAzAZkLCoU1BAIChC9EFAEBAQEBAQEBAQNoKIUlAQQBViMFCws0EhQYDSSKOQi0VYo+AQEBAQYCASWEE4h/ixoFkzWQHo9liAuJUYd2lwmBPDYjgU8yGggwPYIqglMcGYFsI4k3AQEB X-IPAS-Result: A2GDEwCAuk1a/xCds2tdHgEGDIM+gVqJSYYHjhMBggAzAZkLCoU1BAIChC9EFAEBAQEBAQEBAQNoKIUlAQQBViMFCws0EhQYDSSKOQi0VYo+AQEBAQYCASWEE4h/ixoFkzWQHo9liAuJUYd2lwmBPDYjgU8yGggwPYIqglMcGYFsI4k3AQEB X-IronPort-AV: E=Sophos;i="5.45,505,1508817600"; d="scan'208";a="16791870" Original-Received: from 107-179-157-16.cpe.teksavvy.com (HELO ceviche.home) ([107.179.157.16]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jan 2018 00:25:55 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1C2BA66326; Thu, 4 Jan 2018 00:25:55 -0500 (EST) In-Reply-To: <07ace48b-93b3-4b01-9f71-b69ed44492c6@default> (Drew Adams's message of "Fri, 17 Nov 2017 06:55:41 -0800 (PST)") 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:141767 Archived-At: > 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. Indeed. As for the question in parenthesis, yes I consciously decided to break this "ugly hack" back then, wondering how much time it would take for people to notice it (and hoping I'd find the time/motivation to "do it right" in the mean time). > Hah, okay, but that was the conservative approach! The radical one > would be resolving this FIXME: > > static void > fix_command (Lisp_Object input, Lisp_Object values) > { > /* FIXME: Instead of this ugly hack, we should provide a way for an > interactive spec to return an expression/function that will re-build the > args without user intervention. */ E.g. we could allow the interactive spec to return either a list of argument *values*, or a list of argument *expressions* (and we could distinguish the two by having the second be a vector instead of a list, for example). Stefan