From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: org-link-search: Augment signature? Date: Thu, 19 Aug 2010 17:45:29 +0530 Message-ID: <817hjm94ta.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=45515 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om429-0001OP-11 for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 08:15:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om427-0007UG-N2 for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 08:15:48 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:61566) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om427-0007UA-Ia for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 08:15:47 -0400 Received: by pxi5 with SMTP id 5so1101373pxi.0 for ; Thu, 19 Aug 2010 05:15:46 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. ps: A cursory look suggests that the above change would also obviate the need for dynamically binding org-link-search-inhibit-query. Thanks, Jambunathan K.