bug-gnu-emacs
[Top][All Lists]
Advanced

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

RE: enhancement request: have inverse of Info-last - as in Web brower Fo


From: Drew Adams
Subject: RE: enhancement request: have inverse of Info-last - as in Web brower Forward button
Date: Sat, 2 Oct 2004 15:11:33 -0700

Yes, I'm aware of the stack being popped by `l', and the existence of `L'
and Info-history-list.

`L' corresponds to opening a History pane (frame) in a browser. It's not the
same thing as having Back and Forward buttons (keys).

For instance, I have `l' bound to mouse-4, which is bound by default in a
Web browser to Back. I would like to bind mouse-4 and mouse-5 to true Back
and Forward commands that navigate down and up Info-history-list.

I can no doubt write code for this myself, but it would be better to have it
in Emacs, for everyone.

Thanks,

  Drew

-----Original Message-----
From: Juri Linkov [mailto:juri@jurta.org]
Sent: Saturday, October 02, 2004 2:59 PM
To: Drew Adams
Cc: bug-gnu-emacs@gnu.org
Subject: Re: enhancement request: have inverse of Info-last - as in Web
brower Forward button


"Drew Adams" <drew.adams@oracle.com> writes:
> Not a bug, but an enhancement request.
>
> How about having a command that is the inverse of Info-last, say,
> Info-forward. Info-last (it would be better named Info-back) and
> Info-forward would act like the Back and Forward buttons of a Web
> browser, taking you back or forward in the history of visited nodes.

This is not possible with the `Info-history' variable since it
actually is a stack, not a list of all visited nodes.  However,
in CVS there is a new internal variable `Info-history-list' which
holds a list of all visited nodes and which is used by the `Info-history'
command (bound to `L').  You could try it and see if you still think
`Info-forward' is needed.

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






reply via email to

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