[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is `kbd' idempotent?

From: Random832
Subject: Re: Is `kbd' idempotent?
Date: Mon, 30 Nov 2015 16:30:07 +0000 (UTC)
User-agent: slrn/pre1.0.3-7 (Linux)

On 2015-11-30, Michael Heerdegen <address@hidden> wrote:
> is `kbd' idempotent?

It occured to me after posting my previous reply, there is one
obvious case where the output of kbd is a string, which is itself a
valid string in keyboard macro format, representing a different key
sequence.  Consider the following:

(kbd "C - x SPC S P C SPC C - c")
"C-x SPC C-c"
(kbd "C-x SPC C-c")
"\C-x \C-c"
(kbd "\C-x \C-c")

So the answer is clearly not, even in cases where it looks like it
might be.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]