From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Bj=C3=B6rn_Steffen?= Subject: Re: Only show a certain weekday in the agenda view Date: Thu, 4 Feb 2010 10:51:42 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcyNj-00007m-Lh for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 04:52:15 -0500 Received: from [199.232.76.173] (port=56365 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcyNi-00006k-NM for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 04:52:14 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcyNh-0002L7-Lv for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 04:52:14 -0500 Received: from gwse.ethz.ch ([129.132.178.237]:46417) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.60) (envelope-from ) id 1NcyNh-0002KX-9k for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 04:52:13 -0500 Received: by fxm8 with SMTP id 8so758359fxm.26 for ; Thu, 04 Feb 2010 01:51:42 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manish Cc: emacs-orgmode 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=3D"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=C3=B6rn