[Top][All Lists]

[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: Drew Adams
Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'?
Date: Fri, 9 May 2014 07:47:23 -0700 (PDT)

> > I agree that this all seems complicated & fragile.  Dunno what
> > the solution is.
> 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.  Or even a standard helper command, a la
`repeat-complex-command--called-interactively-skip', which
provides a way (e.g. a variable) to specify the replacement for 

IOW, it's a bit silly for libraries to essentially duplicate the
ugly hack used in `repeat-complex-command', specifying their own
command in place of it.

If this hack is the best Emacs can do then we should do it just
once and let other commands that are similar to
`repeat-complex-command' make use of it without just duplicating it.

reply via email to

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