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..
- Carsten
Thanks!
-Bernt
- Carsten
_______________________________________________
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