help-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Kiwon Um
Subject: [org-mode] Searching the closest time-stamp and pose to its heading
Date: Wed, 08 Dec 2010 15:34:51 -0000
User-agent: G2/1.0

Dear orgmode 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]