emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cameron Horsburgh <cammo@netcall.com.au>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Question about remeber templates
Date: Tue, 23 Jun 2009 22:41:34 +1000	[thread overview]
Message-ID: <87iqinjf5t.wl%cammo@netcall.com.au> (raw)

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/

             reply	other threads:[~2009-06-23 12:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-23 12:41 Cameron Horsburgh [this message]
2009-06-23 13:05 ` Question about remeber templates Carsten Dominik
2009-06-23 13:24   ` Cameron Horsburgh

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=87iqinjf5t.wl%cammo@netcall.com.au \
    --to=cammo@netcall.com.au \
    --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).