[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Displaying day-resources (or a secondary time-line)
From: |
Sven Bretfeld |
Subject: |
Re: [Orgmode] Displaying day-resources (or a secondary time-line) |
Date: |
18 May 2010 01:01:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi Carsten and all others
Carsten Dominik <address@hidden> writes:
> You can also use diary sexp entries to also do the others, by checking
> for weekdays. See the examples in the FAQ
>
> http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files
>
> For example (untested)
>
> ** Secretary present 8:00-12:00
> <%%(and (member (calendar-day-of-week date) '(1 3)))>
>
> As for sorting, I guess the easiest would be use a special tag and
> then a custom sorting strategy function in org-agenda-cmp-user-defined
> to sort these to the end of the agenda display.
Thanks for all your suggestions. I didn't know about the power of
diary-sexps. Thanks to Memnon, I have also learned about the
org-agenda-skip-function which I now have used to construct a solution
that works fine for me:
(setq org-agenda-custom-commands
'(("q" "Agenda and Metadata"
((agenda "" ((org-agenda-skip-function '(org-agenda-skip-subtree-if
'regexp ":META:"))))
(agenda "" ((org-agenda-skip-function '(org-agenda-skip-subtree-if
'notregexp
":META:"))(org-agenda-overriding-header "Today's resources (metadata): ")))
(tags "MIT")
(tags "BIGROCK")))))
I would prefer to have this Agenda View bound to the standard C-aa. Is
that possible? Setting "a" via org-agenda-custom-commands results in an
error at starttime. This keybinding seems to be hard-coded.
Greetings,
Sven