emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Alan E. Davis" <lngndvs@gmail.com>
To: Bernt Hansen <bernt@norang.ca>, Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Questions about org-capture templates and usage
Date: Mon, 6 Dec 2010 15:02:06 +1000	[thread overview]
Message-ID: <AANLkTikNMhzBhuDFVOnQ8pn-vuG7brzMHE86yfThi4Wi@mail.gmail.com> (raw)
In-Reply-To: <87pqtf8sb2.fsf@norang.ca>


[-- Attachment #1.1: Type: text/plain, Size: 2422 bytes --]

I am at much greater ease due to these two messages.  They solve several of
my befuddlements about capture.

On Mon, Dec 6, 2010 at 1:59 PM, Bernt Hansen <bernt@norang.ca> wrote:

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

This is exactly what I was looking for in the manual.  In fact, I think my
comment about the manual was partly a response to being unable to find this
item in the   manual, when I know I had seen reference to it somewhere.
Maybe in my request for items to be included in the manual, the docstrings
in org-capture.el would be scanned.  I missed this on my cursory search of
that file.  I will search for it myself, and work on (believe it or not)
org-help.org, that I use as a helpmate.

I have org-capture assigned to C-c, so C-u C-u C-c c goes straight to the
last stored item.  Perfect.


> |
> | (org-capture &optional GOTO KEYS)
> |
>
I THINK I understand that GOTO here refers to the prefix C-u ?  And C-u C-u
circumvents this?


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

This is it! What I was looking for.

I think, thought it may seem crazy, I would like to still have a way to
specify in the template that one would remain with the newly captured item
in its environment, after finalizing.   Just the same, thinking about that
it's an indirect buffer, it makes more sense how it works now...

Awe, heck, these two methods solve my problem well enough...

|
> | When called with a `C-0' (zero) prefix, insert a template at point.
> |
>

This is a great feature...


> | Lisp programs can set KEYS to a string associated with a template in
> | `org-capture-templates'.  In this case, interactive selection will be
> | bypassed.
> `----
>

This is something I'd like to see an example of.

Thank you again, and again,

Alan Davis

 "Pollution is nothing but the resources we are not harvesting. We allow
> them to disperse because we've been ignorant of their value."
>
>            --- R. Buckminster Fuller
>

[-- Attachment #1.2: Type: text/html, Size: 3853 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-12-06  5:02 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05  6:28 Alan
2010-12-05 11:58 ` Matt Lundin
2010-12-06  3:59   ` Bernt Hansen
     [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-06  5:02     ` Alan E. Davis [this message]
2010-12-06  8:20       ` Re: Questions about org-capture templates and usage 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
2010-12-05 21:44 ` 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=AANLkTikNMhzBhuDFVOnQ8pn-vuG7brzMHE86yfThi4Wi@mail.gmail.com \
    --to=lngndvs@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --subject='Re: Questions about org-capture templates and usage' \
    /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

Code repositories for project(s) associated with this 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).