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


Message #31 received at 10771 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10771 <at> debbugs.gnu.org, cyd <at> gnu.org, rgm <at> gnu.org
Subject: Re: bug#10771: TAB completion for info-display-manual
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.  Completion is useful to read a manual name that is
not already visited.  So when you want to visit a new manual, you can use
completion, when a manual is already visited, you can type its name
and get it from the history with M-p.

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.  Which one of them
should be preferred by this command?  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?




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.