From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Capture/store link bug Date: Mon, 25 Mar 2013 23:54:39 +0100 Message-ID: <877gkv5bv4.fsf@bzg.ath.cx> References: <8738vjb0hw.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKGHu-00082v-37 for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 18:54:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKGHp-0006Bv-2A for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 18:54:46 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:38835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKGHo-0006Bq-SO for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 18:54:40 -0400 Received: by mail-wi0-f182.google.com with SMTP id hi18so7319461wib.9 for ; Mon, 25 Mar 2013 15:54:40 -0700 (PDT) In-Reply-To: <8738vjb0hw.fsf@fastmail.fm> (Matt Lundin's message of "Mon, 25 Mar 2013 17:15:54 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Org Mode Hi Matt, Matt Lundin writes: > 1) When an org-capture template is invoked with (a) an active region and > (b) an annotation (i.e., a link), the link is not inserted in the > capture buffer. This one must be fixed, thanks. > 2) org-store-links contains multiple entries for each link. > > If I set org-stored-links to nil and then invoke org-stored-link *once* > with the region active in a file (say, lines 9305 to 9309 in org.el), I > am given the following options when invoking org-insert-link. Note this > is only after invoking org-stored-link once: I need to digg deeper for this one. When the active region has four lines, I get four links. The fact that they are identical may be due to the way links are handle in the mode. I'll come back to this later on. Thanks for these detailed reports, -- Bastien