From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: Re: Capturing to current file Date: Sat, 14 Apr 2012 19:13:45 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0444044c9fc8ff04bdabbdfc Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJCAA-0004oT-D0 for emacs-orgmode@gnu.org; Sat, 14 Apr 2012 19:13:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SJCA7-0001ZH-Jh for emacs-orgmode@gnu.org; Sat, 14 Apr 2012 19:13:49 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:61452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJCA7-0001Tu-Aa for emacs-orgmode@gnu.org; Sat, 14 Apr 2012 19:13:47 -0400 Received: by wgbdr1 with SMTP id dr1so3044771wgb.30 for ; Sat, 14 Apr 2012 16:13:45 -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@gnu.org Cc: nicholas.dokos@hp.com --f46d0444044c9fc8ff04bdabbdfc Content-Type: text/plain; charset=ISO-8859-1 Nick This is indeed what I am looking for. Thanks M Richard Riley wrote: >* Karl Voit writes:* >* * >* > * Marvin Doyley wrote:* >* >> Hi there,* >* >* >* > Hi!* >* >* >* >> I am trying to create a thought bin related to a specific project* >* >> (org-file, where I perform all my writing task).* >* >> My idea is very simple, if an idea, todo item related to the project* >* >> i am working on, which is usually the case, I would like to file it* >* >> under a specific heading within the same file rather than a master* >* >> file.* >* >>* >* >> Any thoughts on how to do this ?* >* >* >* > Oh yes, take a look on http://orgmode.org/org.html#Capture-templates* >* > where you can define target files for your item.* >* * >* Is it documented on how to achieve what the op requested? Namely to* >* store the notes in the current file? Would that be a use for the* >* function-finding-location?* >* * I couldn't really tell what the OP requested, but if it is indeed storing the capture in the current file, the answer is "that can be done". AFAIK, it's not documented anywhere except on the mailing list though - see http://thread.gmane.org/gmane.emacs.orgmode/35759/focus=35781 Something like this (untested): (setq org-capture-templates '( ("X" "test" entry (file+headline (buffer-file-name (org-capture-get :original-buffer)) "Tasks") "* TODO %? %U %a %n" :prepend t))) Nick --f46d0444044c9fc8ff04bdabbdfc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Nick
This is indeed what I am looking for.=A0
Than=
ks
M
Richard Riley <address@hidden> wrote:

> Karl Voit <address@hidden> writes:
> 
> > * Marvin Doyley <address@hidden> wrote:
> >> Hi there,
> >
> > Hi!
> >
> >> I am trying to create a thought bin related to a specific =
project
> >> (org-file, where I perform all my writing task).
> >> My idea is very simple,  if an idea, todo item related to =
the project
> >> i am working on,  which is usually the case, I would like =
to  file it
> >> under a specific heading within the same file rather than =
a master
> >> file.
> >>
> >> Any thoughts on how to do this ?
> >
> > Oh yes, take a look on http://orgmode.org/org.html#Capture-tem=
plates
> > where you can define target files for your item.
> 
> Is it documented on how to achieve what the op requested? Namely to=

> store the notes in the current file? Would that be a use for the
> function-finding-location?
> 

I couldn't really tell what the OP requested, but if it is indeed
storing the capture in the current file, the answer is "that can be
done".  AFAIK, it's not documented anywhere except on the mailing =
list
though - see

   http://thread.gmane.org/gmane.emacs.orgmode/35759/focu=
s=3D35781

Something like this (untested):

(setq org-capture-templates
'(                  =20
  ("X" "test" entry (file+headline (buffer-file-name (o=
rg-capture-get=20
:original-buffer)) "Tasks") "* TODO %?
  %U %a %n" :prepend t)))

Nick
--f46d0444044c9fc8ff04bdabbdfc--