orgweb/blog/blog-2012-05-02-2152.org

20 lines
620 B
Org Mode
Raw Normal View History

2012-06-21 21:24:54 +02:00
#+TITLE: Ask for selection in emacs, addendum
#+DESCRIPTION: Oops, I forgot this
I erroneously assumed (and thought I tested) that using ~tmm-prompt~
could be done the way I described before. The ~oni:mailbox-map~
variable needs to be a little different from what I'd shown before,
namely:
#+BEGIN_SRC emacs-lisp
(defvar oni:mailbox-map
'("top" ("menu" ("ryulash.org" . "ryu")
("ninthfloor" . "ninthfloor")
("gmail" . "gmail")
("aethon" . "aethon")))
"A mailbox map for use with `tmm-prompt'.")
#+END_SRC
Without the /top/ and /menu/ items it will complain about wrong
arguments.