From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.devel Subject: Smarter M-x that filters on major-mode Date: Sun, 14 Feb 2021 18:54:05 -0500 Message-ID: <20210214235405.aotygkrmij6waq6t@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16137"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 To: Emacs-Devel List Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 15 00:54:49 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 1lBRE0-00045s-E8 for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 00:54:48 +0100 Original-Received: from localhost ([::1]:46046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBRDz-0007YT-F4 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 18:54:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBRDR-00073S-Or for emacs-devel@gnu.org; Sun, 14 Feb 2021 18:54:13 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:54527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBRDP-0007mN-P7 for emacs-devel@gnu.org; Sun, 14 Feb 2021 18:54:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613346848; bh=TPYWJAfQWrNq+6wm4ht4hAGHCZMDNa1otuNES9iJTJY=; h=X-UI-Sender-Class:Date:From:To:Subject; b=LN8D7RKDHZ9WdjV7XeA/pnJV3hmZMTi1ZzaaUrRFPa0acLzSngjJTLTfIH5GBtLuW O9+B2yLFsUv2GB31GWKjCB/TgkLcxTtO7jYV2UarHt7L5C8wqj+dNxGfgJQ65OGNXw B4V42AA+dfv8ngDz2bNh7KeV+cjoUrSYjzUT51Y4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mzyuc-1m8CnR3J2c-00x38c for ; Mon, 15 Feb 2021 00:54:08 +0100 Content-Disposition: inline X-Provags-ID: V03:K1:DBOJ75KTQbqDpbiSV1lkE3BH1AH0tgDijQ4AiBcoUIQj4+CBozn M4lKMQJGD1vGui//7+oH693KtHie5kCr9UBhBQFIXzBaBu7Zh3cN/IFJCos9aX4VOszIvc0 wWrI0aRBjYkSZEfN54TbIb0ji9a3dONykwJuzUINsjJ3DxShIcQ6Y0kCkmKmHkZRchnv1F8 ukXyLqRK2IBuNPXtndBVg== X-UI-Out-Filterresults: notjunk:1;V03:K0:yVjhDfAvgBs=:zZFLdAzNfFUtVeKyDpCjev amKUvG4MtAlzuBbBRvEmoxGJ5b4tdA584NDpbMHVzsRDb9SpEbINcUeri9cAYTRI7184eBWV/ D7+BdQSdSWhnp7DPG5yQNx+gwwz1jeQxY93udt+ry8sZBpQQCJckOxWS/RKJAhDW9I+Y/eKnU 8CGNOiTLT5ANqMyAA5Q0tJcbVBXnvPwSLrg63xC14WKm695cxoLeexWvu0g9mr6weGPgfsDYW 69fVEcoqbMH2mBIzskAexVr5jLqQL3eo2nEzTEJxvylOSrWLrzZ3NRvNYeHQOtSI//amPRq7V mcxdHkl1xSRE4tvbEWWAIFGQbx9ISX36xoS52/Q3BqiJaxU2yNHfY6AkJMg9st0fCiFeMtur8 +p35OsDNGD7NCD2H0UdSuHc4x5qZHIQPSdGUMDxO6MdWAppfWyWW0qxqzLezXAQXufP2CxrqA ZsMCBCVLkfgGk7IH9nZRxWgoPzNeZhYMtFXjEpWTpvLYMjcWJN/2mvpbVk2RyDVNUU+vAt3KE lK8GQc76DsNTz+M68YKoy6cEHa3rIxM4+Y7TQVPNXX8FPL36B2Vr8J1e4pdLQ5wnLqwW6VJJm i39dqT+pyXk+rvQzvokkTyU4Wh5t9/KVooIKmlCBOH86J7mfYynPD8Na0Pfk7tN1M8SFcPP2E eMplV6JW0eE6lZDRcod+tVtGqTNySXiOFwuBrUcIVAvpWl0sX3jHNl1p+IHPZ1O/rDoaxNlju Zwnu+r+Wo2qadhVSrvJOEX9eL3QaUiJg5nrxjFCdi6hGddzVdyJuW+FtvuWw2mh39SfTFW6f Received-SPF: pass client-ip=212.227.17.21; envelope-from=boruch_baum@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:264814 Archived-At: > Matt Armstrong writes: > >> What if instead help showed all the interactive commands provided by >> the mode? What if M-x were smarter about highlighting mode specific >> commands? I remember a version of this discussion a few months ago, which led me to write and publish what you may be looking for[1]. It defaults to collecting all commands for the current major mode, but is designed to handle other customized scenarios, too. [1] https://github.com/Boruch-Baum/emacs-key-assist =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0