From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: org-capture in the same file from which it was called under certain heading Date: Fri, 27 May 2011 12:17:47 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd60836d7730204a43f3f33 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPu73-0005q7-Oa for emacs-orgmode@gnu.org; Fri, 27 May 2011 06:17:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPu72-0008FB-PW for emacs-orgmode@gnu.org; Fri, 27 May 2011 06:17:49 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:54584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPu72-0008F1-Mz for emacs-orgmode@gnu.org; Fri, 27 May 2011 06:17:48 -0400 Received: by qyk2 with SMTP id 2so3895381qyk.0 for ; Fri, 27 May 2011 03:17:47 -0700 (PDT) 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: emacs-orgmode --000e0cd60836d7730204a43f3f33 Content-Type: text/plain; charset=ISO-8859-1 Hi I would like to capture todo items, changes and other things in the file I am working in (literate programming), but I am struggling: how can I specify thet the file is the actual file I am working in? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug --000e0cd60836d7730204a43f3f33 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

I would like to capture todo items, changes and other= things in the file I am working in (literate programming), but I am strugg= ling: how can I specify thet the file is the actual file I am working in?

Thanks,

Rainer

-- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biolog= y, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Bio= logy
Stellenbosch University
South Africa

Tel : =A0 =A0 =A0 +33 - (0)9= 53 10 27 44
Cell: =A0 =A0 =A0 +33 - (0)6 85 62 59 98
Fax (F): =A0 = =A0 =A0 +33 - (0)9 58 10 27 44

Fax (D): =A0 =A0+49 - (0)3 21 21 25 2= 2 44

email: =A0 =A0 =A0Rainer@krugs.de

Skype: =A0 =A0 =A0RMkrug

--000e0cd60836d7730204a43f3f33-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: org-capture in the same file from which it was called under certain heading Date: Sat, 28 May 2011 10:00:04 +0000 (UTC) Message-ID: <877h9b9n6s.fsf@mean.albasani.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQGJi-0004cS-KC for emacs-orgmode@gnu.org; Sat, 28 May 2011 06:00:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQGJg-0004sJ-TA for emacs-orgmode@gnu.org; Sat, 28 May 2011 06:00:22 -0400 Received: from lo.gmane.org ([80.91.229.12]:51838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQGJg-0004s6-Nz for emacs-orgmode@gnu.org; Sat, 28 May 2011 06:00:20 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QQGJf-0004uG-2s for emacs-orgmode@gnu.org; Sat, 28 May 2011 12:00:19 +0200 Received: from e178219133.adsl.alicedsl.de ([85.178.219.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 12:00:19 +0200 Received: from gegendosenfleisch by e178219133.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 12:00:19 +0200 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: emacs-orgmode@gnu.org Rainer M Krug writes: > I would like to capture todo items, changes and other things in the > file I am working in (literate programming), but I am struggling: how > can I specify thet the file is the actual file I am working in? Thats fun! >From the info manual on capture templates to google "org capture "entry (function"" which led to the mailing list archive (Thread start: http://tinyurl.com/3fj25gq) to the git log: ,---- | commit 030960559e24b5b364b6237d223429b5050fc2f1 | Author: Bastien Guerry | Date: Sun Mar 6 17:31:56 2011 +0100 | | org-capture.el: remove (currentfile) as a file specification in templates. | | You can already use a function like (buffer-file-name) to get the currently | visited file. So (currentfile) is not necessary. `---- What a round trip :). A quick test suggests this should do: --8<---------------cut here---------------start------------->8--- ("w" "*TEST*: entry function currentfile" entry (file+headline (buffer-file-name) "Notes") "* Eintrag") --8<---------------cut here---------------end--------------->8--- This should file your capture item "* Eintrag" under the Node "* Notes" in the buffer you called capture from. Is that what you had in mind? hth Memnon Tested with: ,---- | (setq org-capture-templates | `(("w" | "*TEST*: entry function currentfile" | entry | (file+headline (buffer-file-name) "Note") | "* Eintrag"))) `---- on GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3) of 2011-04-10 on raven, modified by Debian with Org-mode version 7.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: org-capture in the same file from which it was called under certain heading Date: Sat, 28 May 2011 12:03:43 +0200 Message-ID: References: <877h9b9n6s.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00235452f8345cb6a404a4532b98 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQGMz-0005FL-Gh for emacs-orgmode@gnu.org; Sat, 28 May 2011 06:03:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQGMy-0005EJ-9S for emacs-orgmode@gnu.org; Sat, 28 May 2011 06:03:45 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:55565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQGMy-0005EF-4O for emacs-orgmode@gnu.org; Sat, 28 May 2011 06:03:44 -0400 Received: by qwa26 with SMTP id 26so1667439qwa.0 for ; Sat, 28 May 2011 03:03:43 -0700 (PDT) In-Reply-To: <877h9b9n6s.fsf@mean.albasani.net> 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: Memnon Anon Cc: emacs-orgmode@gnu.org --00235452f8345cb6a404a4532b98 Content-Type: text/plain; charset=ISO-8859-1 On Sat, May 28, 2011 at 12:00 PM, Memnon Anon < gegendosenfleisch@googlemail.com> wrote: > Rainer M Krug writes: > > > I would like to capture todo items, changes and other things in the > > file I am working in (literate programming), but I am struggling: how > > can I specify thet the file is the actual file I am working in? > > Thats fun! > From the info manual on capture templates > to google "org capture "entry (function"" which led > to the mailing list archive (Thread start: http://tinyurl.com/3fj25gq) > to the git log: > > ,---- > | commit 030960559e24b5b364b6237d223429b5050fc2f1 > | Author: Bastien Guerry > | Date: Sun Mar 6 17:31:56 2011 +0100 > | > | org-capture.el: remove (currentfile) as a file specification in > templates. > | > | You can already use a function like (buffer-file-name) to get the > currently > | visited file. So (currentfile) is not necessary. > `---- > > What a round trip :). > > A quick test suggests this should do: > > --8<---------------cut here---------------start------------->8--- > ("w" > "*TEST*: entry function currentfile" > entry > (file+headline (buffer-file-name) "Notes") > "* Eintrag") > --8<---------------cut here---------------end--------------->8--- > > > This should file your capture item "* Eintrag" under the Node "* Notes" > in the buffer you called capture from. > > Is that what you had in mind? > Yes - exactly that. Now if this could go into the documentation of org-capture, that would be great. Thanks a lot, Rainer > > hth > Memnon > > Tested with: > ,---- > | (setq org-capture-templates > | `(("w" > | "*TEST*: entry function currentfile" > | entry > | (file+headline (buffer-file-name) "Note") > | "* Eintrag"))) > `---- > on GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3) > of 2011-04-10 on raven, modified by Debian > with > Org-mode version 7.5 > > > > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug --00235452f8345cb6a404a4532b98 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, May 28, 2011 at 12:00 PM, Memnon Anon <geg= endosenfleisch@googlemail.com> wrote:
Rainer M Krug <r= .m.krug@gmail.com> writes:

> I would like to capture todo = items, changes and other things in the
> file I am working in (litera= te programming), but I am struggling: how
> can I specify thet the file is the actual file I am working in?
Thats fun!
From the info manual on capture templates
to google= "org capture "entry (function"" which led
to the ma= iling list archive (Thread start: http://tinyurl.com/3fj25gq)
to the git log:

,----
| commit 030960559e24b5b364b6237d223429b505= 0fc2f1
| Author: Bastien Guerry <bz= g@altern.org>
| Date: =A0 Sun Mar 6 17:31:56 2011 +0100
|
|= =A0 =A0 org-capture.el: remove (currentfile) as a file specification in te= mplates.
|
| =A0 =A0 You can already use a function like (buffer-file-name) to ge= t the currently
| =A0 =A0 visited file. =A0So (currentfile) is not neces= sary.
`----

What a round trip :).

A quick test suggests th= is should do:

--8<---------------cut here---------------start------------->8---=
("w"
=A0"*TEST*: entry function currentfile"
= =A0entry
=A0(file+headline (buffer-file-name) "Notes")
=A0&= quot;* Eintrag")
--8<---------------cut here---------------end--------------->8---
=

This should file your capture item "* Eintrag" under the = Node "* Notes"
in the buffer you called capture from.

Is that what you had in mind?
=A0
Yes - exactly that.
Now if this could go into the documentation of org-capture, that would= be great.
=A0
Thanks a lot,
=A0
Rainer

hth
Memnon

Tested = with:
,----
| (setq org-capture-templates
| =A0 =A0 =A0 `(("w= "
| =A0 =A0 =A0 =A0"*TEST*: entry function currentfile"
| =A0 = =A0 =A0 =A0entry
| =A0 =A0 =A0 =A0(file+headline (buffer-file-name) &quo= t;Note")
| =A0 =A0 =A0 =A0"* Eintrag")))
`----
on G= NU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3)
=A0 of 2011-04-10 on raven, modified by Debian
with
=A0 =A0 =A0 =A0Or= g-mode version 7.5







--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conser= vation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch UniversitySouth Africa

Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44
Cell: =A0 = =A0 =A0 +33 - (0)6 85 62 59 98
Fax (F): =A0 =A0 =A0 +33 - (0)9 58 10 27 = 44

Fax (D): =A0 =A0+49 - (0)3 21 21 25 22 44

email: =A0 =A0 =A0= Rainer@krugs.de

Skype: =A0 =A0 =A0RMkrug

--00235452f8345cb6a404a4532b98-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: org-capture in the same file from which it was called under certain heading Date: Sat, 28 May 2011 12:15:08 +0000 (UTC) Message-ID: <87fwnz6o09.fsf@mean.albasani.net> References: <877h9b9n6s.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQIQN-0001sX-EK for emacs-orgmode@gnu.org; Sat, 28 May 2011 08:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQIQL-0007V0-Jf for emacs-orgmode@gnu.org; Sat, 28 May 2011 08:15:23 -0400 Received: from lo.gmane.org ([80.91.229.12]:52480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQIQL-0007Ui-Ea for emacs-orgmode@gnu.org; Sat, 28 May 2011 08:15:21 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QQIQK-0006eb-1c for emacs-orgmode@gnu.org; Sat, 28 May 2011 14:15:20 +0200 Received: from e178219133.adsl.alicedsl.de ([85.178.219.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 14:15:20 +0200 Received: from gegendosenfleisch by e178219133.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 14:15:20 +0200 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: emacs-orgmode@gnu.org Rainer M Krug writes: > Yes - exactly that. Now if this could go into the documentation of > org-capture, that would be great. The doc string of `org-capture-templates' concisely says: ,---- | A file can also be given as a variable, function, or Emacs Lisp | form. `---- So it is documented already. (Note to self: "Docstrings deserve closer attention. Do not only skim over them anymore!") Might be worth a footnote in the manual. OTOH, this seems to be sort of a corner case; the manual should not try to encompass everything there is... Memnon From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: Re: org-capture in the same file from which it was called under certain heading Date: Sat, 28 May 2011 20:40:33 +0900 Message-ID: <87vcwvkq8e.fsf@live.com> References: <877h9b9n6s.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQItA-0006Le-FL for emacs-orgmode@gnu.org; Sat, 28 May 2011 08:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQIt8-0003JB-Jb for emacs-orgmode@gnu.org; Sat, 28 May 2011 08:45:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:45477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQIt8-0003Io-8z for emacs-orgmode@gnu.org; Sat, 28 May 2011 08:45:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QQIt7-00057x-M0 for emacs-orgmode@gnu.org; Sat, 28 May 2011 14:45:05 +0200 Received: from 221x115x36x228.ap221.ftth.ucom.ne.jp ([221.115.36.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 14:45:05 +0200 Received: from yagnesh by 221x115x36x228.ap221.ftth.ucom.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 14:45:05 +0200 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: emacs-orgmode@gnu.org Rainer M Krug writes: > On Sat, May 28, 2011 at 12:00 PM, Memnon Anon > wrote: > > Rainer M Krug writes: > > > I would like to capture todo items, changes and other things in > the > > file I am working in (literate programming), but I am > struggling: how > > can I specify thet the file is the actual file I am working in? > > > Thats fun! > From the info manual on capture templates > to google "org capture "entry (function"" which led > to the mailing list archive (Thread start: > http://tinyurl.com/3fj25gq) > to the git log: > > ,---- > | commit 030960559e24b5b364b6237d223429b5050fc2f1 > | Author: Bastien Guerry > | Date:   Sun Mar 6 17:31:56 2011 +0100 > | > |     org-capture.el: remove (currentfile) as a file specification > in templates. > | > |     You can already use a function like (buffer-file-name) to > get the currently > |     visited file.  So (currentfile) is not necessary. > `---- > > What a round trip :). > > A quick test suggests this should do: > > --8<---------------cut here---------------start------------->8--- > ("w" >  "*TEST*: entry function currentfile" >  entry >  (file+headline (buffer-file-name) "Notes") >  "* Eintrag") > --8<---------------cut here---------------end--------------->8--- > > > This should file your capture item "* Eintrag" under the Node "* > Notes" > in the buffer you called capture from. > > Is that what you had in mind? > >   > Yes - exactly that. > Now if this could go into the documentation of org-capture, that would > be great. >   to extend the same, I have a similar requirement where I want to capture subtasks of a TODO item as I am working on it. So the (TODO)node under which I want to capture changes with the time. It would be good If there is a way to specify capture destination dynamically(most of the time the capture destination is under the current clocked item) Thanks., Yagnesh. -- Your business will assume vast proportions. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: org-capture in the same file from which it was called under certain heading Date: Sat, 28 May 2011 13:15:04 +0000 (UTC) Message-ID: <87aae76kh9.fsf@mean.albasani.net> References: <877h9b9n6s.fsf@mean.albasani.net> <87vcwvkq8e.fsf@live.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQJMN-0001Q2-VZ for emacs-orgmode@gnu.org; Sat, 28 May 2011 09:15:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQJMJ-0007JY-TA for emacs-orgmode@gnu.org; Sat, 28 May 2011 09:15:19 -0400 Received: from lo.gmane.org ([80.91.229.12]:36686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQJMJ-0007JU-KP for emacs-orgmode@gnu.org; Sat, 28 May 2011 09:15:15 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QQJMI-0002sR-NN for emacs-orgmode@gnu.org; Sat, 28 May 2011 15:15:14 +0200 Received: from e178219133.adsl.alicedsl.de ([85.178.219.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 15:15:14 +0200 Received: from gegendosenfleisch by e178219133.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 15:15:14 +0200 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: emacs-orgmode@gnu.org Hi, Yagnesh Raghava Yakkala writes: > to extend the same, I have a similar requirement where I want to > capture subtasks of a TODO item as I am working on it. So the > (TODO)node under which I want to capture changes with the time. It > would be good If there is a way to specify capture destination > dynamically(most of the time the capture destination is under the > current clocked item) I think I now what you want, but to be sure, a simple example outline would help. Memnon From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-capture in the same file from which it was called under certain heading Date: Sat, 28 May 2011 10:50:04 -0400 Message-ID: <878vtq7ucj.fsf@norang.ca> References: <877h9b9n6s.fsf@mean.albasani.net> <87vcwvkq8e.fsf@live.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQKqF-0000ak-ID for emacs-orgmode@gnu.org; Sat, 28 May 2011 10:50:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQKqE-0003LD-Gu for emacs-orgmode@gnu.org; Sat, 28 May 2011 10:50:15 -0400 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:31343 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQKqE-0003KP-F5 for emacs-orgmode@gnu.org; Sat, 28 May 2011 10:50:14 -0400 In-Reply-To: <87vcwvkq8e.fsf@live.com> (Yagnesh Raghava Yakkala's message of "Sat, 28 May 2011 20:40:33 +0900") 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: Yagnesh Raghava Yakkala Cc: emacs-orgmode@gnu.org Yagnesh Raghava Yakkala writes: > to extend the same, I have a similar requirement where I want to capture > subtasks of a TODO item as I am working on it. So the (TODO)node under > which I want to capture changes with the time. It would be good If there is a > way to specify capture destination dynamically(most of the time the > capture destination is under the current clocked item) In your capture buffer you can finish it with C-2 C-c C-w (instead of C-c C-c) to file to the current clocking task. Regards, Bernt