emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Varnit Suri" <vsuri@Brocade.COM>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: RE: How to view tasks with certain Property tag in Agenda view
Date: Mon, 27 Apr 2009 17:33:03 -0700	[thread overview]
Message-ID: <57AC2FA1761300418C7AB8F3EA493C9702E31550@HQ-EXCH-5.corp.brocade.com> (raw)
In-Reply-To: <e7cdbe30904210012pd494c00pd77df133f71abc4c@mail.gmail.com>

Ok, I went through Matt Lundin's agenda file. While he doesn't do what I
was trying to, it did give me a hint about how to implement a simple
grep on every Agenda entry, and then include only the lines that match a
certain criteria, as part of the main Agenda view.

(The current problem with the examples in the two links below is that
they display the entire Agenda, and then the matching tags separately).

So here's my code:

(setq org-agenda-custom-commands
      '(("h" "Agenda and Home-related tasks"
	 ((agenda "" ((org-agenda-skip-function
'(org-agenda-skip-entry-if 'regexp ":HOME:"))))))))

The only problem I 'm left to solve is, that this skips entries with the
tag HOME, rather than including them. I 'm only trying a way to do the
inverse match (ie skip entries that don't match HOME), but I havent been
able to nail the syntax.

Any ideas?

Thanks,

Varnit
 

-----Original Message-----
From: Manish [mailto:mailtomanish.sharma@gmail.com] 
Sent: Tuesday, April 21, 2009 12:12 AM
To: Varnit Suri
Cc: emacs-orgmode@gnu.org
Subject: Re: [Orgmode] How to view tasks with certain Property tag in
Agenda view


  On Tue, Apr 21, 2009 at 6:11 AM, Varnit Suri wrote:
  > Thanks. I agree this is prolly a better approach.
  >
  > I did get things to work (see code in post-script) a bit using
  > your suggestion and:
  > http://orgmode.org/manual/Block-agenda.html#Block-agenda
  > http://orgmode.org/manual/Storing-searches.html#Storing-searches
  >
  > But maybe I wasn't clear enough in describing what I 'm trying to
  > do.
  >
  > I 'd like to parse the weekly Agenda (C-c a a) to show only those
  > items that meet the specified criteria (eg, certain tags,
  > todo-tags, or properties). The advantage is that that shows the
  > relevant items, will complete details of dates, etc. Its sort of
  > running a grep on the weekly Agenda output.
  >
  > Any ideas are appreciated.

Have you seen http://orgmode.org/worg/org-customization-survey.php ?
Check out Matthew Lundin's agenda customizations in particular.  It
the awesomest use of agenda customization that I have ever seen.

-- 
Manish

  reply	other threads:[~2009-04-28  0:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20  1:10 How to view tasks with certain Property tag in Agenda view Varnit Suri
2009-04-20  3:07 ` Nick Dokos
2009-04-20  4:23 ` Manish
2009-04-21  0:41   ` Varnit Suri
2009-04-21  7:12     ` Manish
2009-04-28  0:33       ` Varnit Suri [this message]
2009-04-28  5:25         ` Matthew Lundin
2009-04-29  2:31           ` Varnit Suri

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=57AC2FA1761300418C7AB8F3EA493C9702E31550@HQ-EXCH-5.corp.brocade.com \
    --to=vsuri@brocade.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@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).