emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about remeber templates
@ 2009-06-23 12:41 Cameron Horsburgh
  2009-06-23 13:05 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Cameron Horsburgh @ 2009-06-23 12:41 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

Hi folks,

I've just tried making myself my very own org-remember template. If I
follow the example in the manual I come up with this:

,----
| 
| ("* Diary entry: %?
| %^T" ?d "~/gtd/diary.org" "Diary date")
| 
`----

However, when I call org-remember I get a blank buffer called
'Remember' and a message saying "org-select-remember-template: Not
enough arguments for format string"

After looking at templates that I once made via customize I came up
with this:

,----
| 
| (100 "* Diary entry: %?
| %^T" "~/gtd/diary.org" "Diary date")
| 
`----

This works perfectly. I define the shortcut character by its ASCII
number in the first field of the template, not as a ?-character combo
in the second field.

I'm guessing that the format and the manual have parted ways at some
stage!

I'm using org-mode 6.27 trans, and the manual is the same vintage.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/

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

* Re: Question about remeber templates
  2009-06-23 12:41 Question about remeber templates Cameron Horsburgh
@ 2009-06-23 13:05 ` Carsten Dominik
  2009-06-23 13:24   ` Cameron Horsburgh
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-06-23 13:05 UTC (permalink / raw)
  To: Cameron Horsburgh; +Cc: emacs-orgmode Mailinglist


On Jun 23, 2009, at 2:41 PM, Cameron Horsburgh wrote:

> Hi folks,
>
> I've just tried making myself my very own org-remember template. If I
> follow the example in the manual I come up with this:
>
> ,----
> |
> | ("* Diary entry: %?
> | %^T" ?d "~/gtd/diary.org" "Diary date")
> |
> `----

This is not how the manual advertises to make remember templates.

("My diary entry" ?d "* Diary entry: %?
| %^T" "~/gtd/diary.org" "Diary date")


would be the form in the manual.  The form you describe below
is still supported for backward compatibility.

HTH

- Carsten

>
> However, when I call org-remember I get a blank buffer called
> 'Remember' and a message saying "org-select-remember-template: Not
> enough arguments for format string"
>
> After looking at templates that I once made via customize I came up
> with this:
>
> ,----
> |
> | (100 "* Diary entry: %?
> | %^T" "~/gtd/diary.org" "Diary date")
> |
> `----
>
> This works perfectly. I define the shortcut character by its ASCII
> number in the first field of the template, not as a ?-character combo
> in the second field.
>
> I'm guessing that the format and the manual have parted ways at some
> stage!
>
> I'm using org-mode 6.27 trans, and the manual is the same vintage.
>
> -- 
>
> Cameron Horsburgh
>
> Blog: http://spiritcry.wordpress.com/
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Question about remeber templates
  2009-06-23 13:05 ` Carsten Dominik
@ 2009-06-23 13:24   ` Cameron Horsburgh
  0 siblings, 0 replies; 3+ messages in thread
From: Cameron Horsburgh @ 2009-06-23 13:24 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode Mailinglist

At Tue, 23 Jun 2009 15:05:27 +0200,
Carsten Dominik wrote:
> 
> 
> On Jun 23, 2009, at 2:41 PM, Cameron Horsburgh wrote:
> 
> > Hi folks,
> >
> > I've just tried making myself my very own org-remember template. If I
> > follow the example in the manual I come up with this:
> >
> > ,----
> > |
> > | ("* Diary entry: %?
> > | %^T" ?d "~/gtd/diary.org" "Diary date")
> > |
> > `----
> 
> This is not how the manual advertises to make remember templates.
> 
> ("My diary entry" ?d "* Diary entry: %?
> | %^T" "~/gtd/diary.org" "Diary date")
> 
> 
> would be the form in the manual.  The form you describe below
> is still supported for backward compatibility.
> 
> HTH
> 
> - Carsten

Ah. Now I remember why I usually have a policy of not reporting bugs
until the morning after I find them. 

Sorry for the noise.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/

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

end of thread, other threads:[~2009-06-23 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 12:41 Question about remeber templates Cameron Horsburgh
2009-06-23 13:05 ` Carsten Dominik
2009-06-23 13:24   ` Cameron Horsburgh

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