From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Notes reviews with sparse trees Date: Tue, 25 Jan 2011 09:05:33 +0100 Message-ID: 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=40869 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhduX-0007F0-CT for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 03:05:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhduV-0002hx-DX for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 03:05:57 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:46297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhduV-0002hm-5V for emacs-orgmode@gnu.org; Tue, 25 Jan 2011 03:05:55 -0500 Received: by fxm12 with SMTP id 12so5188981fxm.0 for ; Tue, 25 Jan 2011 00:05:54 -0800 (PST) In-Reply-To: <11D6DC00-9527-41AC-9067-F0D126322AF3@me.com> 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: Giorgio Valoti Cc: emacs-orgmode@gnu.org 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 be= cause it works only with deadlines and schedules. Does anybody know how to = work around this limitation, short of using a regexp? Well my suggestions is with using regexps, not what you asked. In any org buffer look at this variable: org-deadline-time-regexp is a variable defined in `org.el'. Its value is "\\]+\\)>" Local in buffer notes.org; global value is nil Automatically becomes buffer-local when set in any fashion. Documentation: Matches the DEADLINE keyword together with a time stamp. 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? --=20 Suvayu Open source is the future. It sets us free.