emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Shawn Willden <swillden@google.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Easily adding notes to a TODO item
Date: Tue, 26 Apr 2011 12:40:00 -0400	[thread overview]
Message-ID: <87wrihrmov.fsf@fastmail.fm> (raw)
In-Reply-To: <BANLkTi=g4tR42sOb+tRq3XRR98xu9eev6Q@mail.gmail.com> (Shawn Willden's message of "Tue, 26 Apr 2011 10:14:22 -0600")

Shawn Willden <swillden@google.com> writes:

> Hi everyone,
>
> I use an org file to track my work.  It contains top-level headers
> corresponding to projects with sub-headers corresponding to
> sub-projects and/or tasks.  I clock in and out on individual TODOs to
> track time -- all pretty normal, I think.
> I'd also like to be able to easily take notes using something like
> "remember", but with the notes by default automatically appended to
> the text under the task I'm currently clocked into, with an attached
> timestamp.  Right now I'm manually positioning my cursor in the right
> place, then using "C-u C-c . <RET>" to create a timestamp.  This
> works, but it's cumbersome enough that I don't take as many notes as I
> should.
>
> So, I'd really like to be able to hit "C-c C-r" (or something) from
> anywhere in EMACS, type my note, and have it automatically go the
> right place, with a timestamp.  What would make it really awesome is
> if I could also have a shortcut that would place the name of the file
> I was editing when I hit "C-c C-r" in the note.
>

You can do this with org-capture by typing C-2 C-c C-w within the
capture buffer. That will refile the new note to the currently clocked
task.

You can also use a capture template for this, e.g.:

	("c" "Clock sibling" entry
	 (clock)
	 "* %^{Title}\n %U\n %a\n\n %i")

Type C-h v org-capture-templates for more details.

Another option: you can quickly navigate to the current clocked task
with org-clock-goto (C-c C-x C-j). Then you can type C-c C-z to add a
time-stamped note.

Best,
Matt

  reply	other threads:[~2011-04-26 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26 16:14 Easily adding notes to a TODO item Shawn Willden
2011-04-26 16:40 ` Matt Lundin [this message]
     [not found]   ` <BANLkTinhCQn8MV0qRqiLftK+BUb94US57g@mail.gmail.com>
2011-04-27 12:42     ` Matt Lundin
2011-04-27 13:49       ` Shawn Willden
2011-04-27 17:19         ` Matt Lundin
2011-04-26 16:41 ` Matt Lundin

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=87wrihrmov.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=swillden@google.com \
    /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).