Hi Robert, Robert Adesam <rob...@adesam.se> 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