emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Help using %& in Remember Template
@ 2008-08-22 15:23 Ian Barton
  2008-08-22 19:19 ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Barton @ 2008-08-22 15:23 UTC (permalink / raw)
  To: emacs-orgmode

Following an earlier thread I am trying to get a remember template to
immediately save and then jump to the stored location. My template looks
like:

("Journal" ?j "* %^U :DIARY:\n\n  %i%&\n  %!"
"~/nfs/firewall/Documents/org/journal.org")

The problem is that the %& gets inserted literally in the saved note and
emacs doesn't jump to the target. I have experimented with placing %& in
different positions in the template with similar results. Can someone
point out what silly thing I am doing wrong?

I am using emacs 22.1.1 and org 6.03.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help using %& in Remember Template
  2008-08-22 15:23 Help using %& in Remember Template Ian Barton
@ 2008-08-22 19:19 ` Bernt Hansen
  2008-08-23  7:30   ` Ian Barton
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2008-08-22 19:19 UTC (permalink / raw)
  To: Ian Barton; +Cc: emacs-orgmode

Ian Barton <lists@manor-farm.org> writes:

> Following an earlier thread I am trying to get a remember template to
> immediately save and then jump to the stored location. My template looks
> like:
>
> ("Journal" ?j "* %^U :DIARY:\n\n  %i%&\n  %!"
> "~/nfs/firewall/Documents/org/journal.org")
>
> The problem is that the %& gets inserted literally in the saved note and
> emacs doesn't jump to the target. I have experimented with placing %& in
> different positions in the template with similar results. Can someone
> point out what silly thing I am doing wrong?
>
> I am using emacs 22.1.1 and org 6.03.

This functionality was added in org 6.05.  Upgrading to a newer version
should fix it.

Regards,
Bernt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help using %& in Remember Template
  2008-08-22 19:19 ` Bernt Hansen
@ 2008-08-23  7:30   ` Ian Barton
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Barton @ 2008-08-23  7:30 UTC (permalink / raw)
  To: emacs-orgmode

Bernt Hansen wrote:
> Ian Barton <lists@manor-farm.org> writes:
> 
>> Following an earlier thread I am trying to get a remember template to
>> immediately save and then jump to the stored location. My template looks
>> like:
>>
>> ("Journal" ?j "* %^U :DIARY:\n\n  %i%&\n  %!"
>> "~/nfs/firewall/Documents/org/journal.org")
>>
>> The problem is that the %& gets inserted literally in the saved note and
>> emacs doesn't jump to the target. I have experimented with placing %& in
>> different positions in the template with similar results. Can someone
>> point out what silly thing I am doing wrong?
>>
>> I am using emacs 22.1.1 and org 6.03.
> 
> This functionality was added in org 6.05.  Upgrading to a newer version
> should fix it.
> 
Thanks Bernt, that did indeed fix it.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-23  7:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 15:23 Help using %& in Remember Template Ian Barton
2008-08-22 19:19 ` Bernt Hansen
2008-08-23  7:30   ` Ian Barton

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).