[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-
From: |
Juanma Barranquero |
Subject: |
Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-mark-mode] |
Date: |
Wed, 25 Mar 2009 12:26:58 +0100 |
On Wed, Mar 25, 2009 at 11:16, Alan Mackenzie <address@hidden> wrote:
> The next try is to use a macro which will generate an appropriate
> interactive string. Something like:
>
> (defmacro foo-interactive (s-22 s-23)
> "doc string"
> `(interactive ,(if (emacs-got-interactive-hat) s-23 s22)))
>
> , but I can't get defun to take a macro-generated interactive string. I
> suspect it's not possible. It seems to work, sort of, in byte-compiled
> defuns.
It is not possible to use the `interactive-form' symbol property, as
documented in (elisp)"21.2.1 Using `interactive'" ?
Juanma
- Re: Interactive hat., (continued)
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Alan Mackenzie, 2009/03/26
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Kim F. Storm, 2009/03/28
- Re: Interactive hat., Miles Bader, 2009/03/28
- Re: Interactive hat., Lennart Borgman, 2009/03/28
- Re: Interactive hat., Stephen J. Turnbull, 2009/03/26
- Re: Interactive hat., Miles Bader, 2009/03/26
- Re: Interactive hat., Stephen J. Turnbull, 2009/03/26
Re: Interactive hat., Stefan Monnier, 2009/03/25
Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-mark-mode],
Juanma Barranquero <=
- Re: Interactive hat., Chong Yidong, 2009/03/25
- Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-mark-mode], Alan Mackenzie, 2009/03/25
- Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-mark-mode], Juanma Barranquero, 2009/03/25
- Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-mark-mode], Alan Mackenzie, 2009/03/26
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Alan Mackenzie, 2009/03/26
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Alan Mackenzie, 2009/03/26
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Johan Bockgård, 2009/03/26