[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Display most recent log item in Agenda
From: |
Eric Abrahamsen |
Subject: |
Re: [O] [RFC] Display most recent log item in Agenda |
Date: |
Sun, 21 Dec 2014 12:08:45 +0800 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric Abrahamsen <address@hidden> writes:
>
>> I keep hammering on this but... There's still a bug in
>> `org-log-beginning', I think maybe the same one as before. Say it's
>> called on an empty entry, or one that only contains a property drawer
>> and/or a planning line, and there's another entry immediately after it,
>> no blank line. Then we reach this line:
>>
>> (if (org-at-heading-p) (point)
>>
>> The test returns true because we're already on the next headline.
>> (point) is returned as the place to put the new note, without checking
>> if a drawer should be inserted, too. That means the first note won't go
>> in a drawer, but all subsequent ones do.
>>
>> I came up with something that works, but I look forward to seeing a more
>> elegant solution!
>
> You're right. Thanks for the patch. I applied something slightly
> different, however.
It's always interesting to see your tweaks...
- Re: [O] [RFC] Display most recent log item in Agenda, (continued)
- Re: [O] [RFC] Display most recent log item in Agenda, Eric Abrahamsen, 2014/12/14
- Re: [O] [RFC] Display most recent log item in Agenda, Nicolas Goaziou, 2014/12/14
- Re: [O] [RFC] Display most recent log item in Agenda, Eric Abrahamsen, 2014/12/14
- Re: [O] [RFC] Display most recent log item in Agenda, Nicolas Goaziou, 2014/12/15
- Re: [O] [RFC] Display most recent log item in Agenda, Eric Abrahamsen, 2014/12/15
- Re: [O] [RFC] Display most recent log item in Agenda, Nicolas Goaziou, 2014/12/16
- Re: [O] [RFC] Display most recent log item in Agenda, Eric Abrahamsen, 2014/12/17
- Re: [O] [RFC] Display most recent log item in Agenda, Nicolas Goaziou, 2014/12/20
- Re: [O] [RFC] Display most recent log item in Agenda, Eric Abrahamsen, 2014/12/19
- Re: [O] [RFC] Display most recent log item in Agenda, Nicolas Goaziou, 2014/12/20
- Re: [O] [RFC] Display most recent log item in Agenda,
Eric Abrahamsen <=
Re: [O] [RFC] Display most recent log item in Agenda, Eric Abrahamsen, 2014/12/15