all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Yanking the descriptive part of a link
Date: Tue, 17 Apr 2007 23:58:24 +0200	[thread overview]
Message-ID: <87d5227jen.fsf@bzg.ath.cx> (raw)

Hi list,

i came accross this situation several times: i have a (long) link in an
org-mode buffer and want to label it by yanking some text.

My first move was to select the link as the region and try C-u C-c C-l on
it, since org-insert-link does just the opposite : it takes the region as
the default label for some link you want to yank.

But the universal argument of C-c C-l makes org-insert-link deal with file
names.

Does anybody know any automated way to yank text as the descriptive-part of
an org-mode link ?

Thanks !

-- 
Bastien

             reply	other threads:[~2007-04-17 22:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17 21:58 Bastien [this message]
2007-04-18  2:26 ` Yanking the descriptive part of a link William Henney
2007-04-18  7:06   ` Bastien
2007-04-18 13:36     ` William Henney
2007-04-18  7:02 ` Bastien

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

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

  git send-email \
    --in-reply-to=87d5227jen.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.