diff options
author | 2013-01-18 23:23:02 +0100 | |
---|---|---|
committer | 2013-01-18 23:23:02 +0100 | |
commit | b4928633d8f4fb0638acef78142b08abd866d9d9 (patch) | |
tree | 06c63aff0fe344bf83da0e596f223b6cbb1fdf29 /blog/blog-2012-05-03-1004.org | |
parent | fc57f091501071cf5fadd327480aa67338cac88e (diff) | |
download | orgweb-b4928633d8f4fb0638acef78142b08abd866d9d9.tar.gz orgweb-b4928633d8f4fb0638acef78142b08abd866d9d9.zip |
Delete blog, move project
Diffstat (limited to 'blog/blog-2012-05-03-1004.org')
-rw-r--r-- | blog/blog-2012-05-03-1004.org | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/blog/blog-2012-05-03-1004.org b/blog/blog-2012-05-03-1004.org deleted file mode 100644 index 3e10b00..0000000 --- a/blog/blog-2012-05-03-1004.org +++ /dev/null @@ -1,25 +0,0 @@ -#+TITLE: Another way to get a selection -#+DESCRIPTION: Another thing I came across - -When I was first looking into improving my mailbox selection function -I was looking at how to just ask the user for input with -completions. Though now that I came across ~tmm-prompt~ I really -prefer this way of working, at least in this case. - -However, today another function was mentioned, in response to someone -pointing out ~org-completing-read~: ~completing-read~. Wow that's a -far leap. - -Anyway: - -#+BEGIN_SRC emacs-lisp -(completing-read "Your favorite color: " - '("red" "green" "blue" "yellow")) -#+END_SRC - -This will ask for user input and provide these options as completions, -but it won't show a list of options, of provide shortcuts, like -~tmm-prompt~ does. - -It's good to know these things, and I really should read both the -emacs manual and the emacs lisp reference manual at some point. |