emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Alan <lngndvs@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Questions about org-capture templates and usage
Date: Sun, 05 Dec 2010 06:58:46 -0500	[thread overview]
Message-ID: <8762v81le1.fsf@fastmail.fm> (raw)
In-Reply-To: 83bp50hgy2.fsf@gmail.com

Alan  <lngndvs@gmail.com> writes:

>    1. Eventually a tutorial will surely be available.  I haven't found
>      one.   Useful tutorials for me would be 
>
>       1. How to make general templates, and pitfalls.
>       2. Advanced usages of org-capture: using functions, etc.  
>       3. Common errors and causes

I put this in the "Features awaiting tutorials" list on Worg:

http://orgmode.org/worg/org-tutorials/index.php#sec-7

>
>    2. Documentation is minimal, while the complexity of the system is
>       great.   

Could you please explain what else you'd like to see in the
documentation?

- http://orgmode.org/manual/Capture.html
- (info "(org) Capture")
- M-x describe-variable org-capture-templates

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

>    4. I would like to be able to capture to a non-orgmode file.
>       My remember template saved  some notes, a list of items from an
>       agenda search, or any text   was marked as a region, as a memo
>       wrapped up as a latex memo, with  a latex memo header and
>       an \end{document.  
>
>       It is my understanding that this won't work anymore because
>       capture will not save to a non-orgmode file.  
>
>        *Is this correct, and/or what, if anything can I do to make
>        this work?* `

AFAICT, it works fine. You can use the "plain" entry type. For instance,
here's a template that puts the selected region in a quote environment
in the file ~/searches.tex.

--8<---------------cut here---------------start------------->8---
(add-to-list 'org-capture-templates 
	     '("x" "Random note" plain (file "~/searches.tex") 
	       "\\begin{quote}\n%i\n\\end{quote}"))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

  reply	other threads:[~2010-12-05 11:58 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 [this message]
2010-12-06  3:59   ` Bernt Hansen
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=8762v81le1.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=lngndvs@gmail.com \
    /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).