emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* doing a capture and jumping to the file
@ 2014-09-26  6:05 Alan Schmitt
  2014-09-26  9:06 ` Daimrod
       [not found] ` <m2a95myc95.fsf@christianmoe.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Alan Schmitt @ 2014-09-26  6:05 UTC (permalink / raw)
  To: emacs-orgmode

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

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: doing a capture and jumping to the file
  2014-09-26  6:05 doing a capture and jumping to the file Alan Schmitt
@ 2014-09-26  9:06 ` Daimrod
  2014-09-26 11:31   ` Alan Schmitt
       [not found] ` <m2a95myc95.fsf@christianmoe.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Daimrod @ 2014-09-26  9:06 UTC (permalink / raw)
  To: emacs-orgmode

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

Alan Schmitt <alan.schmitt@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Fwd: Re:  doing a capture and jumping to the file
       [not found] ` <m2a95myc95.fsf@christianmoe.com>
@ 2014-09-26  9:26   ` Christian Moe
  2014-09-26 11:19   ` Alan Schmitt
  1 sibling, 0 replies; 5+ messages in thread
From: Christian Moe @ 2014-09-26  9:26 UTC (permalink / raw)
  To: org-mode mailing list


Sorry, forgot to copy to the list:

> Hi,
>
> Doesn't C-u C-c C-c from the capture buffer do the trick?
>
> Yours,
> Christian
>
> Alan Schmitt writes:
>
>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: doing a capture and jumping to the file
       [not found] ` <m2a95myc95.fsf@christianmoe.com>
  2014-09-26  9:26   ` Fwd: " Christian Moe
@ 2014-09-26 11:19   ` Alan Schmitt
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Schmitt @ 2014-09-26 11:19 UTC (permalink / raw)
  To: Christian Moe; +Cc: emacs-orgmode

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

On 2014-09-26 11:14, Christian Moe <mail@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: doing a capture and jumping to the file
  2014-09-26  9:06 ` Daimrod
@ 2014-09-26 11:31   ` Alan Schmitt
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Schmitt @ 2014-09-26 11:31 UTC (permalink / raw)
  To: Daimrod; +Cc: emacs-orgmode

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

On 2014-09-26 11:06, Daimrod <daimrod@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-26 11:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26  6:05 doing a capture and jumping to the file Alan Schmitt
2014-09-26  9:06 ` Daimrod
2014-09-26 11:31   ` Alan Schmitt
     [not found] ` <m2a95myc95.fsf@christianmoe.com>
2014-09-26  9:26   ` Fwd: " Christian Moe
2014-09-26 11:19   ` Alan Schmitt

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