[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] New lines (return chracter?) in capture templates
From: |
Jeff Horn |
Subject: |
Re: [Orgmode] New lines (return chracter?) in capture templates |
Date: |
Mon, 22 Nov 2010 20:34:50 -0500 |
On Mon, Nov 22, 2010 at 8:28 PM, Jeff Horn <address@hidden> wrote:
> On Mon, Nov 22, 2010 at 7:55 PM, Russell Adams
> <address@hidden> wrote:
>> Can you post the relevant section of your config file?
>>
>> I understand you included that template, but the context may help.
>
> No problem! Thanks for your willingness to help, Russell. The relevant
> section is below.
>
> ,----
> | '(org-capture-templates (quote (("t" "Todo" entry (file+headline
> | "~/org/ftr/jeff/notes/tasks.org" "Tasks") "* TODO %? %i %a") ("n"
> | "Note" entry (file+datetree "~/org/ftr/jeff/notes/notes.org") "* %U\\n
> | *%^{Note Title}* %?\\n %i %a"))))
> `----
>
> The variable was set through customize. If I'm reading this correctly,
> it appears that the customize interface is inserting an *additional*
> escape character before the slash. I'd consider this a bug, since this
> was not expected.
Removing the extra escapes fixes the issue.
> Do you know of a way to insert a newline through customize that doesn't
> get escaped automatically when the string is saved?
Manually editing the customize init file and then viewing the variable
through the customize interface reveals the solution: simply press
return when inputting the string. The newline is picked up
automatically.
Thanks for suggesting I look at the config again!
Jeff
--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University
(704) 271-4797
address@hidden
address@hidden
http://www.failuretorefrain.com/jeff/