emacs-devel
[Top][All Lists]
Advanced

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

Re: Current mode command discovery


From: Eli Zaretskii
Subject: Re: Current mode command discovery
Date: Sun, 14 Feb 2021 19:51:31 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 14 Feb 2021 18:19:17 +0100
> 
> Now that we have mode markup, should there be a command like `M-x', but
> instead lists only those commands that are specifically relevant to the
> current buffer?

Like I said before: instead of removing what seems irrelevant, make
them appear after the relevant parts.  Otherwise we will lose
information when we guess wrong (which is an easy mistake to make,
since the assumption that the user always wants only the commands from
the current major mode is not always true).

> This would only be commands that have been marked for the current major
> mode and any active minor modes, I guess?

What about primitives? they are relevant in any mode.



reply via email to

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