From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: agenda-custom view with timegrid not showing inherited tags Date: Sat, 5 Sep 2009 10:36:29 -0300 Message-ID: <6ac505ad0909050636x5596656cl83457da4761a6d91@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0686540822==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjvRQ-0002we-Cs for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 09:36:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjvRO-0002wS-WC for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 09:36:31 -0400 Received: from [199.232.76.173] (port=58621 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjvRO-0002wP-Ng for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 09:36:30 -0400 Received: from qw-out-1920.google.com ([74.125.92.146]:34316) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjvRO-0003b4-Bb for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 09:36:30 -0400 Received: by qw-out-1920.google.com with SMTP id 5so539395qwf.24 for ; Sat, 05 Sep 2009 06:36:29 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============0686540822== Content-Type: multipart/alternative; boundary=000feaeba3ba4504370472d4b46f --000feaeba3ba4504370472d4b46f Content-Type: text/plain; charset=ISO-8859-1 I want to create a custom agenda view without all my :WEEKLY: tags appts to focus on extraordinary appointmens on the week. I could not do that directly because most :WEEKLY: tags were inherited. I did a hack by eliminating the regexp "\\+1w>" common to all my weekly todos but combinations with other inherited tags was not possible How can I do this in a more elegante way? Daniel (setq org-agenda-custom-commands '( ... ("l" "cLeaning Weekly" agenda "" ((org-agenda-ndays 7) ;; agenda will start in week view (org-agenda-repeating-timestamp-show-all t) ;; ensures that repeating events appear on all relevant dates (org-agenda-log-mode-items '(state)) (org-agenda-skip-function '(org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "\\+1w>") ) ) ) ... ) --000feaeba3ba4504370472d4b46f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I want to create a custom agenda view without all my :WEEKLY: tags appts to= focus on extraordinary appointmens on the week.

I could not do that= directly because most :WEEKLY: tags were inherited.


I did a hac= k=A0 by eliminating the regexp "\\+1w>" common to all my weekl= y todos but combinations with other=A0 inherited tags was not possible

How can I do this in a more elegante way?

Daniel

(setq o= rg-agenda-custom-commands
=A0=A0=A0=A0=A0 '(
...
=A0=A0=A0 (&q= uot;l" "cLeaning Weekly"
=A0=A0=A0 =A0agenda ""=
=A0=A0=A0 =A0((org-agenda-ndays 7)=A0=A0=A0=A0=A0=A0=A0=A0=A0 ;; agenda= will start in week view
=A0=A0=A0 =A0 (org-agenda-repeating-timestamp-show-all t)=A0=A0 ;; ensures = that repeating events appear on all relevant dates
=A0=A0=A0 =A0 (org-ag= enda-log-mode-items '(state))
=A0=A0=A0 =A0 (org-agenda-skip-functio= n '(org-agenda-skip-entry-if
=A0=A0=A0 'scheduled 'deadline 'regexp "\\+1w>")=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 )
=A0=A0=A0 =A0 )
= =A0=A0=A0 =A0)
...
)
--000feaeba3ba4504370472d4b46f-- --===============0686540822== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0686540822==--