emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Searching the closest time-stamp and pose to its heading
@ 2010-11-06 15:30 Kiwon Um
  0 siblings, 0 replies; only message in thread
From: Kiwon Um @ 2010-11-06 15:30 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-06 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-06 15:30 Searching the closest time-stamp and pose to its heading Kiwon Um

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).