From: Kiwon Um <um.kiwon@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Searching the closest time-stamp and pose to its heading
Date: Sun, 7 Nov 2010 00:30:31 +0900 [thread overview]
Message-ID: <AANLkTi=NVm=1MbRPH595eD6O-0_7WAVkn=Vc3bZBd0WR@mail.gmail.com> (raw)
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 other threads:[~2010-11-06 15:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=NVm=1MbRPH595eD6O-0_7WAVkn=Vc3bZBd0WR@mail.gmail.com' \
--to=um.kiwon@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).