emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Org-mode ml <emacs-orgmode@gnu.org>
Subject: New lines (return chracter?) in capture templates
Date: Wed, 17 Nov 2010 13:13:55 -0500	[thread overview]
Message-ID: <AANLkTi=HrWWU3_OZH_zpdpUH_Pf2M1SDbnDHavE5xbUj@mail.gmail.com> (raw)

Quick question. I'm playing with a new template and the new line
characters are being inserted as string-literals (?) instead of being
read as new lines.

In other words, my template is
,----
| * %U\n *%^{Note Title}* %?\n %i %a
`----

When called, I get the following after typing "Test" at the prompt:
,----
| **** [2010-11-17 Wed 13:11]\n *Test* \n
`----

When the following is expected:
,----
|  **** [2010-11-17 Wed 13:11]
|       *Test*
|       <cursor placed here>
`----

The template is uses date trees.

Thanks for any help.

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-17 18:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 18:13 Jeff Horn [this message]
2010-11-23  0:18 ` New lines (return chracter?) in capture templates Jeff Horn
2010-11-23  0:55 ` Russell Adams
2010-11-23  1:28   ` Jeff Horn
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=HrWWU3_OZH_zpdpUH_Pf2M1SDbnDHavE5xbUj@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).