unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Le Wang <l26wang@gmail.com>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: kbd macro does not evaluate its parameter
Date: Mon, 26 Sep 2011 09:48:22 +0800	[thread overview]
Message-ID: <CAM=K+irCxRMY8cvHc7aKdndQHOraXdC1UH1r0Mei3oi6-hbrmw@mail.gmail.com> (raw)
In-Reply-To: <CAM=K+ir-70+L0OQB2xyYKK4cjpdjC-CwV930g=jb1hqJGVXNgg@mail.gmail.com>

Also it's not a bug.  Now that I've given it some closer thought.
Please don't reply to this.

On Mon, Sep 26, 2011 at 9:32 AM, Le Wang <l26wang@gmail.com> wrote:
> Oops.  Sorry, this was meant for the bug list.
>
> On Mon, Sep 26, 2011 at 9:29 AM, Le Wang <l26wang@gmail.com> wrote:
>> From stackoverflow:
>> http://stackoverflow.com/questions/7549628/whats-wrong-with-the-following-unbind-script/7549825#7549825
>>
>> User tries:
>>
>>  (dolist (abcc '("C-a" "C-b"))
>>    (global-unset-key (kbd abcc)))
>>
>> Which fails.
>>
>> (defmacro kbd (keys)
>>  "Convert KEYS to the internal Emacs key representation.
>> KEYS should be a string constant in the format used for
>> saving keyboard macros (see `edmacro-mode')."
>>  (read-kbd-macro keys))
>>
>> kbd should evaluate its parameter before calling the read-kbd-macro
>> function.  Its parameter types should all be self evaluating.
>>
>> --
>> Le
>>
>
>
>
> --
> Le
>



-- 
Le



      reply	other threads:[~2011-09-26  1:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26  1:29 kbd macro does not evaluate its parameter Le Wang
2011-09-26  1:32 ` Le Wang
2011-09-26  1:48   ` Le Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=K+irCxRMY8cvHc7aKdndQHOraXdC1UH1r0Mei3oi6-hbrmw@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).