From: Charles.Sebold@lcms.org (Sebold, Charles)
To: Matt Lundin <mdl@imapmail.org>
Cc: "Sebold, Charles" <Charles.Sebold@lcms.org>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Making the output of %% functions linkable in agenda views
Date: Tue, 03 May 2011 15:17:49 -0500 [thread overview]
Message-ID: <yuczkn3pmhe.fsf@lcms.org> (raw)
In-Reply-To: <8762prtul0.fsf@fastmail.fm> (Matt Lundin's message of "Tue, 03 May 2011 16:09:15 -0400")
On 3 May 2011, Matt Lundin wrote:
> I should clarify. I, too, can see the link in the agenda. I had been
> under the impression that only diary sexps will appear in the agenda,
> but it seems that a generic sexp that returns a string will also show
> up.
>
> I'm not sure whether this is a feature or a bug.
OK, I see now. I built this based on the behavior of google-weather-el,
which includes a function for inclusion in agendas.
I think it's a feature; in my (real-world) case, my function runs based
on the value of the local variable `date' (apparently set when the
agenda is built) and provides a correspondingly different result for
every day's agenda. That is legitimately useful. Google-weather-el
works the same way. See:
(info "(org)Weekly/daily agenda")
...for examples of org-mode itself using this (e.g., for
org-calendar-holiday, org-bbdb-anniversary, etc.).
--
Charles Sebold 3rd of May, 2011
GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
No Gnus v0.18 | Org-mode version 7.5 (release_7.5.246.ga35b4)
next prev parent reply other threads:[~2011-05-03 20:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 20:52 Making the output of %% functions linkable in agenda views Sebold, Charles
2011-05-03 16:59 ` charles.sebold
2011-05-03 17:28 ` Nick Dokos
2011-05-03 19:56 ` Matt Lundin
2011-05-03 20:04 ` Sebold, Charles
2011-05-03 20:09 ` Matt Lundin
2011-05-03 20:17 ` Sebold, Charles [this message]
2011-05-03 20:28 ` Nick Dokos
2011-05-03 20:47 ` Matt Lundin
2011-05-04 7:43 ` [Accepted] " Carsten Dominik
2011-05-06 7:49 ` Bert Burgemeister
2011-05-06 11:47 ` Matt Lundin
2011-05-07 15:20 ` Bert Burgemeister
2011-05-08 20:23 ` Carsten Dominik
2011-05-10 7:57 ` Bert Burgemeister
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=yuczkn3pmhe.fsf@lcms.org \
--to=charles.sebold@lcms.org \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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).