emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Otterson <scotto@u.washington.edu>
To: emacs-orgmode@gnu.org
Subject: link description <-- selected text?
Date: Sun, 14 Jan 2007 09:51:47 -0800	[thread overview]
Message-ID: <45AA6DB3.50405@u.washington.edu> (raw)

Here's a feature request:  If text is selected when the create link 
command is invoked (C-c C-l), then the selected text becomes the default 
contents for the link description mini-buffer.  If no text is selected, 
the description mini-buffer is blank, as it is now.

This would reduce substantially keystrokes for my usual style of 
editing, which is to first type in the outline text and then to go back 
and sprinkle it with links to references (to websites, bib entries, 
lines of code...).  For example, suppose I have written this sentence:

    "Implement the RLS algorithm"

And, suppose I've already stored a link to an RLS paper by typing C-l in 
in my bib file.  Then, while in the outline buffer, I'd like to be able 
to select the text "RLS algorithm", and then hit:

    C-c C-l  (creates link minibuffer)
    <enter>  (enters stored link)
    <enter>  (enters selected text as link description)

As soon as it occurred to me that this would make org-mode more 
efficient, I realized that this is how other standard programs already 
handle html references; I'd guess that many would already be familiar 
with this small change in org-mode behavior.

Thanks for all the good work,

Scott

             reply	other threads:[~2007-01-14 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-14 17:51 Scott Otterson [this message]
2007-01-15  6:58 ` DSPAM link description <-- selected text? Bastien
2007-01-16  6:44 ` Carsten Dominik
2007-01-16 18:34   ` Scott Otterson

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.orgmode.org/

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

  git send-email \
    --in-reply-to=45AA6DB3.50405@u.washington.edu \
    --to=scotto@u.washington.edu \
    --cc=emacs-orgmode@gnu.org \
    /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/org-mode.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).