[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org google weather
From: |
Konrad Hinsen |
Subject: |
Re: [O] org google weather |
Date: |
Sun, 6 Mar 2011 12:20:08 +0100 |
On 6 Mar 2011, at 11:33, Konrad Hinsen wrote:
Fortunately, because apparently org-agenda-skip-function is not
called for diary-style entries. But I'll continue exploring that
approach for other types of entries.
That was relatively easy as well:
(defun org-agenda-day-view-only-filter ()
(let ((subtree-end (save-excursion (org-end-of-subtree t)))
(day-view-only (org-entry-get nil "day-view-only" t)))
(if day-view-only
(if (eq span 'day)
nil
subtree-end)
nil)))
(setq org-agenda-skip-function-global 'org-agenda-day-view-only-filter)
The agenda items eliminated from the week views are marked with:
:PROPERTIES:
:day-view-only: t
:END:
I put the filter on the global skip function, but others may prefer to
use a custom agenda view.
Konrad.
- Re: [O] org google weather, (continued)
- Re: [O] org google weather, Michael Markert, 2011/03/05
- Re: [O] org google weather, Nick Dokos, 2011/03/05
- Re: [O] org google weather, Matthew Sauer, 2011/03/05
- Re: [O] org google weather, Nick Dokos, 2011/03/05
- Re: [O] org google weather, Konrad Hinsen, 2011/03/05
- Re: [O] org google weather, Bastien, 2011/03/05
- Re: [O] org google weather, Konrad Hinsen, 2011/03/05
- Re: [O] org google weather, brian powell, 2011/03/05
- Re: [O] org google weather, Nick Dokos, 2011/03/05
- Re: [O] org google weather, Konrad Hinsen, 2011/03/06
- Re: [O] org google weather,
Konrad Hinsen <=
- Re: [O] org google weather, Sébastien Vauban, 2011/03/04
- Re: [O] org google weather, Nick Dokos, 2011/03/04
- Re: [O] org google weather, Simon Brown, 2011/03/04