emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marvin Doyley <marvinpas@gmail.com>
To: emacs-orgmode@gnu.org
Cc: nicholas.dokos@hp.com
Subject: Re: Capturing to current file
Date: Sat, 14 Apr 2012 19:13:45 -0400	[thread overview]
Message-ID: <CALQvLVomSi4+fjTYXLF=TeWvjA+=6z+3=nKL9g2uBbbeLHVFDQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

Nick

This is indeed what I am looking for.

Thanks

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-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

[-- Attachment #2: Type: text/html, Size: 2065 bytes --]

             reply	other threads:[~2012-04-14 23:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-14 23:13 Marvin Doyley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-14 18:27 Capturing to current file Marvin Doyley
2012-04-14 18:32 ` Karl Voit
2012-04-14 21:44   ` Richard Riley
     [not found]     ` <rileyrg@gmail.com>
2012-04-14 22:45       ` Nick Dokos
2012-04-14 23:02         ` Samuel Wales
2012-04-14 23:05           ` Nick Dokos
2012-04-14 23:04         ` Nick Dokos
2012-04-14 23:21           ` Richard Riley
2012-04-15  1:18           ` Charles
2012-04-15  2:33             ` Nick Dokos
2012-04-15  2:49               ` Samuel Wales
2012-04-15 13:52                 ` Nick Dokos
2012-04-20 12:58               ` Bastien
2012-04-20 19:44                 ` Charles
2012-04-29  8:59                   ` Bastien
2012-05-01  2:54                     ` Mike McLean
2012-04-22 13:14                 ` Charles

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='CALQvLVomSi4+fjTYXLF=TeWvjA+=6z+3=nKL9g2uBbbeLHVFDQ@mail.gmail.com' \
    --to=marvinpas@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).