[Top][All Lists]

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

Re: Info-build-node-completions has an extra `*' node

From: Bastien
Subject: Re: Info-build-node-completions has an extra `*' node
Date: Sun, 17 Feb 2008 23:05:42 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>> emacs -Q
>> Go to an Info manual, or even the top level (dir).
>> Use Info-goto-node, choosing the completion candidate `*'.
>> The current node stays current, but now the node name in the 
>> mode line etc.
>> is `*'.
>> IMO, `*' should not be one of the available completion candidates.


>> `*' gets added by `Info-build-node-completions'. It seems to have only
>> an internal purpose, and it should be removed from the final set of
>> completions.

I don't even understand the internal purpose of this.  Unless someone
tells me this patch is wrong, I will apply it in one week.

--- info.el.~1.512.~    2008-02-11 03:19:40.000000000 +0000
+++ info.el     2008-02-17 22:55:01.000000000 +0000
@@ -1592,7 +1592,7 @@
                      (setq compl
                            (cons (list (match-string-no-properties 1))
-       (setq compl (cons '("*") compl))
+       ;; (setq compl (cons '("*") compl))
        (set (make-local-variable 'Info-current-file-completions) compl))))
 (defun Info-restore-point (hl)
>> In GNU Emacs (i386-mingw-nt5.1.2600)
>>  of 2008-01-30 on PRETEST
>> Windowing system distributor `Microsoft Corp.', version 5.1.2600
>> configured using `configure --with-gcc (3.4) --cflags 
>> -Ic:/gnuwin32/include'
> I should have added that after you do `Info-goto-node *' the Info buffer is
> widened, so you see all of the node headers in raw form. 

I don't really see this.  Can you check again?  Or send an example of
the raw headers that you see?  Does my patch also fix this?


reply via email to

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