Hi,

I'm a luddite using old emacs 28 on ubuntu 22.04  ( no spacemacs nor doom ).

I've been working on my org-capture-templates and I can't for the life of
me figure out how to get multi-character templates defined.

When I use more than one character I get errors where first my capture
template isn't listed at all, and then when I start typing one of the
characters i routinely get this message

Invalid key 'J'


Here is the sample template I'm using


(setq org-capture-templates
      '(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
         "* TODO %?\n  %i\n  %a")
        ("j" "Journal" entry (file+olp+datetree "~/org/journal.org")
         "* %?\nEntered on %U\n  %i\n  %a")
        ("Jk" "Foo" entry (file+olp+datetree "~/org/journal.org")
         "* %?\nEntered on %U\n  %i\n  %a")
        ))

Google searches and chat gpt know nothing about it.


Cheers,

Reply via email to