From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov 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 01:31:17 +0300 Organization: JURTA Message-ID: <877gsvg7d6.fsf@mail.jurta.org> References: <83boi8dq2r.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345329248 5457 80.91.229.3 (18 Aug 2012 22:34:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2012 22:34:08 +0000 (UTC) Cc: 12230@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 19 00:34:06 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 1T2ram-0000i6-Ob for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Aug 2012 00:34:04 +0200 Original-Received: from localhost ([::1]:41400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2ral-0006Xq-7F for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2012 18:34:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2rah-0006Ru-Lh for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 18:34:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2rag-0001gj-9z for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 18:33:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2rag-0001gb-6Q for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 18:33:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T2rak-0002bV-28 for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 18:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Aug 2012 22:34:02 +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.13453292379998 (code B ref 12230); Sat, 18 Aug 2012 22:34:02 +0000 Original-Received: (at 12230) by debbugs.gnu.org; 18 Aug 2012 22:33:57 +0000 Original-Received: from localhost ([127.0.0.1]:37933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2raf-0002bC-E6 for submit@debbugs.gnu.org; Sat, 18 Aug 2012 18:33:57 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:41325 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2rad-0002b5-G5 for 12230@debbugs.gnu.org; Sat, 18 Aug 2012 18:33:56 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4413A451CC25; Sat, 18 Aug 2012 15:33:49 -0700 (PDT) In-Reply-To: <83boi8dq2r.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Aug 2012 21:15:24 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) 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:63276 Archived-At: > 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.