From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#12490: 24.2; Search inside Minibuffer don't work with M-x (M-x C-s) Date: Sat, 30 Nov 2019 23:43:28 +0200 Message-ID: <87h82l82qx.fsf@mail.linkov.net> References: <20120922224229.7baf7964@jcubic> <87obkxod8c.fsf@mail.jurta.org> <87bltxx458.fsf@joffe.skangas.se> <87o8x2lkon.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="263617"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Jakub Jankiewicz , 12490@debbugs.gnu.org, Stefan Kangas To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 30 22:48:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ibAbB-0016Lf-SU for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Nov 2019 22:48:18 +0100 Original-Received: from localhost ([::1]:38544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibAbA-0008UP-2M for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Nov 2019 16:48:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38812) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibAay-0008Gw-Jy for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2019 16:48:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibAaw-0004Kw-MO for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2019 16:48:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibAaw-0004Ks-AG for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2019 16:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibAaw-0005KS-63 for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2019 16:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2019 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12490 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12490-submit@debbugs.gnu.org id=B12490.157515046420452 (code B ref 12490); Sat, 30 Nov 2019 21:48:02 +0000 Original-Received: (at 12490) by debbugs.gnu.org; 30 Nov 2019 21:47:44 +0000 Original-Received: from localhost ([127.0.0.1]:35205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibAad-0005Jn-UK for submit@debbugs.gnu.org; Sat, 30 Nov 2019 16:47:44 -0500 Original-Received: from blue.elm.relay.mailchannels.net ([23.83.212.20]:62433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibAab-0005Jf-UU for 12490@debbugs.gnu.org; Sat, 30 Nov 2019 16:47:42 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A3DA5141299; Sat, 30 Nov 2019 21:47:40 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (100-96-86-105.trex.outbound.svc.cluster.local [100.96.86.105]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3875A1415BD; Sat, 30 Nov 2019 21:47:40 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sat, 30 Nov 2019 21:47:40 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Reign-Minister: 658d01af3e15b503_1575150460477_3047421616 X-MC-Loop-Signature: 1575150460477:2481472147 X-MC-Ingress-Time: 1575150460477 Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTP id B1363AC50B; Sat, 30 Nov 2019 13:47:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jurta.org; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=jurta.org; bh=YiUiU23rCDshtcXiaUjwoc4xU6E=; b=b 8UzV/ngYKEsNG8EzY0vAWwR4qgoAh4iiV7LclBu8CcV5OQAvD0yp1Uzlj+p2V90l JlF5Gpas9Y+PSssQuVFmzepDHGp5ADe5enwXajbRTVqOupiw5uPVyOT7emsfBLwQ AHnwkGvzUWR3YMTTbaqI1KTjQdUzMeQH3pa7m8ZPZg= Original-Received: from mail.jurta.org (m91-129-96-42.cust.tele2.ee [91.129.96.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTPSA id 70153AC516; Sat, 30 Nov 2019 13:47:30 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a42 In-Reply-To: <87o8x2lkon.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 23 Nov 2019 15:41:12 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172684 Archived-At: >> I tested this patch. It works, and the behaviour seems better than >> what we have now. >> >> Should it perhaps be installed? > > I haven't tested the patch, but if it works like I imagine (i.e., it > allows searching in the M-x history), then that sounds very nice. Actually, searching in the M-x history is already implemented. This patch allows searching thru all commands available via M-x, i.e. it's like using isearch in the *Completions* buffer like M-x TAB C-s command with without opening the *Completions* buffer, with just M-x C-s command to search commands available with M-x M-n M-n M-n ... The problem why this patch is not installed is the need to decide in what order to sort these commands. The patch sorts alphabetically, but maybe better to sort by command usage frequency, or somesuch.