Il giorno 25/gen/2011, alle ore 09.05, suvayu ali ha scritto:

> On Tue, Jan 25, 2011 at 7:00 AM, Giorgio Valoti <giorgi...@me.com> wrote:
>> The problem is that I can’t 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?
> 
> 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 "\\<DEADLINE: *<\\([^>]+\\)>"
> 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?

I didn’t think about using custom functions but it should work. 

Thank you a lot.


--
Giorgio Valoti


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to