emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kalev Takkis <kalev.takkis@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-capture target files
Date: Sun, 16 Sep 2012 00:25:59 +0300	[thread overview]
Message-ID: <CAMeOJK6TiUpsO99Biyn7Ty1LrVk_Lhtt7qmdQT-MezFuop2tNw@mail.gmail.com> (raw)

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

Hi all,

Is it possible to take a note in org-capture and to specify one or several
files to put the message into only after the note is written? The workflow
I have in mind is first pressing C-c c to take a note; selecting the type
of note I'd like to take; typing the message, pasting a link etc.,
finishing the note, with C-c C-c and then ending up in a list of available
*.org files (which could already be on display in a window next to capture
window) from which I can select the file(s) where to send the note to.
After some ferocious googling for  the past two months it seems that this
kind of system does not exist (right?).

But would it be possible to write something like that? After consulting
with the org-capture.el file I have some doubts, all capture templates
expect the destination file to be known beforehand, and the filename is
resolved early in the  capture process. There is a template where a
function is supposed to find the target and which is described as the most
flexible way, but since the capture already happens in the target file in
an indirect buffer, I don't think it's flexibility is enough.

What do you think, is there a way to do this?

Regards,
Kalev

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

             reply	other threads:[~2012-09-15 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15 21:25 Kalev Takkis [this message]
2012-09-15 21:56 ` org-capture target files Charles Philip Chan
2012-09-16 14:30   ` darcamo
2012-09-23 10:11 ` Bastien
2012-09-23 16:59   ` Kalev Takkis
2012-09-24  5:08     ` Bastien

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=CAMeOJK6TiUpsO99Biyn7Ty1LrVk_Lhtt7qmdQT-MezFuop2tNw@mail.gmail.com \
    --to=kalev.takkis@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).