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)