From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Easily adding notes to a TODO item Date: Tue, 26 Apr 2011 12:40:00 -0400 Message-ID: <87wrihrmov.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QElIy-0005ff-OE for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 12:40:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QElIx-00037e-53 for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 12:40:04 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:54139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QElIw-00035q-VK for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 12:40:03 -0400 In-Reply-To: (Shawn Willden's message of "Tue, 26 Apr 2011 10:14:22 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shawn Willden Cc: emacs-orgmode@gnu.org Shawn Willden writes: > Hi everyone, > > I use an org file to track my work. =C2=A0It contains top-level headers > corresponding to projects with sub-headers corresponding to > sub-projects and/or tasks. =C2=A0I 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. =C2=A0Right now I'm manually positioning my cursor in the right > place, then using "C-u C-c . " to create a timestamp. =C2=A0This > 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. =C2=A0What 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