[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] my capture template generates a literal "%?"
From: |
Nick Dokos |
Subject: |
Re: [O] my capture template generates a literal "%?" |
Date: |
Thu, 09 Aug 2012 10:48:40 -0400 |
Nick Dokos <address@hidden> wrote:
> G <address@hidden> 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