emacs-devel
[Top][All Lists]
Advanced

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

Re: New Context Menu


From: Eli Zaretskii
Subject: Re: New Context Menu
Date: Fri, 20 Aug 2021 14:29:08 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: spacibba@aol.com,  emacs-devel@gnu.org
> Date: Fri, 20 Aug 2021 10:14:54 +0300
> 
> >> But please note that currently when you select a menu item
> >> using the keyboard, many commands will fail with
> >>
> >>   (error "Command must be bound to an event with parameters")
> >
> > Those commands should ideally be fixed to not signal such errors,
> > because that's not good UI on TTY frames.  Commands that cannot be
> > fixed shouldn't appear in the context menus popped on TTY frames to
> > begin with.
> 
> What would be the best strategy for fixing these commands?  This error
> is signaled for all commands that have (interactive "e").  Then such
> interactive spec should be removed from all commands used in the menu?

I guess so.  Why does it make sense for commands invoked from the
menus to have the "e" interactive spec?



reply via email to

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