Subject: Re: bug#58786: 29.0.50; Error with Info-minibuf-history not declared

From: Thierry Volpiatto <[email-masked]>
Date: Wed, 26 Oct 2022 06:02:39 +0000

Stefan Kangas <[email-masked]> writes:

> Thierry Volpiatto <[email-masked]> writes:
>
>> Info-minibuf-history is not declared hence the error when calling Info-goto-node:
>>
>> (void-function Info-minibuf-history)
>>
>> Evaling (defvar Info-minibuf-history nil) fixes it.
>>
>> See https://github.com/emacs-helm/helm/issues/2563
>
> I can't seem to reproduce this bug on current master.

Probably the variable is defined somewhere (custom?) since long time.

> Do you have a recipe to reproduce this bug, starting from "emacs -Q"?

I could reproduce from emacs -Q as described previously.

It is simple, just grep emacs repo for
Info-minibuf-history you will see it is defvared nowhere.

The commit introducing this var is:

    commit bf9364a56e618277fe72c90b3a741ade8bc0d205
    Author: Lars Ingebrigtsen <[email-masked]>
    Date:   Thu Nov 11 08:09:59 2021 +0100

        Add a command to go the gnu.org version of the info page
        
        * lisp/info.el (Info-url-for-node):
        (Info-goto-node-web): New function (bug#44895).
        
        Based on code from Drew Adams <[email-masked]>.

-- 
Thierry