From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Making the output of %% functions linkable in agenda views Date: Tue, 03 May 2011 16:28:55 -0400 Message-ID: <9132.1304454535@alphaville.americas.hpqcorp.net> References: <87aaf3tv5l.fsf@fastmail.fm> <8762prtul0.fsf@fastmail.fm> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHMDM-0000WL-5k for emacs-orgmode@gnu.org; Tue, 03 May 2011 16:29:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHMDK-00078O-OF for emacs-orgmode@gnu.org; Tue, 03 May 2011 16:29:00 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:6143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHMDK-000780-ER for emacs-orgmode@gnu.org; Tue, 03 May 2011 16:28:58 -0400 In-Reply-To: Message from Matt Lundin of "Tue, 03 May 2011 16:09:15 EDT." <8762prtul0.fsf@fastmail.fm> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: "Sebold, Charles" , nicholas.dokos@hp.com, emacs-orgmode 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. > I *think* it's a feature but I'm really not sure: the regexp is just "^&?%%(" so it does not seem to care what comes after it. Various things (like the sunrise/sunset hacks) use it, so if it is deemed to be a bug-to-be-fixed, they will break when it *is* fixed :-) So is a diary sexp just something that matches "^&?%%( *diary" ? Nick