emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Cameron Horsburgh <cammo@netcall.com.au>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Question about remeber templates
Date: Tue, 23 Jun 2009 15:05:27 +0200	[thread overview]
Message-ID: <C130625D-F117-4249-910B-9FD548CB5499@gmail.com> (raw)
In-Reply-To: <87iqinjf5t.wl%cammo@netcall.com.au>


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

  reply	other threads:[~2009-06-23 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-23 12:41 Question about remeber templates Cameron Horsburgh
2009-06-23 13:05 ` Carsten Dominik [this message]
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=C130625D-F117-4249-910B-9FD548CB5499@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=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).