From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: apparent bug in org-insert-link with active region Date: Wed, 3 Oct 2007 10:56:32 -0500 Message-ID: <41c818190710030856i1b0280bdvc88a82e954f738b8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Id6aS-0002Pn-Ub for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:56:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id6aQ-0002Oz-WA for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:56:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id6aQ-0002Ow-S2 for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:56:34 -0400 Received: from nz-out-0506.google.com ([64.233.162.233]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Id6aQ-0007WB-Ac for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:56:34 -0400 Received: by nz-out-0506.google.com with SMTP id f1so3330655nzc for ; Wed, 03 Oct 2007 08:56:33 -0700 (PDT) Content-Disposition: inline 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: org-mode 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. Cheers Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia