Hi Nicolas, Thanks a lot for your response.
On Fri, 05 Aug 2011 10:53:43 +0200 Nicolas Goaziou <n.goaz...@gmail.com> 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.