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: Sat, 18 Aug 2012 21:15:24 +0300 Message-ID: <83boi8dq2r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345313765 1093 80.91.229.3 (18 Aug 2012 18:16:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2012 18:16:05 +0000 (UTC) To: 12230@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 18 20:16:05 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 1T2nZ6-0006aQ-WC for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2012 20:16:05 +0200 Original-Received: from localhost ([::1]:51855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2nZ5-0007Zj-Kf for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2012 14:16:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2nZ2-0007ZT-7l for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:16:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2nZ0-0001RF-UW for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:16:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2nZ0-0001Qt-Qj for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:15:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T2nZ3-0004Vl-UH for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:16:01 -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: Sat, 18 Aug 2012 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12230 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134531372416316 (code B ref -1); Sat, 18 Aug 2012 18:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Aug 2012 18:15:24 +0000 Original-Received: from localhost ([127.0.0.1]:37773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2nYS-0004ED-2F for submit@debbugs.gnu.org; Sat, 18 Aug 2012 14:15:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44603) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2nYP-0004AC-JZ for submit@debbugs.gnu.org; Sat, 18 Aug 2012 14:15:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2nYK-0000rX-IB for submit@debbugs.gnu.org; Sat, 18 Aug 2012 14:15:17 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:33197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2nYK-0000rT-Ec for submit@debbugs.gnu.org; Sat, 18 Aug 2012 14:15:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2nYJ-0007Z0-4G for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:15:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2nYH-0000rD-M2 for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:15:15 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2nYH-0000r3-8w for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 14:15:13 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M8Y00H00QOLZ700@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 21:15:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8Y00H8NQPBWB40@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2012 21:15:11 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:63273 Archived-At: This problem cannot easily happen in "emacs -Q", so no reproducible recipe, sorry. However, the problem is quite clear: if you "M-x revert-buffer" in an Info buffer, and the new Info file changed the names of its Index nodes, then the 'i' command will most probably fail the next time you invoke it in that Info buffer. A case in point is the GDB manual: it recently split its Index node into 2 nodes, called "Concept Index" and "Command and Variable Index", respectively. After reverting its Info buffer, 'i' started signaling an error, complaining about the missing node "Index". 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. In GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-16 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: diff-auto-refine-mode: t flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t abbrev-mode: t Recent input: C-x b I N B M-: I n f o - i n d e x - m n o d e s C-x b * s c r I n f o - i n d e x - n o d e s C-j C-s g d b C-x b C-x 5 b x d C-h f w 3 2 - a d d C-x 5 b * i n 2 4 > i a u t o - l o a d M-1 g o o d C-x C-s M-1 g d d d m M-x r e p o r t - e m Recent messages: byte-code: Beginning of buffer [2 times] Getting mail from d:/usr/eli/data/mail.new... Counting new messages...done (3) Saving file d:/usr/eli/rmail/INBOX... Wrote d:/usr/eli/rmail/INBOX [2 times] Computing summary lines...done 3 new messages read No following nondeleted message Parsing d:/usr/eli/.mailrc... done Scanning for dabbrevs...done Load-path shadows: None found. Features: (shadow dabbrev emacsbug mailalias sendmail rmailout help-mode view misearch multi-isearch texinfo tcl nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode make-mode conf-mode newcomment parse-time generic ld-script sh-script executable vc-git arc-mode archive-mode diff-mode dired-x dired jka-compr autorevert vc-cvs face-remap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-compat org-entities org-macs noutline outline easy-mmode cal-menu calendar cal-loaddefs flyspell info vc-bzr cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt qp rmailsum rmailmm message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop server filecache mairix cus-edit easymenu cus-start cus-load wid-edit saveplace midnight ispell generic-x paren battery time time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)