unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: minor enhancements for links: open Info link in new window; mouse-3 menu for buffers with links
Date: Sat, 10 Jun 2006 17:29:21 -0700	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBEECADCAA.drew.adams@oracle.com> (raw)

Some minor link enhancements for consideration after the release.

1. Define commands `Info-follow-nearest-node-new-window' and
`Info-mouse-follow-nearest-node-new-window'. These just follow a link in a
new Info window (clone). I bind these to `S-RET' and `S-mouse-2'. Both are
handy.

2. These could be generalized to follow any link whose destination Emacs
understood (e.g. URL). In buffers with links, the same key bindings
(`S-RET', `S-mouse-2') might be appropriate.

Is there such a generic follow-link command already (one for RET at point
and one for mouse click)? Wouldn't that be useful? In Info, it would follow
an Info link. It would recognize a URL and follow that. And so on,
recognizing as many types of links as possible, depending, for instance, on
the buffer mode.

3. In buffers that have links, provide a mouse-3 context menu for a link.

In a typical Web browser, you can right-click on a link and get a popup menu
appropriate to the link. In IE6 with the Google toolbar, for instance, I see
this as the link menu:

 Open
 Open In New Window
 Save Target As...
 Print Target
 ------------
 Cut
 Copy
 Copy Shortcut
 Paste
 ------------
 Add to Favorites...
 ------------
 Backward Links
 Cached Snapshot of Page
 Similar Pages
 Translate Page into English
 ------------
 Properties

Two menu items that it would be particularly good to have are Open In New
Window and Backward Links. In Info, Open in New Window would do the same
thing as `Info-follow-nearest-node-new-window'.

Backward Links is a Google thing that is sometimes quite handy. In Emacs
Info, it would open a window of links to other Info nodes that also linked
to the destination of the clicked link. The same functionality would be
available for the current node (as opposed to the target of a link): show
all nodes that link to it. Backward links for the current-node could be
bound to a key sequence.

             reply	other threads:[~2006-06-11  0:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11  0:29 Drew Adams [this message]
2006-06-11  2:24 ` minor enhancements for links: open Info link in new window; mouse-3 menu for buffers with links Bob Rogers
2006-06-17 20:52   ` Drew Adams
2006-06-17 21:12     ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MEEKKIABFKKDFJMPIOEBEECADCAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).