emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Questions about org-capture templates and usage
Date: Sun, 05 Dec 2010 22:59:45 -0500	[thread overview]
Message-ID: <87pqtf8sb2.fsf@norang.ca> (raw)
In-Reply-To: <8762v81le1.fsf@fastmail.fm> (Matt Lundin's message of "Sun, 05 Dec 2010 06:58:46 -0500")

Matt Lundin <mdl@imapmail.org> writes:

> Alan  <lngndvs@gmail.com> 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	other threads:[~2010-12-06  3:59 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05  6:28 Questions about org-capture templates and usage Alan
2010-12-05 11:58 ` Matt Lundin
2010-12-06  3:59   ` Bernt Hansen [this message]
2010-12-06  5:02     ` Alan E. Davis
2010-12-06  8:20       ` Carsten Dominik
2010-12-06 14:27         ` Carsten Dominik
2010-12-06  8:33       ` Carsten Dominik
2010-12-06 14:10       ` Bernt Hansen
2010-12-06 14:48       ` Nick Dokos
2010-12-06 16:48         ` Nathan Neff
2010-12-06 17:53         ` Carsten Dominik
     [not found]           ` <9588.1291658230@gamaville.americas.hpqcorp.net>
2010-12-06 18:08             ` Carsten Dominik
2010-12-07  3:14           ` Štěpán Němec
2010-12-07 19:33         ` Nick Dokos
2010-12-06 21:35       ` Alan Davis
     [not found]     ` <lngndvs@gmail.com>
2010-08-30  3:31       ` LaTeX export: Skip headline lines? "Paragraph" sectioning? Alan E. Davis
2010-08-30  4:06         ` Nick Dokos
2010-08-30  5:14           ` Scot Becker
2010-08-30  5:46             ` Nick Dokos
2010-08-30  6:54               ` Thomas S. Dye
2010-08-30 14:22                 ` Scot Becker
2010-08-30 16:20                   ` Thomas S. Dye
2010-08-30 22:05                     ` Scot Becker
2010-08-31  0:04                       ` Alan E. Davis
2010-08-30 16:40                   ` Alan E. Davis
2010-08-30 17:04                     ` Nick Dokos
2010-08-31  1:09             ` Alan E. Davis
2010-08-31  1:43               ` Alan E. Davis
2010-08-31  1:59                 ` Thomas S. Dye
2010-08-31  2:01                 ` Nick Dokos
2012-03-15 17:24       ` Mail composed using emacs --- saving a copy in an org file Alan E. Davis
2012-03-15 17:34         ` Jos'h Fuller
2012-03-15 17:48           ` Peter Salazar
2012-03-15 17:55         ` brian powell
2012-03-15 18:05           ` brian powell
2012-03-15 19:19         ` Nick Dokos
2012-03-15 19:48           ` brian powell
2012-03-16  9:32         ` Karl Voit
2012-03-16 13:46           ` brian powell
2012-03-16 16:07             ` Memacs and Gnowsis (was: Mail composed using emacs --- saving a copy in an org file.) Karl Voit
2010-12-05 21:44 ` Questions about org-capture templates and usage Charles Cave

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqtf8sb2.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).