From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: bug in org-habits Date: Tue, 03 Nov 2015 17:45:16 -0500 Message-ID: References: <871tc83p01.fsf@flynn.nichework.com> <84io5j1k5h.fsf@gmail.com> <84611j19hk.fsf@gmail.com> <5638C2A1.2090801@iancu.ch> <87h9l32gfc.fsf@nicolasgoaziou.fr> <87d1vq3mh4.fsf@nicolasgoaziou.fr> <874mh23iw0.fsf@nicolasgoaziou.fr> <878u6eu5wg.fsf@Rainer.invalid> <315DDEDC-1BD9-4680-A8C8-B36821EB931C@gmail.com> <874mh2u2w0.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtkKR-00063J-Mt for emacs-orgmode@gnu.org; Tue, 03 Nov 2015 17:45:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtkKO-0002TR-Gg for emacs-orgmode@gnu.org; Tue, 03 Nov 2015 17:45:23 -0500 Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:35054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtkKO-0002TM-CM for emacs-orgmode@gnu.org; Tue, 03 Nov 2015 17:45:20 -0500 Received: by qgbb65 with SMTP id b65so26678898qgb.2 for ; Tue, 03 Nov 2015 14:45:20 -0800 (PST) In-Reply-To: <874mh2u2w0.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 03 Nov 2015 23:36:15 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: Bastien Guerry , emacs-orgmode@gnu.org >>>>> Achim Gratz writes: > I don't think so. Search for end of entry can be complex in itself and you > would never know if the properties you find by looking back aren't belonging > to an entry one level down unless you scanned the whole span again. Also, > properties can be any size and you have to search for the beginning of the > drawer. Good point. Still, the option I'd still choose would be: org-allow-floating-properties If set to `non-nil', the :PROPERTIES: drawer may begin anywhere within an entry. Note that this will slow down many operations due to the additional scan needed, and may lead to incorrect result if similar text is found elsewhere within an entry, which is the recommended and default value for this variable is nil. John