From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Current mode command discovery Date: Sun, 14 Feb 2021 18:56:11 +0100 Message-ID: <87mtw6bkjo.fsf@gnus.org> References: <87v9aubm96.fsf@gnus.org> <83a6s6bkrg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30196"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 14 18:58:06 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 1lBLeo-0007iA-Al for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 18:58:06 +0100 Original-Received: from localhost ([::1]:35326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBLen-00065f-DA for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 12:58:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBLd6-0004X4-2G for emacs-devel@gnu.org; Sun, 14 Feb 2021 12:56:20 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:51272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBLd3-0003kM-NE; Sun, 14 Feb 2021 12:56:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6t1CQJpQZZptPlmo+zYmQ5Uj+hLVKz4ObRXIYE7X12Y=; b=on4Ha0d6/I4VHRzaiYyVJiaaTd U3IXArT7R9Y9s0ZN/GOMR4Gepc4jLgxqozzs/fLk4r72R5G/5mBp1ZsT2jCUDlHsiIrB2C/Ym+ByD LdSJ+40eDW18LbdES17MVI1TBa1RHAF10pbJ8Mpt4E6+IYZHrDMHJp0LIC0RBvRfcfTY=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBLcy-0002O8-Mu; Sun, 14 Feb 2021 18:56:15 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEX95ij97DT98Dn8 7UP98kny1iimkyfOtSfh0kP94h799VL+7VD/9COMeB7Et0NnVxn///881TY2AAAAAWJLR0QQlbIN LAAAAAd0SU1FB+UCDhE0FdtR2pkAAAE9SURBVEjHrZKLksIgDEVjgUB4yP//rTwFtrRCZ+84ymA5 JwkF+J0XvFLuH7rK9T+nHCmw69kwZM0t+0wLJT0x1IFl4s2EYt+7hq2xpsH+PTDMsp9A3V43HCsX N7nFZcOxbxh7meLCb0PnsC0DZEOGJdpQ7SSMbRqgN9yzC3/bENKX39rotjo6Y5wDCJQ1AsIXtmXI zKBa2pqxshPplR8V+z3kg4lxdKRpOOePDQvhOSD+wcALrXK/9GSgbUM52VPu8tywFK31vmELv2Cg 0wOmQxRICG+LfjsZCGyk2NO7HzaJzgUYg+6t304apVcCIB1K4clLW4umBKZvRoN+e9QYPm6s9dJA Aj2is+hthNEsYw9aKxfwQbLWAwlCFF44OacXB3U9hCFphWszSjedEJZ+pRqUVMZcv0Cme41izAcm uRkcB4tMLgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wMi0xNFQxNzo1MjoyMSswMDowME0bFJ8A AAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDItMTRUMTc6NTI6MjErMDA6MDA8RqwjAAAAAElFTkSu QmCC X-Now-Playing: Masada String Trio's _50: 1_: "Sippur" In-Reply-To: <83a6s6bkrg.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Feb 2021 19:51:31 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:264746 Archived-At: Eli Zaretskii writes: > Like I said before: instead of removing what seems irrelevant, make > them appear after the relevant parts. That could also be an option, but I think having a command that shows "now, what are the commands meant for this specific mode" would be nice. >> This would only be commands that have been marked for the current major >> mode and any active minor modes, I guess? > > What about primitives? they are relevant in any mode. I'm not quite sure what you mean by primitives? `M-x TAB' will (after we've completed all the markups) list all commands that aren't specific for some mode, and are therefore possibly relevant (i.e., that you could want to execute right now). That includes `M-x transpose-regions' as well as `M-x rmail'... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no