Carsten Dominik <carsten.domi...@gmail.com> writes:

> On Nov 26, 2009, at 11:55 AM, Bernt Hansen wrote:
>
>> Carsten Dominik <carsten.domi...@gmail.com> writes:
>>
>>> On Nov 25, 2009, at 7:54 PM, Bernt Hansen wrote:
>>>
>>>>
>>>> My auto exclude functions are inline below:
>>>>
>>>> (defun bh/org-auto-exclude-function (tag)
>>>> (and (cond
>>>>    ((string= tag "@home")
>>>>     (bh/working-p))
>>>>    ((string= tag "@office")
>>>>     (not (bh/working-p)))
>>>>    ((string= tag "MARK")
>>>>     (not (bh/mark-p)))
>>>>    ((or (string= tag "@errand") (string= tag "PHONE"))
>>>>     (let ((hour (nth 2 (decode-time))))
>>>>       (or (< hour 8) (> hour 21)))))
>>>>      (concat "-" tag)))
>>>>
>>>
>>> do you get it back to when when replacing "MARK" with "mark" and
>>> "PHONE" wiht "phone"?
>>
>> Yes.  When I make the tags lowercase in the function above it works
>> again.
>
> The docstring of org-agenda-auto-exclude-function does mention this,
> but it is indeed a change from John's original code - so it was not in
> the docstring when you wrote this function..

Ah!  Oops.  I was bad and didn't read the contents of commit c6186f4
(Check all represented tags in agenda for auto-exclusion, 2009-11-20)
before submitting the bug report.  I'll try to remember to do that next
time.

This change should probably be described in the upcoming release notes
just so anyone else that already has the function defined won't get
caught by it but I'm sure you're already planning to do that :)
I can't find anything in the Changelog mentioning the case change.

Thanks for the clarification!

Bernt


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to