emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Questions about org-capture templates and usage


From: Bernt Hansen
Subject: [Orgmode] Re: Questions about org-capture templates and usage
Date: Sun, 05 Dec 2010 22:59:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Matt Lundin <address@hidden> writes:

> Alan  <address@hidden> writes:
>
>>    3. I have had to modify my usage to accomodate to changes in
>>       org-capture, relative to org-remember. Some differences devolve
>>       from explicit design features
>>
>>       1. It is no longer necessary to auto-save uncommitted items. As
>>          a consequence there seems (as I understand it) to no longer
>>          be a way to use a prefix key to allow one to visit the item
>>          in it's context AFTER committing it with C-c C-c.
>>
>>       I have spend a good deal of time worrying over this, but
>>       haven't solved the problem.  Probably 90% of the times I save
>>       (C-c C-c) the Captured item, I stumble over how to find it
>>       again to enhance or review the item.
>
>>       *Is there a way to do this, or can we request a way to do this?*
>
> The function org-capture-goto-last-stored will take you the item. 
>
> You can bind this to a key.
>
> Or if you would like always to jump to a capture item after filing it,
> you can add a hook:
>
> (add-hook 'org-capture-after-finalize-hook
> 'org-capture-goto-last-stored)

I visit newly captured items all the time.  If you capture something (I
have C-M-r bound to org-capture) and store it with C-c C-c you can visit
it immediately with a double prefix  C-u C-u C-M-r as stated in the
org-capture docstring:

,----
| C-M-r runs the command org-capture, which is an interactive autoloaded
| Lisp function in `org-capture.el'.
| 
| It is bound to C-c r, C-M-r.
| 
| (org-capture &optional GOTO KEYS)
| 
| Capture something.
| 
| Uses keymap "org-capture-mode-map", which is not currently defined.
| 
| This will let you select a template from `org-capture-templates', and then
| file the newly captured information.  The text is immediately inserted
| at the target location, and an indirect buffer is shown where you can
| edit it.  Pressing M-x org-capture-finalize brings you back to the previous 
state
| of Emacs, so that you can continue your work.
| 
| When called interactively with a C-u prefix argument GOTO, don't capture
| anything, just go to the file/headline where the selected template
| stores its notes.  With a double prefix argument C-u C-u, go to the last note
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| stored.
  ^^^^^^
| 
| When called with a `C-0' (zero) prefix, insert a template at point.
| 
| Lisp programs can set KEYS to a string associated with a template in
| `org-capture-templates'.  In this case, interactive selection will be
| bypassed.
`----

HTH,
Bernt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]