From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; `l' in Info skips last visited node Date: Sun, 11 May 2008 03:08:55 +0300 Organization: JURTA Message-ID: <87r6c9hfc8.fsf@jurta.org> References: <000301c8b1eb$91f6f150$0200a8c0@us.oracle.com> <87prrv6n6w.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210466363 1054 80.91.229.12 (11 May 2008 00:39:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2008 00:39:23 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 11 02:39:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Juzba-0005p8-K3 for ged-emacs-devel@m.gmane.org; Sun, 11 May 2008 02:39:58 +0200 Original-Received: from localhost ([127.0.0.1]:49386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juzas-0004H8-3p for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 20:39:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JuzZb-0003q5-OL for emacs-devel@gnu.org; Sat, 10 May 2008 20:37:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JuzZa-0003oj-1R for emacs-devel@gnu.org; Sat, 10 May 2008 20:37:55 -0400 Original-Received: from [199.232.76.173] (port=37508 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuzZZ-0003of-Tk for emacs-devel@gnu.org; Sat, 10 May 2008 20:37:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54838) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JuzZZ-0002Nx-Jo for emacs-devel@gnu.org; Sat, 10 May 2008 20:37:53 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:38798) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JuzYl-0007Gi-O6 for emacs-pretest-bug@gnu.org; Sat, 10 May 2008 20:37:03 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JuzZU-0002N8-6k for emacs-pretest-bug@gnu.org; Sat, 10 May 2008 20:37:53 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]:3599) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JuzZT-0002Mw-N4 for emacs-pretest-bug@gnu.org; Sat, 10 May 2008 20:37:48 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JuzZR-000PPg-11; Sun, 11 May 2008 03:37:45 +0300 In-Reply-To: <87prrv6n6w.fsf@jurta.org> (Juri Linkov's message of "Sat, 10 May 2008 02:57:31 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 7155bbd8d023de41950ebecbe4708355 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2798 [May 08 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:96954 gmane.emacs.pretest.bugs:22259 Archived-At: >> C-h i, choose Elisp manual. >> g Customization Types >> m d TAB RET, to go to node Defining New Types >> SPC SPC to get to node Loading >> l >> >> This takes you back to node Customization, not to the last visited >> node, which is Defining New Types, or even to the node visited just >> before that, which is Customization Types. Node Customization is the >> grandparent of the last visited node, and it was never even visited. > > This is confusing but deliberate. I agree we should change it. This can be fixed with the following patch: Index: lisp/info.el =================================================================== RCS file: /sources/emacs/emacs/lisp/info.el,v retrieving revision 1.531 diff -c -r1.531 info.el *** lisp/info.el 6 May 2008 07:57:40 -0000 1.531 --- lisp/info.el 11 May 2008 00:07:47 -0000 *************** *** 2526,2533 **** ;; go up to the end of this node. (goto-char (point-max)) ;; Since logically we are done with the node with that menu, ! ;; move on from it. ! (Info-next-preorder)) (t (error "No more nodes")))) --- 2526,2535 ---- ;; go up to the end of this node. (goto-char (point-max)) ;; Since logically we are done with the node with that menu, ! ;; move on from it. But don't put intermediate nodes to the ! ;; history on recursive calls. ! (let (Info-history) ! (Info-next-preorder))) (t (error "No more nodes")))) -- Juri Linkov http://www.jurta.org/emacs/