[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Inline tasks in agenda search
From: |
Suvayu Ali |
Subject: |
Re: [O] Inline tasks in agenda search |
Date: |
Fri, 5 Aug 2011 11:29:23 +0200 |
Hi Nicolas,
Thanks a lot for your response.
On Fri, 05 Aug 2011 10:53:43 +0200
Nicolas Goaziou <address@hidden> wrote:
> #+begin_src org
> (and (featurep 'org-inlinetask)
> (let ((case-fold-search t))
> (org-looking-at-p (concat (org-inlinetask-outline-regexp)
> "end[ \t]*$")))) #+end_src
I tried this:
(setq org-agenda-skip-function '(and (featurep 'org-inlinetask)
(let ((case-fold-search t))
(org-looking-at-p (concat
(org-inlinetask-outline-regexp) "end[ \t]*$")))))
But performing a search where an END entry would otherwise show up
causes the following error. A search without END in the result
completes cleanly though.
Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p t)
org-agenda-skip()
byte-code(..)
org-scan-tags(agenda (and (progn (setq org-cached-props nil) (member "Dsh"
tags-list)) t) nil)
byte-code(..)
org-tags-view(nil)
call-interactively(org-tags-view)
byte-code(..)
org-agenda(nil)
call-interactively(org-agenda nil nil)
--
Suvayu
Open source is the future. It sets us free.