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: Mon, 06 Dec 2010 09:10:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"Alan E. Davis" <address@hidden> writes:

>     |
>     | (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?

GOTO is the value of the prefix.  C-u has a value of 4

For C-u C-M-r       GOTO is set to 4 (due to the single prefix)
For C-u C-u C-M-r   GOTO is set to 16 (due to the double prefix)

The code for org-capture looks for specific prefix values and changes
the behaviour of the function accordingly.

,----[ code from org-capture ]
|    ((equal goto '(4)) (org-capture-goto-target))
|    ((equal goto '(16)) (org-capture-goto-last-stored))
`----

-Bernt



reply via email to

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