From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Bug: / RET filter no longer auto-excludes FILETAGS [6.33trans (release_6.33f.34.gf806)] Date: Thu, 26 Nov 2009 05:55:02 -0500 Message-ID: <87r5rl4ku1.fsf@gollum.intra.norang.ca> References: <200911251854.nAPIsQjM001980@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDc0F-0001OL-Hk for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 05:55:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDc0B-0001L2-HO for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 05:55:10 -0500 Received: from [199.232.76.173] (port=60506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDc0B-0001Km-51 for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 05:55:07 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:50914) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDc0A-0004R1-RD for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 05:55:06 -0500 In-Reply-To: (Carsten Dominik's message of "Thu\, 26 Nov 2009 07\:02\:00 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik 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