[O] doing a capture and jumping to the file

2014-09-26 Thread Alan Schmitt
Hello,

I often find myself doing the following: use a capture template to
nicely setup an entry (often a date tree entry with a link to the
current document), then jump to the newly created headline to start
adding notes. I typically do this during meetings, as I do not want to
stay in the capture buffer all the time.

Is there a way to setup a capture template such that it directly opens
the target file and set-up entry, instead of the capture buffer?

I tried a universal argument before calling org-capture, but it only
jumps to the capture destination and does not set up the entry.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


signature.asc
Description: PGP signature


Re: [O] doing a capture and jumping to the file

2014-09-26 Thread Daimrod
Alan Schmitt alan.schm...@polytechnique.org writes:

 Hello,

Hello Alan,

 I often find myself doing the following: use a capture template to
 nicely setup an entry (often a date tree entry with a link to the
 current document), then jump to the newly created headline to start
 adding notes. I typically do this during meetings, as I do not want to
 stay in the capture buffer all the time.

 Is there a way to setup a capture template such that it directly opens
 the target file and set-up entry, instead of the capture buffer?

 I tried a universal argument before calling org-capture, but it only
 jumps to the capture destination and does not set up the entry.

You can customize your capture templates with `M-x org-capture RET C'.
Look especially at the plist keywords `:immediate-finish` and
`:jump-to-captured`.

Best,

-- 
Daimrod/Greg


signature.asc
Description: PGP signature


Re: [O] doing a capture and jumping to the file

2014-09-26 Thread Alan Schmitt
On 2014-09-26 11:14, Christian Moe m...@christianmoe.com writes:

 Hi,

 Doesn't C-u C-c C-c from the capture buffer do the trick?

It does, thanks a lot!

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


signature.asc
Description: PGP signature


Re: [O] doing a capture and jumping to the file

2014-09-26 Thread Alan Schmitt
On 2014-09-26 11:06, Daimrod daim...@gmail.com writes:

 You can customize your capture templates with `M-x org-capture RET C'.
 Look especially at the plist keywords `:immediate-finish` and
 `:jump-to-captured`.

Thank you for the suggestion. Looking at the info manual I found the
documentation for immediate-finish, but not for
jump-to-captured. I found it in the code and it seems to be exactly
what I want.

Thanks again,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


signature.asc
Description: PGP signature