emacs-devel
[Top][All Lists]
Advanced

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

Re: master 050b830 3/3: Do interactive mode tagging for finder.el


From: Stefan Kangas
Subject: Re: master 050b830 3/3: Do interactive mode tagging for finder.el
Date: Fri, 19 Mar 2021 11:23:25 -0500

Eli Zaretskii <eliz@gnu.org> writes:

>> It's a command that is applicable only to finder-mode buffers, so I
>> think the tagging is correct?
>
> It depends on what we do with the tag.
>
> "Applicable only to finder-mode buffers" doesn't tell how we use this
> information.  We use it to filter out commands as irrelevant in
> certain contexts.  But this command _is_ relevant even when the major
> mode of the current buffer is something other than finder-mode,
> because the user can click on text in a non-selected window.

Currently we use it to filter commands in `M-x', where you anyways can't
use it (it will signal an error as EVENT is not bound).  So this change
doesn't break anything.  What am I missing?

If the above is correct, then that also means that there is no point to
show such commands even in `finder-mode'.  So it would be even better to
add some form that marks a command as only relevant to the mouse and
then never show those commands in `M-x'.  ISTR we discussed something
like that but I'm not sure if we reached any conclusion.



reply via email to

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