[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug in org-habits
From: |
Achim Gratz |
Subject: |
Re: [O] bug in org-habits |
Date: |
Tue, 03 Nov 2015 23:36:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
John Wiegley writes:
>>>>>> Jonathan Leech-Pepin <address@hidden> writes:
>> Wouldn't last item in entry scale without issues? Find end of headline
>> (start of next or end of buffer) and search backwards. If first element from
>> end is a property drawer you have it, otherwise you still know there is
>> none.
>
> That sounds even better than what I mentioned about re-search-forward, and
> O(1) time complexity as well.
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.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
- Re: [O] bug in org-habits, (continued)
- Re: [O] bug in org-habits, Nicolas Goaziou, 2015/11/03
- Re: [O] bug in org-habits, John Wiegley, 2015/11/03
- Re: [O] bug in org-habits, Nicolas Goaziou, 2015/11/03
- Re: [O] bug in org-habits, John Wiegley, 2015/11/03
- Re: [O] bug in org-habits, Nicolas Goaziou, 2015/11/03
- Re: [O] bug in org-habits, John Wiegley, 2015/11/03
- Re: [O] bug in org-habits, Achim Gratz, 2015/11/03
- Re: [O] bug in org-habits, John Wiegley, 2015/11/03
- Re: [O] bug in org-habits, Jonathan Leech-Pepin, 2015/11/03
- Re: [O] bug in org-habits, John Wiegley, 2015/11/03
- Re: [O] bug in org-habits,
Achim Gratz <=
- Re: [O] bug in org-habits, John Wiegley, 2015/11/03
- Re: [O] bug in org-habits, Bastien Guerry, 2015/11/05
- Re: [O] bug in org-habits, John Wiegley, 2015/11/04
- [O] Allowing loose ordering in Org files (Was: bug in org-habits), John Wiegley, 2015/11/09
- Re: [O] Allowing loose ordering in Org files, Rasmus, 2015/11/09
- Re: [O] Allowing loose ordering in Org files, John Wiegley, 2015/11/09
- Re: [O] Allowing loose ordering in Org files, Rasmus, 2015/11/09
- Re: [O] Allowing loose ordering in Org files, John Wiegley, 2015/11/09
- Re: [O] Allowing loose ordering in Org files, Achim Gratz, 2015/11/09
- Re: [O] Allowing loose ordering in Org files, John Wiegley, 2015/11/09