From unknown Sat Sep 13 23:21:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#79395 <79395@debbugs.gnu.org> To: bug#79395 <79395@debbugs.gnu.org> Subject: Status: 30.2; Search for a function inside a mini buffer Reply-To: bug#79395 <79395@debbugs.gnu.org> Date: Sun, 14 Sep 2025 06:21:42 +0000 retitle 79395 30.2; Search for a function inside a mini buffer reassign 79395 emacs submitter 79395 "Jakub T. Jankiewicz" severity 79395 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 06 11:37:23 2025 Received: (at submit) by debbugs.gnu.org; 6 Sep 2025 15:37:23 +0000 Received: from localhost ([127.0.0.1]:37095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uuuyg-0006pu-Gc for submit@debbugs.gnu.org; Sat, 06 Sep 2025 11:37:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48708) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uuuyb-0006pX-2E for submit@debbugs.gnu.org; Sat, 06 Sep 2025 11:37:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uuuyP-0006fi-FE for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2025 11:37:05 -0400 Received: from smtpo92.poczta.onet.pl ([213.180.149.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uuuyE-0008K2-Sq for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2025 11:37:01 -0400 Received: from jcubic (unknown [185.129.114.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jcubic@onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 4cJy4N3ypCzkHJ for ; Sat, 6 Sep 2025 17:36:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onet.pl; s=2011; t=1757172996; bh=B4RGz/5d1EjcISdkPIW5DC5cO4C/AG5ehvpDOqeu45g=; h=Date:From:To:Subject:From; b=dnl7IILUu1hAdkTtY9U5/+R7t1Rxb+ZF3ftZKj23AaeSBbAusKy1zaG+a82FbLabi tBWRAgHNWYov5aN6sOP/VSX60ohoWNPcoPvQw9WrhFn/HORR0/pzED8QYEnGNjbnC/ U2cvTkDT5/DL0m1b/6IS30w0PCWnouS6EeQoxp+8= Date: Sat, 6 Sep 2025 17:36:35 +0200 From: "Jakub T. Jankiewicz" To: bug-gnu-emacs@gnu.org Subject: 30.2; Search for a function inside a mini buffer Message-ID: <20250906173635.1e7423b8@jcubic> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=213.180.149.145; envelope-from=jcubic@onet.pl; helo=smtpo92.poczta.onet.pl 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) You can search inside mini buffer, `M-x C-s`, to find a command to execute. But it seems that you can't run `C-h f C-s` to search function documentation. there are no list to search through. And the search says [Failing I-search] no matter what you type. There was related bug report in 2012: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=12490 When the feature of searching inside mini buffer was removed (by accident I assume). There was a workaround created back then. I'm not sure if the workaround also fixed `C-h f` (most likely did, I would probably found this sooner), but now it's not working the same as the workaround that I was given. I also run in `emacs -Q` and `M-x C-s` is working there, but `C-h f C-s` do not. I also checked `C-h v C-s`, so I can assume that all docs have the same issue. Jakub -- Jakub T. Jankiewicz, Senior Front-End Developer https://jakub.jankiewicz.org https://lips.js.org https://koduj.org From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 06 12:08:12 2025 Received: (at 79395) by debbugs.gnu.org; 6 Sep 2025 16:08:12 +0000 Received: from localhost ([127.0.0.1]:37177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uuvSV-0008KN-0f for submit@debbugs.gnu.org; Sat, 06 Sep 2025 12:08:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60712) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uuvSM-0008Jl-Gs for 79395@debbugs.gnu.org; Sat, 06 Sep 2025 12:08:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uuvSE-0005uV-Im; Sat, 06 Sep 2025 12:07:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Zdc1Z6kYBlJX7XmkgGlIQi5rOEsT02VPdvFLs9BMX3s=; b=ZuaOJM91x703 qwUPMfZxwW2fwper9evh6MECz43tMertPz4iVFY8XSgessj4tCSxgELgYgxMAp05rvhtI4EvZv4Lz tgMpRcBoWzT0miNxZKEYdP8yz6HWBh/HFs2kdbS3v2I/SfXxj04NxDLrYbBA59WvVi3RDd/TGonjP KEQIOMauF6ZfMWDpaj0ztYnYBB+F8NhD56haJfdOhmvIWt065tALMZ/6pKl5wyv7HTyy7ZezWUNN0 z4jmahfEJfA7cyrr8Yltc8crQ/ziLIEd43HkSq4r6DRgNf1QL16DPrrDFplqdW4f/BX3YuyfjckYy +Xchq3VI34mz39xvQqdI2g==; Date: Sat, 06 Sep 2025 19:07:51 +0300 Message-Id: <861pojftt4.fsf@gnu.org> From: Eli Zaretskii To: "Jakub T. Jankiewicz" In-Reply-To: <20250906173635.1e7423b8@jcubic> (bug-gnu-emacs@gnu.org) Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer References: <20250906173635.1e7423b8@jcubic> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79395 Cc: 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 6 Sep 2025 17:36:35 +0200 > From: "Jakub T. Jankiewicz" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > You can search inside mini buffer, `M-x C-s`, to find a command to execute. > But it seems that you can't run `C-h f C-s` to search function documentation. > there are no list to search through. And the search says [Failing I-search] no > matter what you type. I cannot reproduce this. Please show a complete recipe starting from "emacs -Q", and please tell in what version of Emacs are you seeing this. > There was related bug report in 2012: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=12490 That was about M-x, not "C-h f" From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 06 13:06:09 2025 Received: (at 79395) by debbugs.gnu.org; 6 Sep 2025 17:06:09 +0000 Received: from localhost ([127.0.0.1]:37343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uuwMa-0002n2-SL for submit@debbugs.gnu.org; Sat, 06 Sep 2025 13:06:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43608) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uuwMW-0002mT-PL for 79395@debbugs.gnu.org; Sat, 06 Sep 2025 13:06:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uuwMO-0006Sv-Un; Sat, 06 Sep 2025 13:05:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jVQB42bLzhcXMd7mKUsZd+z/pmoVTTi587GYPdQn3L0=; b=hAvb1toHwQkR UxnVCDsie1m4rlOwBjg2wiCAH7t0vO0ObAhctDkBBKCV7iRkkwiDJ+6yu10y7WfN6G/yuAV14EKO0 QDqTP5gdEcG+M7gkbXy/b1equxAPf7x7bqWRmI82PzzFLuW4G9OCEFPUEaa5h7rkzhkmH1pAuaIer J5VViaTLRHaCJba90xocPRV9dSfR/nMf179kdztJX9FdRNhd1ewCK4UVN8EvPS7yTBhfl4CD8alRU bihkYZF/02YXUhS3anCkYk541yWkRr1KGt1rZYHtjh7+LffpRaMIAXb8Zk1l+W4ddA0FnB1Pu3Ksq wg8iWUiG+Og364AHZzKXWQ==; Date: Sat, 06 Sep 2025 20:05:51 +0300 Message-Id: <86y0qreck0.fsf@gnu.org> From: Eli Zaretskii To: "Jakub T. Jankiewicz" In-Reply-To: <20250906182035.22b9dd31@jcubic> Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer References: <20250906173635.1e7423b8@jcubic> <861pojftt4.fsf@gnu.org> <20250906182035.22b9dd31@jcubic> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79395 Cc: 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [Please use Reply to All to reply, to keep the bug tracker CC'ed.] > Date: Sat, 6 Sep 2025 18:20:35 +0200 > From: "Jakub T. Jankiewicz" > > On Sat, 06 Sep 2025 19:07:51 +0300 > Eli Zaretskii wrote: > > > I cannot reproduce this. Please show a complete recipe starting from > > "emacs -Q", and please tell in what version of Emacs are you seeing > > this. > > The Emacs version is in the subject. GNU Emacs 30.2 (I Fedora 42, and official > package) > > This is what I'm using: > > * run emacs -Q > * type C-h f C-s > * search to find "message" function, if you type "m" you get an error about > failing search. Of course, because the minibuffer is empty. If you type something, you can then search fro it with C-s. So what is the bug here? > > That was about M-x, not "C-h f" > > The same with M-x C-s works fine, whatever command you're looking for you > will find it. You can type "me"m the "Buffer-menu-1-window" will appear. Sorry, I don't think I follow. Once again, please describe exactly what to type in that case. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 06 14:40:57 2025 Received: (at 79395) by debbugs.gnu.org; 6 Sep 2025 18:40:57 +0000 Received: from localhost ([127.0.0.1]:37851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uuxqL-0007el-5Y for submit@debbugs.gnu.org; Sat, 06 Sep 2025 14:40:57 -0400 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:54610) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uuxqG-0007eK-A4 for 79395@debbugs.gnu.org; Sat, 06 Sep 2025 14:40:53 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4cK28n18BXz9t5S; Sat, 6 Sep 2025 20:40:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1757184041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qFa0Q0XACc4fgnXoJr8pFGDjFwVQHmUY3LYjKZFcmVM=; b=rf9MckxqTW+UXPEd00U7xk9Rf/LzRBxyO6W5b7hspgSJpyxZAjdEExfkIjp7m1JiBcTtaI 6j7Q9D29I2ljBSPn+WRweICskdKFs5SI8a7LTGf6oj77dmlsl2avWrwMs4TAxqYB3rx9hz Jf39eK0Q9SpevEqYeKcHfQaiyCVyVXtEB6F3h7HfGqi9P2MR9HbsTy5zoHX2Ywb4b7g0cn gnADrj4Zbmy5KkVzdNxatDtfZfL3dBqfg6ylsXg3+45JcaaIc3t78NKC3cQf36R0zb+sM0 8RukfqgwHWy4tbo/DrLrtaWjx1s9D+7iPPjRVTBICNcerSijtALTqDl6Y4ejGw== From: Juri Linkov To: "Jakub T. Jankiewicz" Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer In-Reply-To: <20250906173635.1e7423b8@jcubic> Organization: LINKOV.NET References: <20250906173635.1e7423b8@jcubic> Date: Sat, 06 Sep 2025 21:34:58 +0300 Message-ID: <874itfo2el.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79395 Cc: 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > You can search inside mini buffer, `M-x C-s`, to find a command to execute. > But it seems that you can't run `C-h f C-s` to search function documentation. > there are no list to search through. And the search says [Failing I-search] no > matter what you type. > > There was related bug report in 2012: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=12490 > > When the feature of searching inside mini buffer was removed (by accident I > assume). There was a workaround created back then. I'm not sure if the > workaround also fixed `C-h f` (most likely did, I would probably found this > sooner), but now it's not working the same as the workaround that I was > given. I also run in `emacs -Q` and `M-x C-s` is working there, but > `C-h f C-s` do not. > > I also checked `C-h v C-s`, so I can assume that all docs have the same > issue. Sorry, help-related commands recently were excluded from C-s by the request at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64656 When you remove the symbol `help--symbol-completion-table` from the function `minibuffer-default-add-completions`, this will restore the functionality that you need. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 07 02:53:49 2025 Received: (at 79395-done) by debbugs.gnu.org; 7 Sep 2025 06:53:49 +0000 Received: from localhost ([127.0.0.1]:41570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uv9HV-0005de-AS for submit@debbugs.gnu.org; Sun, 07 Sep 2025 02:53:48 -0400 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:34616) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uv9HL-0005dE-6C for 79395-done@debbugs.gnu.org; Sun, 07 Sep 2025 02:53:40 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4cKLQC3kQHz9srT; Sun, 7 Sep 2025 08:53:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1757228003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n5ZuV/43HfUk3BXTskD81fOxYE3O+AURYI5Px03OEHY=; b=Cuk9leyqUX75MnLOyxeyggNcs3clgy9/mY4jAXx4++rXycC10yOst/OFUN7ucA8c1u5nTL R1AdMVzV7rgiiP6SwkBvLPpzY8kCuj8QpmTZ6LgkOoTfHx1BqG5I9NQM6/9uvtBArpbEVZ I5+6H+bEOLBc6MvWbL432WBziALmX0qZWWz8s8kqHEe1vD4ujNIy5GRcCwZQPs2Me+ZE07 DtlrcG9ZC7gbmKbqt4JjIaEZYl6JqndD1kuBn2hLKGgDSNenL9JQQA3pDsMnAu8XU2SI7j 79m9EIzA6hs81RYys4/O/ErUZ10mCOzzdp7SzcEdwRXkSZY64CNdkarHprBwXg== From: Juri Linkov To: "Jakub T. Jankiewicz" Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer In-Reply-To: <20250906221124.3a55074e@jcubic> Organization: LINKOV.NET References: <20250906173635.1e7423b8@jcubic> <874itfo2el.fsf@mail.linkov.net> <20250906221124.3a55074e@jcubic> Date: Sun, 07 Sep 2025 09:51:19 +0300 Message-ID: <87348ykb6g.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79395-done Cc: 79395-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) [CC'ing back to the bug tracker] >> Sorry, help-related commands recently were excluded from C-s >> by the request at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64656 >> >> When you remove the symbol `help--symbol-completion-table` >> from the function `minibuffer-default-add-completions`, >> this will restore the functionality that you need. > > Thanks. For the future reference, it seems that adding this to .emacs file > restores the old behaviour: > > (defun minibuffer-default-add-completions () > "Return a list of all completions without the default value. > This function is used to add all elements of the completion table to > the end of the list of defaults just after the default value." > (let ((def minibuffer-default) > (all (all-completions "" > minibuffer-completion-table > minibuffer-completion-predicate))) > (if (listp def) > (append def all) > (cons def (delete def all))))) > > It's reverse patch from: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64656#98 Until there are more requests it seems this report could be closed now, done. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 07 03:30:17 2025 Received: (at 79395) by debbugs.gnu.org; 7 Sep 2025 07:30:17 +0000 Received: from localhost ([127.0.0.1]:41697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uv9qq-0007kK-VM for submit@debbugs.gnu.org; Sun, 07 Sep 2025 03:30:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37470) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uv9qk-0007fz-7m for 79395@debbugs.gnu.org; Sun, 07 Sep 2025 03:30:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uv9qc-0006aZ-En; Sun, 07 Sep 2025 03:30:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dwn2drnt87wfkjSRq+/mj+6tGlUk1I6Y810SwqPkBe8=; b=n00zljy9XCQ0 gH26YKcNwmG1GUx8L0VxU0syIdGmvm7J7zxBIE3UgEZzsQjwoWrvOyOkdpz4l3Kh0UrsR8pquNrhM EJ/AKuDI94UVjbeDtDObFXv5kmdmxzpL9BMtoubV/daG6W3nmR1C/f5gZmjOZbTnA7IfKkfbs8XlI FqWSxGYnIa5KfbYHl1amxDUHJz3Jj4m6NtPnljlZdI+k6CSiMn4OS42FmxEm+01vpXx0v1w9beC5Q VbStW2f42g5fFGKnYdtPzDd+NhFDKErUhGaOgPdkcVFxmPHj4zmwM6JzikhJha/OQF5iq/P1JlQ3n 41dshfCQ76BBGhC3S+Zhwg==; Date: Sun, 07 Sep 2025 10:29:56 +0300 Message-Id: <86ms76en4b.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <874itfo2el.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 06 Sep 2025 21:34:58 +0300) Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer References: <20250906173635.1e7423b8@jcubic> <874itfo2el.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79395 Cc: jcubic@onet.pl, 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 79395@debbugs.gnu.org > From: Juri Linkov > Date: Sat, 06 Sep 2025 21:34:58 +0300 > > > You can search inside mini buffer, `M-x C-s`, to find a command to execute. > > But it seems that you can't run `C-h f C-s` to search function documentation. > > there are no list to search through. And the search says [Failing I-search] no > > matter what you type. > > > > There was related bug report in 2012: > > > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=12490 > > > > When the feature of searching inside mini buffer was removed (by accident I > > assume). There was a workaround created back then. I'm not sure if the > > workaround also fixed `C-h f` (most likely did, I would probably found this > > sooner), but now it's not working the same as the workaround that I was > > given. I also run in `emacs -Q` and `M-x C-s` is working there, but > > `C-h f C-s` do not. > > > > I also checked `C-h v C-s`, so I can assume that all docs have the same > > issue. > > Sorry, help-related commands recently were excluded from C-s > by the request at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64656 > > When you remove the symbol `help--symbol-completion-table` > from the function `minibuffer-default-add-completions`, > this will restore the functionality that you need. Thanks. However, the discussion in bug#64656 is very long and talks about quite a few separate issues. Could you please summarize only the part that is related to using C-s at the prompt of "C-h f"? In particular, what is "C-s" supposed to search in this case, when the minibuffer is empty? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 07 13:36:26 2025 Received: (at 79395) by debbugs.gnu.org; 7 Sep 2025 17:36:26 +0000 Received: from localhost ([127.0.0.1]:45598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uvJJS-0005f2-8t for submit@debbugs.gnu.org; Sun, 07 Sep 2025 13:36:26 -0400 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:36664) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uvJJL-0005eS-H5 for 79395@debbugs.gnu.org; Sun, 07 Sep 2025 13:36:21 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4cKcgr6F85z9skk; Sun, 7 Sep 2025 19:36:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1757266568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZhpF+YSVDw1XwHzwi4T7tZT/1+AxQ8G1cFiaozQDq8w=; b=o2vPKC2r5MHUU11Ze/ziUq33xKnF7G+Mtw2cA5hV+JNMOJlWK6Dd08wsA0o70V4SGusfBs sJL8D+QBs4VfqIKLv42WeO60zuwh6DnSjtceII8hc5RM1q3VWfJ5m9qAEGHk6xqpaFXt5G yhf/BSBWL/Y1QttdrQi692MRWuaaB9KedmTSJp30u4YxO4uvsZ1D1UFxInqorw5zDYToDG ERYO32n8n4Lor3Zdz4rK3SZcpSD6fYT5t3HPGUq8MbSmRI6NoscEtDEpO/83HExbOk4bCt HAk/DgPCE8wbxKs8wMlE07M+XiQCV1vA/10U87nwFTxDVw9FuIXwG2RYHDC4LA== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@linkov.net designates 2001:67c:2050:b231:465::2 as permitted sender) smtp.mailfrom=juri@linkov.net From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer In-Reply-To: <86ms76en4b.fsf@gnu.org> Organization: LINKOV.NET References: <20250906173635.1e7423b8@jcubic> <874itfo2el.fsf@mail.linkov.net> <86ms76en4b.fsf@gnu.org> Date: Sun, 07 Sep 2025 20:33:57 +0300 Message-ID: <87ikhudvma.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4cKcgr6F85z9skk X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79395 Cc: jcubic@onet.pl, 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> > You can search inside mini buffer, `M-x C-s`, to find a command to execute. >> > But it seems that you can't run `C-h f C-s` to search function documentation. >> > there are no list to search through. And the search says [Failing I-search] no >> > matter what you type. >> > >> > There was related bug report in 2012: >> > >> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=12490 >> > >> > When the feature of searching inside mini buffer was removed (by accident I >> > assume). There was a workaround created back then. I'm not sure if the >> > workaround also fixed `C-h f` (most likely did, I would probably found this >> > sooner), but now it's not working the same as the workaround that I was >> > given. I also run in `emacs -Q` and `M-x C-s` is working there, but >> > `C-h f C-s` do not. >> > >> > I also checked `C-h v C-s`, so I can assume that all docs have the same >> > issue. >> >> Sorry, help-related commands recently were excluded from C-s >> by the request at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64656 >> >> When you remove the symbol `help--symbol-completion-table` >> from the function `minibuffer-default-add-completions`, >> this will restore the functionality that you need. > > Thanks. > > However, the discussion in bug#64656 is very long and talks about > quite a few separate issues. Could you please summarize only the part > that is related to using C-s at the prompt of "C-h f"? In particular, > what is "C-s" supposed to search in this case, when the minibuffer is > empty? "C-s" is supposed to search the "future history", i.e. the same values visited by "M-x M-n M-n M-n ...". From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 07 14:43:25 2025 Received: (at 79395) by debbugs.gnu.org; 7 Sep 2025 18:43:25 +0000 Received: from localhost ([127.0.0.1]:45796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uvKMD-0003Gm-0Q for submit@debbugs.gnu.org; Sun, 07 Sep 2025 14:43:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48404) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uvKM4-0003GE-20 for 79395@debbugs.gnu.org; Sun, 07 Sep 2025 14:43:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uvKLu-00053U-JZ; Sun, 07 Sep 2025 14:43:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9o5tGBZOWkacHbQhVEU1BSOebXAIJr/CsLghHdjqIgA=; b=QTalT22VcVwf hpgXz7Bb0PWgxJkcOgo+NEiBKSkZjSRK11kYSScsCcIpJqHM/H0nCWLjKCDv81y/c3nnEwYe6znj6 y1noIh4fdZ7BOf4UUhmBu6ILbQZte320gK6bYIcGP+Zv4tVfx+mhhMOpXXfAVyBPWJ+mlOLPgEo5r bKiOp86Z2fX/kQLCFdq41YCF1k5kxe3gzyCrkWR2XYqUb4DTjUVhyT93LX856Yef2enVn+uRKb/0m gRoYbBY2vzD6z8cAq7kvXHPmI+i001OqqbbEj+ZKL7EBmrblkID38VwMGTckikGca/SuG+0Og9qZe ibQ6KDsd3x+aJxyOn/G2DQ==; Date: Sun, 07 Sep 2025 21:42:57 +0300 Message-Id: <86y0qqcde6.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <87ikhudvma.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 07 Sep 2025 20:33:57 +0300) Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer References: <20250906173635.1e7423b8@jcubic> <874itfo2el.fsf@mail.linkov.net> <86ms76en4b.fsf@gnu.org> <87ikhudvma.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79395 Cc: jcubic@onet.pl, 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juri Linkov > Cc: jcubic@onet.pl, 79395@debbugs.gnu.org > Date: Sun, 07 Sep 2025 20:33:57 +0300 > > > However, the discussion in bug#64656 is very long and talks about > > quite a few separate issues. Could you please summarize only the part > > that is related to using C-s at the prompt of "C-h f"? In particular, > > what is "C-s" supposed to search in this case, when the minibuffer is > > empty? > > "C-s" is supposed to search the "future history", > i.e. the same values visited by "M-x M-n M-n M-n ...". If that's the intent, then why isn't this documented anywhere I could think to look? That C-s should do that in this case is completely non-obvious, so I wonder how come people know about it if we didn't document it? Can you point me to the place where we bind C-s to do that, please? From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 08 02:28:06 2025 Received: (at 79395) by debbugs.gnu.org; 8 Sep 2025 06:28:06 +0000 Received: from localhost ([127.0.0.1]:48629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uvVMA-0000e3-1m for submit@debbugs.gnu.org; Mon, 08 Sep 2025 02:28:06 -0400 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:51560) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uvVBP-0008CH-Is for 79395@debbugs.gnu.org; Mon, 08 Sep 2025 02:16:57 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4cKxYT6qrrz9t6L; Mon, 8 Sep 2025 08:16:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1757312206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bY923LGVudepsqaKv9mTVTryv0HWARC9HywWtV+hXzA=; b=zeNVoqNgzsmCVYmikuZswnIHHIWFM4p+7+iiMGMo5r9fW8ANRL1vEQ0afGanGYAz4xNK97 xwQTYGz1q7HRi9ZACgqzHIq9kJvh+Lbx+dQ0IR+wNO1QCWFyN2P9UTccBhZmtAtjWHKNHm il/0dbzAUpAwqeXcdsOD9nw3Yy2GqglaumScoPXL47peuuIp0JZLrJfEgvDuF2bpug8sUm Kb60i6ZlsOoii14fD7gf0U6x55LpyVecTwdRYAadZ80cmbrjdReEy5frunfbH6hjIRwgqa H8tTF263i2uPqd9ZjzHOYx9BeQcTLvKmi7eI4kM4nNshn0etb8qjvRmqFbpreA== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@linkov.net designates 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@linkov.net From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer In-Reply-To: <86y0qqcde6.fsf@gnu.org> Organization: LINKOV.NET References: <20250906173635.1e7423b8@jcubic> <874itfo2el.fsf@mail.linkov.net> <86ms76en4b.fsf@gnu.org> <87ikhudvma.fsf@mail.linkov.net> <86y0qqcde6.fsf@gnu.org> Date: Mon, 08 Sep 2025 09:09:01 +0300 Message-ID: <87ms75lblu.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4cKxYT6qrrz9t6L X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79395 Cc: jcubic@onet.pl, 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> > However, the discussion in bug#64656 is very long and talks about >> > quite a few separate issues. Could you please summarize only the part >> > that is related to using C-s at the prompt of "C-h f"? In particular, >> > what is "C-s" supposed to search in this case, when the minibuffer is >> > empty? >> >> "C-s" is supposed to search the "future history", >> i.e. the same values visited by "M-x M-n M-n M-n ...". > > If that's the intent, then why isn't this documented anywhere I could > think to look? That C-s should do that in this case is completely > non-obvious, so I wonder how come people know about it if we didn't > document it? Searching the minibuffer history is documented in (info "(emacs) Isearch Minibuffer"). Searching the default values is too obscure feature to advertise, because usually a list of default values is very short, and in some cases that add completion candidates to M-n default values it's better to use TAB to show completions and use isearch in the completion buffer. > Can you point me to the place where we bind C-s to do that, please? In minibuffer-history-isearch-setup. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 08 07:57:45 2025 Received: (at 79395) by debbugs.gnu.org; 8 Sep 2025 11:57:45 +0000 Received: from localhost ([127.0.0.1]:50146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uvaVF-0005KR-77 for submit@debbugs.gnu.org; Mon, 08 Sep 2025 07:57:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40040) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uvaVA-0005K7-AN for 79395@debbugs.gnu.org; Mon, 08 Sep 2025 07:57:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uvaUy-0007nx-Fk; Mon, 08 Sep 2025 07:57:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ltKr5b0R7sg15LZt4WwiE8fSH3GSW7LJdHnl62eEyAM=; b=T7sF5m2s3JD/ DgqerE6iwmq9Msq3vN7vIDJ8lusR3YqzfdWJthdQuPo+ASiBzKgcc/BIZl9p6SSQPF9PVItLN1TZq 59YcbO+ANQ+KAmZLV+cZoZcXSnov4ZZL7JjKGl4p0f/PZLrgL1YhndCRGco5tYic0H+zInIUE3xwB x8iUt2rn4PbZRgwtZ8mdinFR2queQ/shCsKRY72RRfvK7ibGirYHqTDyjjvZ7xrFbMdjsdJA2WQEq LAKe7ntrPQ26jRbcfYXFcdp0+m13JyBhwdFuhc6MkM4DdwZzd54EPouk7GOVs6XfzV7roVcAzpj0g 2vjwc76So3lxmyiBUelkww==; Date: Mon, 08 Sep 2025 14:56:56 +0300 Message-Id: <86qzwhcg3b.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <87ms75lblu.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 08 Sep 2025 09:09:01 +0300) Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer References: <20250906173635.1e7423b8@jcubic> <874itfo2el.fsf@mail.linkov.net> <86ms76en4b.fsf@gnu.org> <87ikhudvma.fsf@mail.linkov.net> <86y0qqcde6.fsf@gnu.org> <87ms75lblu.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79395 Cc: jcubic@onet.pl, 79395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juri Linkov > Cc: jcubic@onet.pl, 79395@debbugs.gnu.org > Date: Mon, 08 Sep 2025 09:09:01 +0300 > > >> > However, the discussion in bug#64656 is very long and talks about > >> > quite a few separate issues. Could you please summarize only the part > >> > that is related to using C-s at the prompt of "C-h f"? In particular, > >> > what is "C-s" supposed to search in this case, when the minibuffer is > >> > empty? > >> > >> "C-s" is supposed to search the "future history", > >> i.e. the same values visited by "M-x M-n M-n M-n ...". > > > > If that's the intent, then why isn't this documented anywhere I could > > think to look? That C-s should do that in this case is completely > > non-obvious, so I wonder how come people know about it if we didn't > > document it? > > Searching the minibuffer history is documented in > (info "(emacs) Isearch Minibuffer"). > > Searching the default values is too obscure feature to advertise, > because usually a list of default values is very short, > and in some cases that add completion candidates to M-n default values > it's better to use TAB to show completions and use isearch > in the completion buffer. > > > Can you point me to the place where we bind C-s to do that, please? > > In minibuffer-history-isearch-setup. Thanks, the documentation was okay, but there was a room for improving the indexing and cross-references, which I did.