GNU bug report logs - #1118
23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol

Previous Next

Package: emacs;

Reported by: Lawrence Mitchell <wence <at> gmx.li>

Date: Wed, 8 Oct 2008 08:55:04 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1118 in the body.
You can then email your comments to 1118 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1118; Package emacs. Full text and rfc822 format available.

Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lawrence Mitchell <wence <at> gmx.li>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
Date: Wed, 08 Oct 2008 09:44:30 +0100
In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-10-07 on lamacq.ph.ed.ac.uk
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  '-C' '--prefix=/scratch/s0198183/applications/emacs-trunk/' 'CFLAGS=-ggdb3 -O0' '--without-rsvg''

emacs -Q
C-h i d m Elisp RET
i set-text-properties RET

takes me to the set-text-properties entry in the Elisp manual (as
expected).

emacs -Q
C-h S add-text-properties RET ; use info-look to find add-text-properties
C-x b *info* RET              ; switch to info buffer
i                             ; try to lookup something in the index

complains "No index"

Cheers,
Lawrence
-- 
Lawrence Mitchell <wence <at> gmx.li>




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1118; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #8 received at 1118 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 1118 <at> debbugs.gnu.org
Cc: Lawrence Mitchell <wence <at> gmx.li>
Subject: Re: bug#1118: 23.0.60;	Info claims no index exists if first instance
 of an info file is visited via info-lookup-symbol
Date: Wed, 08 Oct 2008 20:37:32 +0200
> In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2008-10-07 on lamacq.ph.ed.ac.uk
> Windowing system distributor `The X.Org Foundation', version 11.0.60802000
> configured using `configure  '-C' '--prefix=/scratch/s0198183/applications/emacs-trunk/' 'CFLAGS=-ggdb3 -O0' '--without-rsvg''
>
> emacs -Q
> C-h i d m Elisp RET
> i set-text-properties RET
>
> takes me to the set-text-properties entry in the Elisp manual (as
> expected).
>
> emacs -Q
> C-h S add-text-properties RET ; use info-look to find add-text-properties
> C-x b *info* RET              ; switch to info buffer
> i                             ; try to lookup something in the index
>
> complains "No index"

FWIW, it's due to this change

2008-06-15  Juri Linkov  <juri <at> jurta.org>

	* info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
	(Info-toc, Info-insert-toc): Increment nth's index to add PARENT
	as the second element.
	(Info-build-toc): Add PARENT element extracted from the Up pointer.
	Don't print progress messages.
	(Info-toc-nodes): New variable and function.
	(Info-index-nodes): Optimize non-string file name case.
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	
Juri, please have a look.

martin





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1118; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #13 received at 1118 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: martin rudalics <rudalics <at> gmx.at>, 1118 <at> debbugs.gnu.org
Cc: Lawrence Mitchell <wence <at> gmx.li>
Subject: Re: bug#1118: 23.0.60;	Info claims no index exists if first instance
 of an info file is	visited via info-lookup-symbol
Date: Thu, 09 Oct 2008 03:36:39 +0300
>  > emacs -Q
>  > C-h S add-text-properties RET ; use info-look to find 
> add-text-properties
>  > C-x b *info* RET              ; switch to info buffer
>  > i                             ; try to lookup something in the index
>  >
>  > complains "No index"
> 
> FWIW, it's due to this change
> 
> 2008-06-15  Juri Linkov  <juri <at> jurta.org>
> 
>     * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
>     (Info-toc, Info-insert-toc): Increment nth's index to add PARENT
>     as the second element.
>     (Info-build-toc): Add PARENT element extracted from the Up pointer.
>     Don't print progress messages.
>     (Info-toc-nodes): New variable and function.
>     (Info-index-nodes): Optimize non-string file name case.
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     
> Juri, please have a look.

This whole change was not intended to work with the workflow of `C-h S'.
The problem is that `Info-build-toc' calls `Info-index-node' on the
temporary buffer where it fails to build the index.  Adding a line
`(Info-index-node "Top" file)' at the beginning of `Info-build-toc'
just before `with-temp-buffer' will fix this bug by building the
index outside of the temporary buffer, but I'd like to find
more elegant solution.

-- 
Juri Linkov
http://www.jurta.org/emacs/




Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Lawrence Mitchell <wence <at> gmx.li>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #18 received at 1118-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Lawrence Mitchell <wence <at> gmx.li>
Cc: 1118-done <at> debbugs.gnu.org
Subject: Re: bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
Date: Sun, 19 Oct 2008 02:46:52 +0300
> emacs -Q
> C-h S add-text-properties RET ; use info-look to find add-text-properties
> C-x b *info* RET              ; switch to info buffer
> i                             ; try to lookup something in the index
>
> complains "No index"

Thanks, fixed.

The Info browser was unable to get the information about the index cookie
support, so it treated it as a non-cookie file, and the temporary value of
Info-point-loc (set by navigation from the index node to the defined line
number) mislead into skipping a list of index nodes in the Top node.

-- 
Juri Linkov
http://www.jurta.org/emacs/




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 16 Nov 2008 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 221 days ago.

Previous Next


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