emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Martins <danielemc@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: agenda-custom view with timegrid not showing inherited tags
Date: Sat, 5 Sep 2009 21:29:23 -0300	[thread overview]
Message-ID: <6ac505ad0909051729m5c595adatf6c4df12ea68324d@mail.gmail.com> (raw)
In-Reply-To: <6ac505ad0909050636x5596656cl83457da4761a6d91@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1061 bytes --]

PROBLEM SOLVED

I have found the solution hidden in the list:

      (org-agenda-filter-preset '("-WEEKLY"))

2009/9/5 Daniel Martins <danielemc@gmail.com>

> 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>")
>                    )
>       )
>      )
> ...
> )
>

[-- Attachment #1.2: Type: text/html, Size: 1468 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

      reply	other threads:[~2009-09-06  0:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-05 13:36 agenda-custom view with timegrid not showing inherited tags Daniel Martins
2009-09-06  0:29 ` Daniel Martins [this message]

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=6ac505ad0909051729m5c595adatf6c4df12ea68324d@mail.gmail.com \
    --to=danielemc@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).