emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Inline tasks in agenda search
Date: Fri, 5 Aug 2011 11:29:23 +0200	[thread overview]
Message-ID: <20110805112923.384e34e5@kuru.homelinux.net> (raw)
In-Reply-To: <87ei10grxk.fsf@gmail.com>

Hi Nicolas,

Thanks a lot for your response.

On Fri, 05 Aug 2011 10:53:43 +0200
Nicolas Goaziou <n.goaziou@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.

  reply	other threads:[~2011-08-05  9:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 15:57 Inline tasks in agenda search suvayu ali
2011-08-01 16:49 ` suvayu ali
2011-08-03  1:32   ` suvayu ali
2011-08-05  8:53     ` Nicolas Goaziou
2011-08-05  9:29       ` Suvayu Ali [this message]
2011-08-05 10:00         ` Nicolas Goaziou
2011-08-05 11:23           ` suvayu ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110805112923.384e34e5@kuru.homelinux.net \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).