GNU bug report logs - #10771
TAB completion for info-display-manual

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 9 Feb 2012 06:38:01 UTC

Severity: wishlist

Tags: patch

Found in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10771 <at> debbugs.gnu.org, cyd <at> gnu.org, rgm <at> gnu.org
Subject: bug#10771: TAB completion for info-display-manual
Date: Mon, 03 Dec 2012 05:37:54 +0200
> From: Juri Linkov <juri <at> jurta.org>
> Cc: cyd <at> gnu.org,  10771 <at> debbugs.gnu.org,  rgm <at> gnu.org
> Date: Sun, 02 Dec 2012 23:57:52 +0200
> 
> >> @@ -5138,7 +5138,7 @@ (defun info-display-manual (manual)
> >>  		       (apply-partially 'Info-read-node-name-2
> >>  					Info-directory-list
> >>  					(mapcar 'car Info-suffix-list))
> >> -		       nil t))))
> >> +		       nil nil))))
> >>    (let ((blist (buffer-list))
> >>  	(manual-re (concat "\\(/\\|\\`\\)" manual "\\(\\.\\|\\'\\)"))
> >>  	(case-fold-search t)
> >
> > How is this better than the original command against which this bug
> > was filed?
> 
> At least this is not worse than the original command that reads a manual name
> without completion.

I didn't say it was worse.  I asked how it was better.

> BTW, there is another problem with selecting an Info buffer
> by its Info file name: what if there are two Info buffers
> visiting a manual with the same name.

Then the command finds one of them, and if you repeat the same
command, it finds the second, etc.  Which is fine with me, and I do
have such multiple manuals by the same name loaded in the same
session.

> Which one of them should be preferred by this command?

I don't need any preference.  All I need is a reasonable way of
finding each one of them.

> Also which manual should be preferred in completion when one manual
> is already visited and another manual with the same name is
> available in Info-directory-list?

The visited one, of course.




This bug report was last modified 12 years and 252 days ago.

Previous Next


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