From: Juri Linkov <juri@jurta.org>
To: martin rudalics <rudalics@gmx.at>, 1118@emacsbugs.donarmstrong.com
Cc: Lawrence Mitchell <wence@gmx.li>
Subject: 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 [thread overview]
Message-ID: <48ED5217.6080507@jurta.org> (raw)
In-Reply-To: <48ECFDEC.2090605@gmx.at>
> > 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/
next prev parent reply other threads:[~2008-10-09 0:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48ED5217.6080507@jurta.org \
--to=juri@jurta.org \
--cc=1118@emacsbugs.donarmstrong.com \
--cc=rudalics@gmx.at \
--cc=wence@gmx.li \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.