emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastjan Trepca" <trepca@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Custom agenda view
Date: Sat, 2 Feb 2008 20:27:45 +0100	[thread overview]
Message-ID: <cd329af80802021127h359ee90dq4bcd93c899394ffa@mail.gmail.com> (raw)
In-Reply-To: <cd329af80802020939t2e3631c7jd0c8a14b7235800d@mail.gmail.com>

Nevermind. Finally got through the elisp errors :)

(org-add-agenda-custom-command
     '("w" "TODO"
       ((agenda "TODO" ((org-agenda-skip-function
						 (lambda nil
						   (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\:OFFICE\\:")
						   )
						 ))
				)  (tags "OFFICE/NEXT"))))

On 2/2/08, Sebastjan Trepca <trepca@gmail.com> wrote:
> Hi,
>
> I'm trying to create a custom view that should display agenda for only
> items that are scheduled today and include a specific tag together
> with tasks that has NEXT todo keyword and the same tag.
>
> Currently I have this:
>
> ("h" "Home tasks" ((agenda) (tags "HOME/NEXT")))
>
> The problem is that agenda, it shows all scheduled tasks and not only
> those with HOME tag. I tried with org-agenda-skip-entry-if but I can't
> make it work.
>
> Thanks.
>
> --
> Sebastjan
>


-- 
Sebastjan

  reply	other threads:[~2008-02-02 19:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 17:39 Custom agenda view Sebastjan Trepca
2008-02-02 19:27 ` Sebastjan Trepca [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-24 11:10 custom " Yuri Goncharov
2009-12-24 11:20 ` Manish
2009-12-24 11:21 ` Matt Lundin
2009-12-24 11:36   ` Yuri Goncharov

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=cd329af80802021127h359ee90dq4bcd93c899394ffa@mail.gmail.com \
    --to=trepca@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).