From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Re: Questions about org-capture templates and usage Date: Mon, 6 Dec 2010 15:02:06 +1000 Message-ID: References: <83bp50hgy2.fsf@gmail.com> <8762v81le1.fsf@fastmail.fm> <87pqtf8sb2.fsf@norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1783930256==" Return-path: Received: from [140.186.70.92] (port=40315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPTDa-0001Qw-A5 for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 00:02:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPTDY-0007ba-5p for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 00:02:30 -0500 Received: from mail-gw0-f48.google.com ([74.125.83.48]:58470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPTDX-0007bU-Ue for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 00:02:28 -0500 Received: by gwaa20 with SMTP id a20so3731445gwa.35 for ; Sun, 05 Dec 2010 21:02:27 -0800 (PST) In-Reply-To: <87pqtf8sb2.fsf@norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen , Matt Lundin Cc: emacs-orgmode@gnu.org --===============1783930256== Content-Type: multipart/alternative; boundary=20cf30549df15fa0de0496b6cb71 --20cf30549df15fa0de0496b6cb71 Content-Type: text/plain; charset=ISO-8859-1 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 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 > --20cf30549df15fa0de0496b6cb71 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am at much greater ease due to these two messages.=A0 They solve several = of my befuddlements about capture.=A0 =A0

On Mon, Dec 6, 2010 at 1:59 PM, Bernt Hansen <bernt@norang.ca> wrote:
I visit newly cap= tured items all the time. =A0If 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 =A0C-u C-u C-M-r as stated in the
org-capture docstring:

This is exactly what I was = looking for in the manual.=A0 In fact, I think my comment about the manual = was partly a response to being unable to find this item in the =A0 manual, = when I know I had seen reference to it somewhere.=A0 Maybe in my request fo= r items to be included in the manual, the docstrings in org-capture.el woul= d be scanned.=A0 I missed this on my cursory search of that file.=A0 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 t= he last stored item.=A0 Perfect. =A0
=A0
|
| (org-capture &optional GOTO KEYS)
|
I THINK I understand that GOTO here refers to the pr= efix C-u ?=A0 And C-u C-u circumvents this?
=A0
| When called interactively with a C-u prefix argument GOTO, don't capt= ure
| anything, just go to the file/headline where the selected template
| stores its notes. =A0With a double prefix argument C-u C-u, go to the las= t note
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^
| stored.
=A0^^^^^^

This is it! What I was looking for.=A0 =

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

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...=A0=A0
=A0
| Lisp programs can set KEYS to a string associated with a template in
| `org-capture-templates'. =A0In this case, interactive selection will = be
| bypassed.
`----

This is something I'd lik= e to see an example of.=A0=A0
=A0
Thank you again, and again,
Alan Davis

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

--20cf30549df15fa0de0496b6cb71-- --===============1783930256== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1783930256==--