From: Nick Dokos <nicholas.dokos@hp.com>
To: nicholas.dokos@hp.com
Cc: G <gsqual@googlemail.com>, emacs-orgmode@gnu.org
Subject: Re: my capture template generates a literal "%?"
Date: Thu, 09 Aug 2012 10:48:40 -0400 [thread overview]
Message-ID: <18545.1344523720@alphaville> (raw)
In-Reply-To: Message from Nick Dokos <nicholas.dokos@hp.com> of "Thu, 09 Aug 2012 10:37:55 EDT." <18245.1344523075@alphaville>
Nick Dokos <nicholas.dokos@hp.com> wrote:
> G <gsqual@googlemail.com> wrote:
>
> > Hi,
> >
> > I am using Emacs 24.1 in Win7 (64bit) and Org 7.8.11.
> > I would like to have a capture template that just puts me at the end
> > of my journal in plain text (although date tree) after a custom time
> > stamp (e.g. 09:13). I tried the following
> > ("p" "Plain Journal" plain (file+datetree
> > "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
> > "%<%H:%M>\n\n%?"
> > :unnarrowed t :empty-lines 1)
> >
> > But in this template a literal %? is written and point is thereafter.
> >
> > I tried another template
> > ("e" "Entry Journal" entry (file+datetree
> > "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
> > "* Um %U von %a\n\n%?\n"
> > :empty-lines 1 :unnarrowed t)
> >
> > And this seems to work, but it's not what I would like to have.
> >
> > Did I write the template wrong?
> >
>
> I don't think so. I can reproduce it and I think it is a bug: %? does
> not seem to be interpreted in the first case, it is interpreted in the
> second case, but I don't know what causes the difference.
>
D'oh: plain type just inserts things literally. Need more coffee.
Nick
next prev parent reply other threads:[~2012-08-09 14:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 7:20 my capture template generates a literal "%?" G
2012-08-09 14:37 ` Nick Dokos
2012-08-09 14:48 ` Nick Dokos [this message]
2012-08-09 15:35 ` Nick Dokos
2012-08-10 9:49 ` Bastien
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=18545.1344523720@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=gsqual@googlemail.com \
/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).