From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#9602: kbd macro does not evaluate its parameter Date: Mon, 26 Sep 2011 12:45:41 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317012450 6414 80.91.229.12 (26 Sep 2011 04:47:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 04:47:30 +0000 (UTC) Cc: 9602@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 26 06:47:26 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R836C-0008LH-B5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 06:47:24 +0200 Original-Received: from localhost ([::1]:39609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R836B-0001Ds-U9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 00:47:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8369-0001Dn-UY for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 00:47:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8368-00027I-Vm for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 00:47:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8368-00027E-S6 for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 00:47:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R836n-0005po-ND for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 00:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Sep 2011 04:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9602 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9602-submit@debbugs.gnu.org id=B9602.131701244922391 (code B ref 9602); Mon, 26 Sep 2011 04:48:01 +0000 Original-Received: (at 9602) by debbugs.gnu.org; 26 Sep 2011 04:47:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R836G-0005p5-Gm for submit@debbugs.gnu.org; Mon, 26 Sep 2011 00:47:29 -0400 Original-Received: from mail-pz0-f50.google.com ([209.85.210.50]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R836D-0005ow-RO for 9602@debbugs.gnu.org; Mon, 26 Sep 2011 00:47:26 -0400 Original-Received: by pzk37 with SMTP id 37so14587606pzk.9 for <9602@debbugs.gnu.org>; Sun, 25 Sep 2011 21:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=hqjBO7dsNYjlbhOxuD++bBVbsyKsrYZ4z4sb/bvk1w8=; b=lQbchMJGaKaIn4GLlfAYAe3VgDeZUOmtap2qGMMdz4NOhgCMi2QLQNuQjHI3gc6xKC GCd071JTugdz+1FrPV8NxvrW3jrKxm9AqBYIFyuTdfuSFPGSFjOdh86jOYfIwBUCgTB2 ue7+YQs2s/PGqaV4+4W9wBNLS9BMHaiUUa2rA= Original-Received: by 10.68.19.100 with SMTP id d4mr27333147pbe.28.1317012403382; Sun, 25 Sep 2011 21:46:43 -0700 (PDT) Original-Received: from Victoria.local ([123.123.253.89]) by mx.google.com with ESMTPS id e3sm69339680pbi.7.2011.09.25.21.46.39 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Sep 2011 21:46:42 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 26 Sep 2011 00:09:12 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Sep 2011 00:48:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51859 Archived-At: On 2011-09-26 12:09 +0800, Stefan Monnier wrote: > Yes, kbd should have been defined as an alias of read-kbd-macro > (i.e. a function) and mark it as pure so the byte-optimizer can > precompute it when applicable. How do you mean by 'mark it as pure' and how to do it? > I know that changing a function into a macro introduces many > compatibility problems, but maybe changing this macro into a function > can be done without problems? Sounds good. Leo