emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org-clock: Fix CLOCK_INTO_DRAWER property check


From: Kyle Meyer
Subject: Re: [O] [PATCH] org-clock: Fix CLOCK_INTO_DRAWER property check
Date: Thu, 16 Oct 2014 17:20:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Nicolas Goaziou <address@hidden> wrote:
> Kyle Meyer <address@hidden> writes:
> Actually, it doesn't work either. Under some circumstances (e.g, when
> p is a drawer name and q is "t"), q will have precedence over p, which
> is not desirable.

Good point.

> What about this?
>
>   (cond ((equal p "nil") nil)
>         ((equal p "t") t)
>         (p)
>         ((equal q "nil") nil)
>         ((equal q "t") t)
>         (q)
>         (t org-clock-into-drawer))

Nice. Thanks for fixing my fixes.

Attachment: 0001-org-clock-Fix-CLOCK_INTO_DRAWER-property-check.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]