From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: Current mode command discovery Date: Sun, 14 Feb 2021 10:26:04 -0700 Message-ID: <87wnva8ssz.fsf@melete.silentflame.com> References: <87v9aubm96.fsf@gnus.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="14949"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 14 18:26:42 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 1lBLAQ-0003nJ-3C for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 18:26:42 +0100 Original-Received: from localhost ([::1]:35834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBLAP-00005N-3D for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 12:26:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBL8u-00072e-AU for emacs-devel@gnu.org; Sun, 14 Feb 2021 12:25:08 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:42101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBL8s-0008B4-LH for emacs-devel@gnu.org; Sun, 14 Feb 2021 12:25:08 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 253E39BB; Sun, 14 Feb 2021 12:25:04 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 14 Feb 2021 12:25:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=mt1JoLyBUIPq5zE64XogpeHAEZ KrlzihxOKPM0w6pTQ=; b=D/z8d7Z0nbEmApySz/tW5Bo5RIe4V133Occ6qw93i4 uxvdDLDFNUPfWL+zrMDAqg0KsZnd0uNX0CLLBJJA2xldGL2I0apa6LMw8HDED4Oo uRZedDvpg3/dYI8lq3uIzbrXt4MydIW7N+L5q/omBOY5eCLkNbpKiX1ZQYP8kQwL FUADiwq9cQnBbEcmB9AjUjcs2qaA4dZyz70S/7Yxm/zEu6t3GSLBkpBzbVh4Ijbe Ul7ErrbqtiXFOWjBD68sUSGiYkAGCLEzoDiZPliZ6zM7lcveLyQWbpY8rVhl1xRD Prq8O7dbJCPnkUBrDIf4iwR7ovgET7NW8oKEqyIeo38w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=mt1JoL yBUIPq5zE64XogpeHAEZKrlzihxOKPM0w6pTQ=; b=iKthO36blFJegNmO6CQ3KB PZk0y3rEDQQsl0aAmIYH3oHnS4+QBtyz+FlkAjF7OYHk47RuAyLpZ5vOXj8oMso8 kP89choeftLoLL8dWW6+CNAe7NI3oFinz1pbXEOp0KypharojiCqQV0YjvsX2eyu c3Jvo9I6UylOGazE91U/keO7NuS2Ktx2tiKdX+vnw989wWRz5fYH2NjuYvWNabRn QoaVzziaVXC1k2FTx4JXLxMioDbLtriYplWA+MYs1ZYsH0NaOyJFz653NC10/q/o 3ljdavXuo74PHHulSnFeuPzEMuV3rJjga0U9QV3XY9nLvNESFDdaSxCoQk0E/2yQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrieehgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepufgvrghnucgh hhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenuc ggtffrrghtthgvrhhnpeegtddvheegfffhffdvfeefhffgjefflefhteevffffkeetgfdt jedtiedvtdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: In-Reply-To: <87v9aubm96.fsf@gnus.org> Received-SPF: pass client-ip=64.147.123.20; envelope-from=spwhitton@spwhitton.name; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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:264737 Archived-At: Hello, On Sun 14 Feb 2021 at 06:19PM +01, Lars Ingebrigtsen wrote: > Now that we have mode markup, should there be a command like `M-x', but > instead lists only those commands that are specifically relevant to the > current buffer? > > This would only be commands that have been marked for the current major > mode and any active minor modes, I guess? > > If so, should that be bound to something, and if so, what? Given that it's about the current buffer, putting it under the new C-x x map would seem appropriate. C-x x x would be mnemonic with M-x. -- Sean Whitton