unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12230@debbugs.gnu.org
Subject: bug#12230: 24.2; revert-buffer in an Info buffer should refresh Info-index-nodes
Date: Sun, 19 Aug 2012 01:31:17 +0300	[thread overview]
Message-ID: <877gsvg7d6.fsf@mail.jurta.org> (raw)
In-Reply-To: <83boi8dq2r.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Aug 2012 21:15:24 +0300")

> The problem is that info.el caches the Index nodes in the alist stored
> in Info-index-nodes.  It should therefore remove from that alist the
> association of the Info file whose buffer is reverted.

Since `Info-revert-find-node' is not the right place to clear
the cache because the same problem can occur after killing
the Info buffer and revisiting the same Info manual manually,
perhaps the right fix would be to check the modtime of the Info file
in `Info-find-file' and clear the cache for modified files.





  reply	other threads:[~2012-08-18 22:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 18:15 bug#12230: 24.2; revert-buffer in an Info buffer should refresh Info-index-nodes Eli Zaretskii
2012-08-18 22:31 ` Juri Linkov [this message]
2012-08-19  2:48   ` Eli Zaretskii
2012-08-19 23:39     ` Juri Linkov
2012-08-20  2:45       ` Eli Zaretskii
2012-08-21  0:15         ` Juri Linkov
2012-08-21  6:15           ` Chong Yidong
2012-08-21 22:24             ` Juri Linkov
2012-08-21  6:49           ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gsvg7d6.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=12230@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 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).