From: "Björn Steffen" <bjoern.steffen@inf.ethz.ch>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Only show a certain weekday in the agenda view
Date: Thu, 4 Feb 2010 10:51:42 +0100 [thread overview]
Message-ID: <fe11dd2a1002040151p4c4a3d5by41a90d2dcd33b2c7@mail.gmail.com> (raw)
In-Reply-To: <e7cdbe31002032214x30f6e500hefa356fdbab4cfee@mail.gmail.com>
Hi Manish,
> I am guessing you probably want to see items related to your classes.
Exactly. To get an overview for the next couple of weeks.
> In that case if you tag the items related to classes, then you can
> filter based on the tag ('/' in agenda or timeline view or 'C-c a m
> "tag"').
Good idea.
All events specific to my classes are in a file with #+CATEGORY: MNG.
So I first tried to filter with '/' in agenda view on 'CATEGORY="MNG"'
but that didn't work.
Probably this works only with tags. Therefore I changed my org-file
such that I have now a single headline as a parent for all these
events. I gave this parent headline the tag :MNG:. Now I can filter in
the agenda view based on this tag.
This gives me more or less what I was looking for. So I configured the
following custom agenda command:
Org Agenda Custom Commands
Choice: Value Menu Single command:
Access Key(s) : u
[X] Description: Unterricht am MNG
Choice: Value Menu Agenda
Match (only for some commands):
Local settings for this command. Remember to quote values:
INS DEL Setting: Value Menu Heading for this block:
org-agenda-overriding-header
Headline: Unterricht am MNG
INS DEL Setting: Value Menu Number of days in agenda:
org-agenda-ndays
Integer: 28
INS DEL Setting: Value Menu Start on day of week:
org-agenda-start-on-weekday
Choice: Value Menu Weekday No.: 1
INS DEL Setting: Value Menu Any variable:
Variable: org-agenda-show-all-dates
Value (sexp): nil
INS DEL Setting: Value Menu Tags filter preset:
org-agenda-filter-preset
List:
Repeat:
INS DEL +tag or -tag: +MNG
INS
Thanks for your help,
Björn
next prev parent reply other threads:[~2010-02-04 9:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-29 16:35 Only show a certain weekday in the agenda view Björn Steffen
2010-02-01 9:48 ` Carsten Dominik
2010-02-01 9:57 ` Björn Steffen
2010-02-02 9:41 ` Darlan Cavalcante Moreira
2010-02-04 6:14 ` Manish
2010-02-04 9:51 ` Björn Steffen [this message]
2010-02-05 14:09 ` Bernt Hansen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe11dd2a1002040151p4c4a3d5by41a90d2dcd33b2c7@mail.gmail.com \
--to=bjoern.steffen@inf.ethz.ch \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.