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: Current mode command discovery Date: Sun, 21 Feb 2021 19:00:43 +0200 Message-ID: <83ft1pxsn8.fsf@gnu.org> References: <87v9aubm96.fsf@gnus.org> <87r1laomak.fsf@gnus.org> <83pn0uzubj.fsf@gnu.org> <87im6molnq.fsf@gnus.org> <83o8geztvt.fsf@gnu.org> <871rdaokhi.fsf@gnus.org> <83mtvyzscl.fsf@gnu.org> <87ft1pjuih.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32711"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 21 18:07:18 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 1lDsCT-0008NT-4w for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 18:07:17 +0100 Original-Received: from localhost ([::1]:37052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDsCI-00077r-Ed for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 12:07:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDs6P-0003Kd-Ei for emacs-devel@gnu.org; Sun, 21 Feb 2021 12:01:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37708) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDs6O-0001Ix-JT; Sun, 21 Feb 2021 12:01:01 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2006 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDs6L-0003R2-W3; Sun, 21 Feb 2021 12:00:58 -0500 In-Reply-To: <87ft1pjuih.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 21 Feb 2021 16:44:06 +0100) 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:265407 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sun, 21 Feb 2021 16:44:06 +0100 > > > Or you could kludge it by looking at the modifiers. > > It's possible, but that's certainly adding one kludge on top of another. No, it'd be the continuation of the same kludge. > Are there any drawbacks to just using (key-description > (this-single-command-keys)) here and normalising this command in this > regard? My advice is not to do that. There be dragons, and how important is that, anyway?