[Top][All Lists]

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

Re: [Orgmode] org-link-search: Augment signature?

From: Carsten Dominik
Subject: Re: [Orgmode] org-link-search: Augment signature?
Date: Fri, 20 Aug 2010 08:44:39 +0200

On Aug 19, 2010, at 2:15 PM, Jambunathan K wrote:

I have a small utility routine that depends on org-link-search to throw
an error. It knew how to create the missing headline on it's own.

A recent change and the default settings breaks the original behaviour.

Using this as pretext, may I suggest that signature of org-link-search
be changed from

(org-link-search S &optional TYPE AVOID-POS)


(org-link-search S &optional TYPE AVOID-POS NOERROR)

or an equivalent one.

I think a good solution for your utility would be to bind

(let ((org-link-search-must-match-exact-headline t))

around the body of the function.

ps: A cursory look suggests that the above change would also obviate the
need for dynamically binding org-link-search-inhibit-query.

I am not sure if I understand this part.

- Carsten

reply via email to

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