emacs-devel
[Top][All Lists]
Advanced

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

Re: Ordering of command completions


From: Lars Magne Ingebrigtsen
Subject: Re: Ordering of command completions
Date: Sun, 07 Dec 2014 19:45:16 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Óscar Fuentes <address@hidden> writes:

> That's ok, but it is also very handy to have a global statement saying
> "all the definitions on this file are bound to `message-mode' unless
> the contrary is explicitly stated."

So we'd have a new top-level declaration

(declare (commands message-mode))

and then we'd have an override in the commands that are global?

(defun message-mail ()
  (declare (command global))
  ...)

That would be a lot less annotating, but it seems a bit kludgy...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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