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

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

bug#17446: 24.4.50; What is the situation around `called-interactively-p


From: Stefan Monnier
Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'?
Date: Fri, 09 May 2014 10:50:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> You end up doing for your new command something like what Emacs
> does for `repeat-complex-command'.

Yes.

> And AFAICT, that works only
> when the helper function (similar to vanilla Emacs function
> `repeat-complex-command--called-interactively-skip') is
> byte-compiled.

Ah, now I understand the "byte-compiled" part (I kept thinking it was
about whether the command (i.e. callee) is byte-compiled).

> Useful for packages like Icicles and Helm would be a build in
>   (defun fake-interactive-call (command &rest args) ...)
> factored out of what is now hidden inside `repeat-complex-command'.

Yes, that makes a lot of sense now.

Before we go about doing that, I'd want to know one more thing: how did
icicles and helm does with it, in previous versions of Emacs?


        Stefan





reply via email to

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