GNU bug report logs - #79395
30.2; Search for a function inside a mini buffer

Previous Next

Package: emacs;

Reported by: "Jakub T. Jankiewicz" <jcubic <at> onet.pl>

Date: Sat, 6 Sep 2025 15:38:01 UTC

Severity: normal

Found in version 30.2

Done: Juri Linkov <juri <at> linkov.net>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Juri Linkov <juri <at> linkov.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#79395: closed (30.2; Search for a function inside a mini buffer)
Date: Sun, 07 Sep 2025 06:54:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 07 Sep 2025 09:51:19 +0300
with message-id <87348ykb6g.fsf <at> mail.linkov.net>
and subject line Re: bug#79395: 30.2; Search for a function inside a mini buffer
has caused the debbugs.gnu.org bug report #79395,
regarding 30.2; Search for a function inside a mini buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
79395: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79395
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Jakub T. Jankiewicz" <jcubic <at> onet.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.2; Search for a function inside a mini buffer
Date: Sat, 6 Sep 2025 17:36:35 +0200
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


[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: "Jakub T. Jankiewicz" <jcubic <at> onet.pl>
Cc: 79395-done <at> debbugs.gnu.org
Subject: Re: bug#79395: 30.2; Search for a function inside a mini buffer
Date: Sun, 07 Sep 2025 09:51:19 +0300
[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.


This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.