emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; `l' in Info skips last visited node


From: Juri Linkov
Subject: Re: 23.0.60; `l' in Info skips last visited node
Date: Sun, 11 May 2008 03:08:55 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]