From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12230: 24.2; revert-buffer in an Info buffer should refresh Info-index-nodes Date: Sun, 19 Aug 2012 05:48:03 +0300 Message-ID: <831uj3egws.fsf@gnu.org> References: <83boi8dq2r.fsf@gnu.org> <877gsvg7d6.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345344483 29291 80.91.229.3 (19 Aug 2012 02:48:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2012 02:48:03 +0000 (UTC) Cc: 12230@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 19 04:48:03 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T2vYX-0003re-VF for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Aug 2012 04:48:02 +0200 Original-Received: from localhost ([::1]:40854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2vYW-0006jT-OU for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2012 22:48:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2vYU-0006jO-Gg for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 22:47:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2vYT-000547-IO for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 22:47:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2vYT-000543-Ev for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 22:47:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T2vYY-0008CU-0R for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 22:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Aug 2012 02:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12230 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12230-submit@debbugs.gnu.org id=B12230.134534447931512 (code B ref 12230); Sun, 19 Aug 2012 02:48:01 +0000 Original-Received: (at 12230) by debbugs.gnu.org; 19 Aug 2012 02:47:59 +0000 Original-Received: from localhost ([127.0.0.1]:38072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2vYU-0008CD-Rw for submit@debbugs.gnu.org; Sat, 18 Aug 2012 22:47:59 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62419) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2vYR-0008C5-Ss for 12230@debbugs.gnu.org; Sat, 18 Aug 2012 22:47:56 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M8Z00900ECSJP00@a-mtaout20.012.net.il> for 12230@debbugs.gnu.org; Sun, 19 Aug 2012 05:47:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8Z0092REFPB360@a-mtaout20.012.net.il>; Sun, 19 Aug 2012 05:47:49 +0300 (IDT) In-reply-to: <877gsvg7d6.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63280 Archived-At: > From: Juri Linkov > Cc: 12230@debbugs.gnu.org > Date: Sun, 19 Aug 2012 01:31:17 +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. That should do the trick, I think. Thanks.