help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: String to Vector


From: Lennart Borgman
Subject: Re: String to Vector
Date: Wed, 3 Feb 2010 19:10:05 +0100

On Wed, Feb 3, 2010 at 7:07 PM, Johan Andersson <johan.rejeep@gmail.com> wrote:
> In Emacs, it's all about finding the functions. Yes, Lennart that's the
> function I'm looking for.
> But can you execute the chain without concatenating the vectors? I would
> rather be able to do something like this:
> (progn
>   (execute-kbd-macro (edmacro-parse-keys "M-x"))
>   (execute-kbd-macro (edmacro-parse-keys "linum-mode"))
>   (execute-kbd-macro (vector 'return)))
> I want the above to give me the same result as this:
> (execute-kbd-macro
>  (vconcat
>   (edmacro-parse-keys "M-x")
>   (edmacro-parse-keys "linum-mode")
>   (vector 'return)))


I have no idea. I do not use keyboard macros that way.

But if you really want to know I guess the easiest way is just
trial-and-error. Record a keyboard macro, save it and examine how it
looks.




reply via email to

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