From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: nicholas.dokos@hp.com, Bastien <bzg@altern.org>,
Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: org google weather
Date: Sun, 6 Mar 2011 12:20:08 +0100 [thread overview]
Message-ID: <9FCA50E5-1338-43DC-81F2-A9EF184468C8@fastmail.net> (raw)
In-Reply-To: <90C021BE-F916-4C6B-B041-F2FCB859443D@fastmail.net>
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.
next prev parent reply other threads:[~2011-03-06 11:20 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 21:37 org google weather Simon Brown
2011-03-04 8:40 ` Ian Barton
2011-03-04 9:08 ` Sébastien Vauban
2011-03-04 11:27 ` Ian Barton
2011-03-04 15:29 ` brian powell
2011-03-04 16:38 ` Nick Dokos
2011-03-04 19:28 ` Bastien
2011-03-04 19:42 ` Konrad Hinsen
2011-03-04 20:26 ` Nick Dokos
2011-03-05 10:19 ` Bastien
2011-03-05 11:44 ` Matthew Sauer
2011-03-05 13:26 ` Konrad Hinsen
2011-03-05 14:57 ` Matthew Sauer
2011-03-05 15:15 ` Michael Markert
2011-03-05 15:23 ` Nick Dokos
2011-03-05 17:46 ` Matthew Sauer
2011-03-05 19:57 ` Nick Dokos
2011-03-05 14:29 ` Konrad Hinsen
2011-03-05 17:07 ` Bastien
2011-03-05 20:35 ` Konrad Hinsen
2011-03-05 21:19 ` brian powell
2011-03-05 23:51 ` Nick Dokos
2011-03-06 10:33 ` Konrad Hinsen
2011-03-06 11:20 ` Konrad Hinsen [this message]
2011-03-04 23:03 ` Sébastien Vauban
2011-03-04 23:25 ` Nick Dokos
2011-03-04 21:28 ` Simon Brown
2011-03-04 22:05 ` Nick Dokos
2011-03-04 22:29 ` Nick Dokos
2011-03-04 22:43 ` Simon Brown
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9FCA50E5-1338-43DC-81F2-A9EF184468C8@fastmail.net \
--to=konrad.hinsen@fastmail.net \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.