From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: apparent bug in org-insert-link with active region Date: Thu, 4 Oct 2007 09:26:35 +0200 Message-ID: <3638a6ddc9613b477110bc216a09fea7@science.uva.nl> References: <41c818190710030856i1b0280bdvc88a82e954f738b8@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdL6Y-0000wG-Fy for emacs-orgmode@gnu.org; Thu, 04 Oct 2007 03:26:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdL6V-0000tc-Dx for emacs-orgmode@gnu.org; Thu, 04 Oct 2007 03:26:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdL6V-0000tY-5y for emacs-orgmode@gnu.org; Thu, 04 Oct 2007 03:26:39 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IdL6U-0005xJ-Qt for emacs-orgmode@gnu.org; Thu, 04 Oct 2007 03:26:38 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IdL6Q-0003bh-7u for emacs-orgmode@gnu.org; Thu, 04 Oct 2007 03:26:34 -0400 In-Reply-To: <41c818190710030856i1b0280bdvc88a82e954f738b8@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Henney Cc: org-mode 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