emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Saurabh Agrawal <mailsaurabh@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: org-agenda-skip-function not working
Date: Sun, 07 Nov 2010 15:07:38 +0100	[thread overview]
Message-ID: <87aalldy6t.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <AANLkTikjf0Kt+PWaFKf7q+Sk54EeLVbjJO+P7FwrtoyF@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1719 bytes --]

At Sat, 9 Oct 2010 13:35:54 +0530,
Saurabh Agrawal wrote:
> I am using org-mode *daily* since last two years and absolutely love it. I am very grateful to Charles and other core team
> members.
> 
> Just recently, I made some changes to my org configuration as I had making some changes in my daily work framework. That
> broke a part of my configuration.
> 
> (tags-todo "School"
>                         ((org-agenda-skip-fuction '(org-agenda-skip-entry-if 'scheduled))
>                          (org-agenda-overriding-header "School Work for today: ")))
> 
> Particularly, agenda entries which are scheduled are not being skipped. A typical such entry is as follows:
> 
> ** TODO Make weekly test papers for next week, classes 9-12, for Maths, Sci etc.
>    SCHEDULED: <2010-10-09 Sat +1w>
> 
> Earlier after a lot of effort, I had created a regular expression check which used to skip such entries. Of
> course, org-agenda-skip-entry-if 'scheduled is much better than that.

I could not reproduce this behaviour, the skip function is working
well with

Org-mode version 7.02trans (release_7.3.29.gd96c)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-08-14 on raven, modified by Debian

And using this custom agenda command:

(setq org-agenda-custom-commands
      '(("X" "Test" tags-todo "School"
	 ((org-agenda-skip-function '(org-agenda-skip-entry-if 'scheduled))))))

For this minimal example file:

* TODO Headline one						     :School:
  SCHEDULED: <2010-11-07 So +1w>


Does the problem still exist?

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

      reply	other threads:[~2010-11-07 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09  8:05 org-agenda-skip-function not working Saurabh Agrawal
2010-11-07 14:07 ` David Maus [this message]

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=87aalldy6t.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailsaurabh@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).