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: Carsten Dominik
Subject: Re: [Orgmode] Bug: / RET filter no longer auto-excludes FILETAGS [6.33trans (release_6.33f.34.gf806)]
Date: Thu, 26 Nov 2009 12:03:24 +0100


On Nov 26, 2009, at 11:55 AM, Bernt Hansen wrote:

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.

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..

- Carsten


Thanks!

-Bernt

- Carsten







reply via email to

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