unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
@ 2008-10-08  8:44 ` Lawrence Mitchell
  2008-10-08 18:37   ` martin rudalics
  2008-10-18 23:55   ` bug#1118: marked as done (23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Lawrence Mitchell @ 2008-10-08  8:44 UTC (permalink / raw)
  To: emacs-pretest-bug

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@gmx.li>






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
  2008-10-08  8:44 ` bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol Lawrence Mitchell
@ 2008-10-08 18:37   ` martin rudalics
  2008-10-09  0:36     ` Juri Linkov
  2008-10-18 23:55   ` bug#1118: marked as done (23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol) Emacs bug Tracking System
  1 sibling, 1 reply; 4+ messages in thread
From: martin rudalics @ 2008-10-08 18:37 UTC (permalink / raw)
  To: 1118; +Cc: Lawrence Mitchell

 > 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@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







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
  2008-10-08 18:37   ` martin rudalics
@ 2008-10-09  0:36     ` Juri Linkov
  0 siblings, 0 replies; 4+ messages in thread
From: Juri Linkov @ 2008-10-09  0:36 UTC (permalink / raw)
  To: martin rudalics, 1118; +Cc: Lawrence Mitchell

>  > 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@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/






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#1118: marked as done (23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol)
  2008-10-08  8:44 ` bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol Lawrence Mitchell
  2008-10-08 18:37   ` martin rudalics
@ 2008-10-18 23:55   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2008-10-18 23:55 UTC (permalink / raw)
  To: Juri Linkov

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]


Your message dated Sun, 19 Oct 2008 02:46:52 +0300
with message-id <878wslmqkn.fsf@jurta.org>
and subject line Re: bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
has caused the Emacs bug report #1118,
regarding 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1118: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1118
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3516 bytes --]

From: Lawrence Mitchell <wence@gmx.li>
To: emacs-pretest-bug@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
Message-ID: <?fnord?y3h6k5cjiihd.fsf@ID-97657.user.individual.net>

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@gmx.li>



[-- Attachment #3: Type: message/rfc822, Size: 2597 bytes --]

From: Juri Linkov <juri@jurta.org>
To: Lawrence Mitchell <wence@gmx.li>
Cc: 1118-done@emacsbugs.donarmstrong.com
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
Message-ID: <878wslmqkn.fsf@jurta.org>

> 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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-18 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <878wslmqkn.fsf@jurta.org>
2008-10-08  8:44 ` bug#1118: 23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol Lawrence Mitchell
2008-10-08 18:37   ` martin rudalics
2008-10-09  0:36     ` Juri Linkov
2008-10-18 23:55   ` bug#1118: marked as done (23.0.60; Info claims no index exists if first instance of an info file is visited via info-lookup-symbol) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).