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

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

Re: Execute a string as a command


From: Emanuel Berg
Subject: Re: Execute a string as a command
Date: Fri, 06 Nov 2015 04:59:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Barry Margolin <barmar@alum.mit.edu> writes:

> (call-interactively (intern
> string-wants-to-be-a-command))

Yeah, you can do "goto-char" with that and provide the
position the ordinary way (not in the string as in
"goto-char 0"). If you don't want that you can `push'
the arguments in reversed order to
`unread-command-events' and first of all push 13 for
RET. Very high-skill/knowledge and complicated ways to
do basic stuff, for sure. No one said it is supposed
to be easy!

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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