emacs-devel
[Top][All Lists]
Advanced

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

Re: breadcrumbs for Info . . . . . .


From: Juri Linkov
Subject: Re: breadcrumbs for Info . . . . . .
Date: Sun, 15 Jun 2008 21:18:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> There is one problem: all breadcrumb links are displayed as visited
>> even when there are not.  The simplest fix is to let-bind variables
>> Info-history and Info-history-list in Info-insert-breadcrumbs.  But
>> I see Info-find-node is called with `no-going-back'.  Maybe code that
>> adds a new visited node to Info-history-list should be moved from
>> Info-select-node to Info-find-node-2 and be called conditionally
>> on no-going-back, but this would be inappropriate semantics for
>> Info-history-list.  So perhaps let-bind is the best fix.
>
> Oh, yes, indeed.  Info.el's code is terrible in this respect.
> Could you try and fix this problem, please?

Done.  Now there is no need to mess around with the history since
Info-insert-breadcrumbs uses the cached parent-children structure
shared with the TOC node.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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