summaryrefslogtreecommitdiffstats
path: root/site/blog/Ask_for_selection_in_emacs_addendum.org
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-12-10 02:22:18 +0100
committerGravatar Tom Willemsen2012-12-10 02:22:18 +0100
commita2f077cf13d307c4d9d862028f459b783ede53cc (patch)
tree48d67b2e218cc5f97b52e412f5b45d3bff545c16 /site/blog/Ask_for_selection_in_emacs_addendum.org
parent210460d177a9a4bdd5f2e8cfe08abe3277681aec (diff)
downloadorgweb-a2f077cf13d307c4d9d862028f459b783ede53cc.tar.gz
orgweb-a2f077cf13d307c4d9d862028f459b783ede53cc.zip
Add some blog posts
Also an index page that automatically generates a list of all the posts available.
Diffstat (limited to 'site/blog/Ask_for_selection_in_emacs_addendum.org')
-rw-r--r--site/blog/Ask_for_selection_in_emacs_addendum.org18
1 files changed, 18 insertions, 0 deletions
diff --git a/site/blog/Ask_for_selection_in_emacs_addendum.org b/site/blog/Ask_for_selection_in_emacs_addendum.org
new file mode 100644
index 0000000..101f32a
--- /dev/null
+++ b/site/blog/Ask_for_selection_in_emacs_addendum.org
@@ -0,0 +1,18 @@
+#+TITLE: Ask for selection in Emacs, addendum
+#+DATE: 2012-05-02 21:52:00
+#+TAGS: 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:
+
+#+BEGIN_SRC elisp
+ (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.