[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-store-link calls external link type store functions twice?
From: |
Bastien |
Subject: |
Re: [O] org-store-link calls external link type store functions twice? |
Date: |
Tue, 14 May 2013 10:41:01 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Hi Robert,
Robert Adesam <address@hidden> writes:
> I am not sure this is a bug but in version 8.x storing a link using
> an external link type, org-store-link seems to call the external link
> type's store function twice... I noticed this as I use an external
> link type that asynchronous updates an external filedatabase and
> started to get random file lock errors -- the org-store-link second
> call to the external link type's store function sometimes came too
> quickly after the first one. :-) Also, I do not have this problem in
> version 7.x of orgmode.
>
> Instead of reverting back to a previous version of orgmode I started
> to investigate -- attaching a patch that seems to help me anyway.
> It's not that well tested and maybe, as I am not that familiar with
> everything going on when storing a link using an external link type,
> it will break other things...
I re-read `org-store-link' and I don't see how the external function
can be called twice... maybe you can give more details on what this
external function looks like, when it is called (within a script or
something), etc?
Thanks!
--
Bastien