[15075] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: bug in `call-interactively'

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Apr 11 23:54:34 1997

Date: Fri, 11 Apr 1997 23:54:32 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: David Bakhash <cadet@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: "[15071] in Athena Bugs"

> The is screwing up my strokes program b/c I wanted people to be able
> to map strokes to kbd macros, but how can they if I can't call them
> interactively?

You can use command-execute or execute-kbd-macro instead of
call-interactively.  command-execute basically calls execute-kdb-macro
for strings or vectors, or call-interactively on anything else.

> Do you mind fixing this?

I have prepared a patch which allows call-interactively to take a
string or vector argument and treat it as a command macro.  I'm not
sure it's the right thing, and I'll have to defer to the judgment of
the emacs maintainers.  I will submit the patch, and apply it to the
emacs source tree if they decide they want it.

home help back first fref pref prev next nref lref last post