unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* enhancement request: have inverse of Info-last - as in Web brower Forward button
       [not found] <MEEKKIABFKKDFJMPIOEBMEIFCGAA.drew.adams@oracle.com>
@ 2004-10-02 21:36 ` Drew Adams
  2004-10-02 21:59   ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2004-10-02 21:36 UTC (permalink / raw)


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.


In GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600)
 of 2004-07-26 on BERATUNG4
configured using `configure --with-gcc
(3.3) --cflags -I../../jpeg-6b-1/include -I../../libpng-1.2.4-1/include -I..
/../tiff-3.5.7/include -I../../xpm-nox-4.2.0/include -I../../zlib-1.1.4-1/in
clude'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: enhancement request: have inverse of Info-last - as in Web brower Forward button
  2004-10-02 21:36 ` enhancement request: have inverse of Info-last - as in Web brower Forward button Drew Adams
@ 2004-10-02 21:59   ` Juri Linkov
  2004-10-02 22:11     ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2004-10-02 21:59 UTC (permalink / raw)
  Cc: bug-gnu-emacs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: enhancement request: have inverse of Info-last - as in Web brower Forward button
  2004-10-02 21:59   ` Juri Linkov
@ 2004-10-02 22:11     ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2004-10-02 22:11 UTC (permalink / raw)
  Cc: bug-gnu-emacs

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-02 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <MEEKKIABFKKDFJMPIOEBMEIFCGAA.drew.adams@oracle.com>
2004-10-02 21:36 ` enhancement request: have inverse of Info-last - as in Web brower Forward button Drew Adams
2004-10-02 21:59   ` Juri Linkov
2004-10-02 22:11     ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).