[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Making the output of %% functions linkable in agenda views
From: |
Sebold, Charles |
Subject: |
Re: [O] Making the output of %% functions linkable in agenda views |
Date: |
Tue, 03 May 2011 15:17:49 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt) |
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)
- Re: [O] Making the output of %% functions linkable in agenda views, charles . sebold, 2011/05/03
- [O] [Accepted] Making the output of %% functions linkable in agenda views, Carsten Dominik, 2011/05/04
- Re: [O] [Accepted] Making the output of %% functions linkable in agenda views, Bert Burgemeister, 2011/05/06
- Re: [O] [Accepted] Making the output of %% functions linkable in agenda views, Matt Lundin, 2011/05/06
- Re: [O] [Accepted] Making the output of %% functions linkable in agenda views, Bert Burgemeister, 2011/05/07
- Re: [O] [Accepted] Making the output of %% functions linkable in agenda views, Carsten Dominik, 2011/05/08
- Re: [O] [Accepted] Making the output of %% functions linkable in agenda views, Bert Burgemeister, 2011/05/10