emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Searching the closest time-stamp and pose to its heading


From: Kiwon Um
Subject: [Orgmode] Searching the closest time-stamp and pose to its heading
Date: Sun, 7 Nov 2010 00:30:31 +0900

Dear orgmode team and users,

I'm now writing a time journal function using org-mode. And I have a
question for this.

When there are many timestamps in buffer, how can I put my cursor on the
heading having the time-stamp closest to the current time or a given
time.

For instance, there are org contents as follows:

...
*** Item1
   CLOCK: [2010-11-06 Sat 16:45]--[2010-11-06 Sat 17:00] =>  15

*** Item2
   CLOCK: [2010-11-06 Sat 17:00]--[2010-11-06 Sat 17:15] =>  15

*** Item3
   CLOCK: [2010-11-06 Sat 17:15]--[2010-11-06 Sat 17:30] =>  15
...

When the current time is [2010-11-06 Sat 17:03], I want to write elisp
codes moving the cursor to the Item2 heading.

I would really appreciate it if you could give any codes or information
for this. Thanks.

Sincerely,
Kiwon Um



reply via email to

[Prev in Thread] Current Thread [Next in Thread]