From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-capture: org-capture-place-item needs search bounds Date: Thu, 03 Feb 2011 13:57:04 +0100 Message-ID: <878vxxnun3.fsf@gnu.org> References: <19637.5991.631077.826124@priss.frightenedpiglet.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkykC-0000GY-9g for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 07:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkykB-0001RI-3k for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 07:57:04 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:49914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkykA-0001Qs-TH for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 07:57:03 -0500 Received: by fxm12 with SMTP id 12so1190494fxm.0 for ; Thu, 03 Feb 2011 04:57:02 -0800 (PST) In-Reply-To: <19637.5991.631077.826124@priss.frightenedpiglet.com> (sand@blarg.net's message of "Tue, 12 Oct 2010 19:20:23 -0700") 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: sand@blarg.net Cc: emacs-orgmode writes: > In org-capture-place-item, excerpted here... > [...] > > the function needs to bound re-search-forward by END, and it needs to > bound re-search-backward by BEG. As it stands right now, if the > target location doesn't contain an item already, the function will > happily pick the nearest list in a preceeding or following entry. If this is still an issue, can you provide a patch for this? It will help me understand what is really at stake. Thanks! -- Bastien