Echo Area

Ask for selection in emacs, addendum

2 May 2012 9:52 PM (emacs | elisp | coding)

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:

(defvar oni:mailbox-map
  '("top" ("menu" ("" . "ryu")
           ("ninthfloor" . "ninthfloor")
           ("gmail" . "gmail")
           ("aethon" . "aethon")))
  "A mailbox map for use with `tmm-prompt'.")

Without the top and menu items it will complain about wrong arguments.

No responses

Leave a Reply