[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Using org-protocol to (org-)capture files for read/review?
From: |
Albin Stjerna |
Subject: |
[Orgmode] Using org-protocol to (org-)capture files for read/review? |
Date: |
Thu, 24 Feb 2011 10:27:59 +0100 |
User-agent: |
Notmuch/ (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) |
Hello, notmuch-org!
I'm using org-mode to structure most of my life, but I haven't been able
to incorporate my list of PDFs (or other documents) to read/review in
org-mode, so currently I'm just putting them in ~/read-review.
However, I thought I'd use org-protocol and emacsclient to add links to
these files to org-mode, but I'm unable to figure out how to do it. I'd
like to map the full path to a file, and then have that file appended to
a plain list in a given org file with the TODO tag set (something like
»* TODO [[file:/path/to/filename.pdf]]«) given a run of »emacsclient
org-protocol:/capture:/r/path/to/filename.pdf/«.
I can then implement pushing to my read/review stack with a simple shell
command that a) moves the new file to ~/read-review and b) adds a link
to the file on my org-mode read/review stack using the above mentioned
emacsclient command.
So far, I've tried adding the following to org-capture-templates:
("r" "read/review" entry (file "~/org/read-review.org")
"* TODO read %c"
:immediate-finish t)
Obviously »%c« wrong here -- but what should I replace it with?
Thanks in advance,
Albin
PS. Sorry if I've insufficiently R:d TFM, but I really did try.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] Using org-protocol to (org-)capture files for read/review?,
Albin Stjerna <=