emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: William Henney <whenney@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: apparent bug in org-insert-link with active region
Date: Thu, 4 Oct 2007 09:26:35 +0200	[thread overview]
Message-ID: <3638a6ddc9613b477110bc216a09fea7@science.uva.nl> (raw)
In-Reply-To: <41c818190710030856i1b0280bdvc88a82e954f738b8@mail.gmail.com>


On Oct 3, 2007, at 17:56, William Henney wrote:

> Hi list
>
> If I call org-insert-link with the region active, then the region
> content is instantly deleted while I am prompted for the link. This is
> rather disconcerting, but for most link types the region content
> magically reappears as the default value of the description. However,
> for "file:" links the default value of the description becomes the
> link itself, and the previous content of the region is lost (as far as
> I can see). Is this intended?
>
> This is with Org version 5.09 - I'm sure it used to work at some time
> in the past.

You have found a bug - fixed for 5.11.  I am also keeping the region
in the buffer until the last moment now, to ease your discomfort :-)
Thanks.

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  parent reply	other threads:[~2007-10-04  7:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 15:56 apparent bug in org-insert-link with active region William Henney
2007-10-03 21:15 ` Bastien
2007-10-04  0:16   ` William Henney
2007-10-04 10:44     ` Bastien
2007-10-04  7:26 ` Carsten Dominik [this message]
2007-10-04 14:37   ` William Henney

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=3638a6ddc9613b477110bc216a09fea7@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=whenney@gmail.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/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).