emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Bug: / RET filter no longer auto-excludes FILETAGS [6.33tr


From: Bernt Hansen
Subject: Re: [Orgmode] Bug: / RET filter no longer auto-excludes FILETAGS [6.33trans (release_6.33f.34.gf806)]
Date: Thu, 26 Nov 2009 05:55:02 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Carsten Dominik <address@hidden> 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.

Thanks!

-Bernt




reply via email to

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