emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: org-store-link only works interactively [7.4]


From: Bastien
Subject: Re: [Orgmode] Bug: org-store-link only works interactively [7.4]
Date: Fri, 11 Feb 2011 10:57:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Dave,

Dave Abrahams <address@hidden> writes:

> org-stored-links will only be updated if the function is called
> interactively.  I'm not sure why you would want to neuter
> org-store-link otherwise, but the docs for interactive-p say:
>
>   The only known proper use of `interactive-p' is in deciding whether to
>   display a helpful message, or how to display it.  If you're thinking
>   of using it for any other purpose, it is quite likely that you're
>   making a mistake.  

True, thanks for pointing at this.  I agree the user should be able to
call org-store-link non-interactively (programmatically).

Carsten, I see no possible side-effects, but perhaps you had a good
reason for preventing non-interactive calls to `org-store-link'?

Thanks,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]