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: Sat, 20 Feb 2021 17:23:16 +0200 Message-ID: <83k0r2zrtn.fsf@gnu.org> References: <87v9aubm96.fsf@gnus.org> <87r1laomak.fsf@gnus.org> <83pn0uzubj.fsf@gnu.org> <87im6molnq.fsf@gnus.org> <83o8geztvt.fsf@gnu.org> <87eehaokrd.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7776"; 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 Sat Feb 20 16:24:11 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 1lDU78-0001uL-EC for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Feb 2021 16:24:10 +0100 Original-Received: from localhost ([::1]:38200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDU77-0003JG-GR for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Feb 2021 10:24:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDU6X-0002ho-G5 for emacs-devel@gnu.org; Sat, 20 Feb 2021 10:23:33 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45543) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDU6X-0002eG-8H; Sat, 20 Feb 2021 10:23:33 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1979 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDU6V-0003hz-Vk; Sat, 20 Feb 2021 10:23:32 -0500 In-Reply-To: <87eehaokrd.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 20 Feb 2021 15:51:18 +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:265332 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sat, 20 Feb 2021 15:51:18 +0100 > > > Click on a completion to select it. > > In this buffer, type RET to select the completion near point. > > > > Possible completions are: > > backward-delete-char-untabify (DEL) completion-at-point (C-M-i) > > edebug-defun (edebug-eval-top-level-form) > > eval-defun (C-M-x) eval-print-last-sexp (C-j) > > indent-pp-sexp (C-M-q) > > > > That's it. All of it. Is that the intent? > > Yup. Well, `lisp-interaction-mode' hasn't been tagged up, so you're > basically getting `C-h m' in `M-x'-like form. I'm not sure `M-S-x' in > the *scratch* buffer will ever include more than that, but this command > is (well, will be) more useful for command discovery in more specialised > modes. Really? I thought the intent was to filter _out_ those commands that are not relevant. If the intent is to filter _in_, then won't this omit many important commands? IOW, what is the use case for completing _only_ on the commands that were tagged as being relevant for the current major mode?