From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: New Context Menu Date: Fri, 20 Aug 2021 14:29:08 +0300 Message-ID: <838s0w1hiz.fsf@gnu.org> References: <20210818120834.i3orh535tb2enpos.ref@Ergus> <20210818120834.i3orh535tb2enpos@Ergus> <87r1epzznt.fsf@mail.linkov.net> <83zgtd2762.fsf@gnu.org> <87fsv4io41.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 20 13:30:00 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mH2il-0006k1-TJ for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 13:29:59 +0200 Original-Received: from localhost ([::1]:60576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2ij-0001oU-Ui for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 07:29:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH2iD-00018k-Fd for emacs-devel@gnu.org; Fri, 20 Aug 2021 07:29:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44210) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2iC-0006dN-S1; Fri, 20 Aug 2021 07:29:24 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3950 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH2iC-0006Be-BT; Fri, 20 Aug 2021 07:29:24 -0400 In-Reply-To: <87fsv4io41.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 20 Aug 2021 10:14:54 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272709 Archived-At: > From: Juri Linkov > 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?