From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-link-search: Augment signature?
Date: Fri, 20 Aug 2010 08:44:39 +0200 [thread overview]
Message-ID: <E999A24B-F98E-42E8-996C-249FEA439449@gmail.com> (raw)
In-Reply-To: <817hjm94ta.fsf@gmail.com>
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)
>
> to
>
> (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
next prev parent reply other threads:[~2010-08-20 7:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 12:15 org-link-search: Augment signature? Jambunathan K
2010-08-20 6:44 ` Carsten Dominik [this message]
[not found] ` <81fwy97id5.fsf@gmail.com>
[not found] ` <2559B10D-71A8-46B9-9694-AE6332924768@gmail.com>
2010-08-20 9:48 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E999A24B-F98E-42E8-996C-249FEA439449@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.