bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30091: 25.3; Trying to go to non-existent info file puts the cursor


From: Lars Ingebrigtsen
Subject: bug#30091: 25.3; Trying to go to non-existent info file puts the cursor in *info* buffer, not mini buffer
Date: Tue, 17 Apr 2018 22:57:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Tim Landscheidt <tim@tim-landscheidt.de> writes:

> (Under Fedora 26 and X, also with master,) to reproduce:
>
> - "emacs -Q",
> - C-h i for *info* buffer,
> - g for "Go to node:",
> - (does-not-exist) RET.
>
> Result:
>
> - Mini buffer says: "Info file does-not-exist does not
>   exist",
> - then switches back to "Go to node: (does-not-exist)",
> - but cursor is put in *info* buffer, thus requiring to C-x
>   o to reenter mini buffer to correct (or abort).

Utterly weird.  I've tried to debug this, and the error is in

(Info-read-node-name "Go to node: ")

If you type "foo", then point does not move to the *info* buffer.  If
you type "(foo)", then point does move to the *info* buffer.

It seems like it's this code

         (lambda (string pred action)
           (complete-with-action
            action
            (Info-build-node-completions (Info-find-file file1))
            string pred))

that somehow (when `Info-find-file' raises a user-error pops to the
*info* buffer...  somehow...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]