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: Mon, 15 Feb 2021 17:13:38 +0200 Message-ID: <83v9at9xel.fsf@gnu.org> References: <87v9aubm96.fsf@gnus.org> <83a6s6bkrg.fsf@gnu.org> <87mtw6bkjo.fsf@gnus.org> <838s7qbjn2.fsf@gnu.org> <87eehi820x.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5197"; 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 Mon Feb 15 16:19:50 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 1lBffC-0001Ei-9m for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 16:19:50 +0100 Original-Received: from localhost ([::1]:52572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBffB-0007qZ-Bs for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 10:19:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBfZ8-0002Uv-RQ for emacs-devel@gnu.org; Mon, 15 Feb 2021 10:13:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58819) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBfZ8-0005lV-In; Mon, 15 Feb 2021 10:13:34 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4042 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lBfZ7-0007t1-Le; Mon, 15 Feb 2021 10:13:34 -0500 In-Reply-To: <87eehi820x.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 15 Feb 2021 04:04:30 +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:264848 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Mon, 15 Feb 2021 04:04:30 +0100 > > Eli Zaretskii writes: > > > I mean: would "the command that shows 'now, what are the commands > > meant for this specific mode'" also show primitives like > > transpose-regions? > > No, not in this new, theoretical command. So people are supposed to invoke that new theoretical command only when they already know the command is from the current major mode? > > If you are going to only display commands marked > > for the current major-mode, I guess the answer is NO, and that is IMO > > sub-optimal, because primitives (and other non mode-specific commands, > > like find-file) are always relevant. > > What you're describing here is just what `M-x' does, though? `M-x' will > always list all non-mode-specific commands. I thought you wanted to modify how M-x works. Isn't that what this discussion was about? Or is it _only_ about that new command? Or both?