[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] capture inside org-edit-src-code buffer
From: |
Andreas Leha |
Subject: |
[O] capture inside org-edit-src-code buffer |
Date: |
Wed, 11 Jan 2012 21:28:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Hi all,
I'd like to be able to call capture such that the captured item is
stored under '* Notes' in the current org-file *from inside an
org-edit-src-code buffer*.
Preferably, I'd like a single capture template, that works
(1) on the current org file normally
(2) on the "parent org file" after doing C-' on a source block
A possible capture template for (1) looks like this:
("w" "currentfile" entry (file+headline (buffer-file-name) "Notes") "")
How would I extend this to (2)?
Optimally, this template would record the #+name tag of the source
block under the point (if the point is in a source block) in (1) or the
source block being edited in (2), if such #name tag exists.
Thanks for hints,
Andreas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] capture inside org-edit-src-code buffer,
Andreas Leha <=