From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: bug in org-habits Date: Wed, 04 Nov 2015 14:01:20 +0100 Message-ID: <87ziytyl3z.fsf@free.fr> 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]:41273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtxhU-000447-3M for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 08:02:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtxhO-0006aJ-22 for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 08:02:04 -0500 Received: from box.bzg.io ([46.101.205.100]:43985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtxhN-0006Zy-Pz for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 08:01:58 -0500 In-Reply-To: (John Wiegley's message of "Tue, 03 Nov 2015 17:45:16 -0500") 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: John Wiegley Cc: Achim Gratz , emacs-orgmode@gnu.org Hi John and Achim, John Wiegley writes: >>>>>> 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. I think Achim's points above are very valid, and the flexibility offered by the option above should be very carefully examined. I'm trying hard to put aside one day or two for org-mode next week, I'll come back on this issue then. Thanks, -- Bastien