[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ordering of command completions
From: |
Andreas Schwab |
Subject: |
Re: Ordering of command completions |
Date: |
Sun, 07 Dec 2014 18:36:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes:
> (defun message-send-and-exit ()
> "Doc string."
> (command message-mode "P")
> ...)
>
> where `command' is just like `interactive', only that it takes a mode
> name (or a list of mode names) that says "where it belongs".
>
> The main problem with that approach is that it wouldn't really work for
> out-of-tree packages, since introducing something like that requires
> Emacs Lisp engine level changes, I think.
Why do you need to replace interactive? There is already a fitting
place: declare.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Ordering of command completions, Tom, 2014/12/07
- Re: Ordering of command completions, Lars Magne Ingebrigtsen, 2014/12/07
- Re: Ordering of command completions,
Andreas Schwab <=
- Re: Ordering of command completions, Lars Magne Ingebrigtsen, 2014/12/07
- Re: Ordering of command completions, Lars Magne Ingebrigtsen, 2014/12/07
- Re: Ordering of command completions, Lars Magne Ingebrigtsen, 2014/12/07
- Re: Ordering of command completions, Lars Magne Ingebrigtsen, 2014/12/07
- Autoload cookies (was: Ordering of command completions), Lars Magne Ingebrigtsen, 2014/12/07
- Re: Autoload cookies, Daniel Colascione, 2014/12/07
- Re: Autoload cookies, Lars Magne Ingebrigtsen, 2014/12/07
- Re: Autoload cookies, Andreas Schwab, 2014/12/07
- Re: Autoload cookies (was: Ordering of command completions), Artur Malabarba, 2014/12/07
- Re: Ordering of command completions, Óscar Fuentes, 2014/12/07