From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giorgio Valoti Subject: Re: Notes reviews with sparse trees Date: Tue, 25 Jan 2011 17:09:51 +0100 Message-ID: <98FD13EA-6404-4415-A08C-A5F96A519C79@me.com> References: <11D6DC00-9527-41AC-9067-F0D126322AF3@me.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=35614 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhlTL-00087b-QJ for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 11:10:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhlTJ-0008IC-9p for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 11:10:23 -0500 Received: from asmtpout030.mac.com ([17.148.16.105]:39567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhlTJ-0008HI-5g for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 11:10:21 -0500 Received: from alichino.refactor.it (93-62-99-244.ip22.fastwebnet.it [93.62.99.244]) by asmtp030.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LFL0058668F4600@asmtp030.mac.com> for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 08:09:54 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Il giorno 25/gen/2011, alle ore 09.05, suvayu ali ha scritto: > On Tue, Jan 25, 2011 at 7:00 AM, Giorgio Valoti = wrote: >> The problem is that I can=92t get a sparse tree using these = timestamps because it works only with deadlines and schedules. Does = anybody know how to work around this limitation, short of using a = regexp? >=20 > Well my suggestions is with using regexps, not what you asked. In any > org buffer look at this variable: >=20 >=20 > org-deadline-time-regexp is a variable defined in `org.el'. > Its value is "\\]+\\)>" > Local in buffer notes.org; global value is nil >=20 > Automatically becomes buffer-local when set in any fashion. >=20 > Documentation: > Matches the DEADLINE keyword together with a time stamp. >=20 >=20 > Now you could put your time stamps with a special tag, say "LAST:". > You can choose to add it as keyword and fontify with the same face as > DEADLINE, org-special-keyword-face. Then you can write your own defun > using org-sparse-tree and a regex based on the above which uses the > LAST: keyword to find the time stamps just like DEADLINEs. Does that > work for you? I didn=92t think about using custom functions but it should work.=20 Thank you a lot. -- Giorgio Valoti