emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: New lines (return chracter?) in capture templates
Date: Mon, 22 Nov 2010 20:28:33 -0500	[thread overview]
Message-ID: <AANLkTi=w0oMDPocMQDGiMUbjJp08FQMOKKa-SdMHkf1w@mail.gmail.com> (raw)
In-Reply-To: <20101123005508.GN3139@x201>

On Mon, Nov 22, 2010 at 7:55 PM, Russell Adams
<RLAdams@adamsinfoserv.com> 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.

Do you know of a way to insert a newline through customize that doesn't
get escaped automatically when the string is saved?

Thanks,
Jeff

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

  reply	other threads:[~2010-11-23  1:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 18:13 New lines (return chracter?) in capture templates Jeff Horn
2010-11-23  0:18 ` Jeff Horn
2010-11-23  0:55 ` Russell Adams
2010-11-23  1:28   ` Jeff Horn [this message]
2010-11-23  1:34     ` Jeff Horn
2010-11-23  1:47       ` Russell Adams
2010-11-23  5:58       ` Carsten Dominik

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='AANLkTi=w0oMDPocMQDGiMUbjJp08FQMOKKa-SdMHkf1w@mail.gmail.com' \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).