[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Capture/store link bug
From: |
Matt Lundin |
Subject: |
Re: [O] Capture/store link bug |
Date: |
Mon, 25 Mar 2013 19:52:19 -0500 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) |
Matt Lundin <address@hidden> writes:
> Bastien <address@hidden> writes:
>
>> Matt Lundin <address@hidden> 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.
>
> Hmm. I see the change you made and it makes sense. But it seems now that
> the annotations (i.e., links) do not appear at all in the capture,
> regardless of whether there is an active region or not.
I think I've figured out why this doesn't work. See line 9492 of org.el.
If ignore-region is t, org-store-link does not return a value, which
org-capture expects. Rather org-store-link adds the link to
org-stored-links.
Matt