From: 42 147 <aeuster@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: completing-read question
Date: Wed, 28 May 2014 01:05:09 -0400 [thread overview]
Message-ID: <CAMgvimG5+iVrcvA6NAFG0gtWLAFZ5s8QTQHufO+REyYs-WMvLg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
Hey everyone,
My init stabilized about a year ago and therefore I've actually been
spending more time working in org-mode than customizing it!
But that comes at a cost. My Emacs Lisp has become quite rusty. Recently I
started customizing again, and I wanted to use the completing-read function
-- but I am curious what the numbers in these lists are used for.
This is an example I found in one of the tutorials online:
(completing-read
"Complete a foo: "
'(("foobar1" 1) ("barfoo" 2) ("foobaz" 3) ("foobar2" 4))
nil t "fo")
This function appears to work fine without the 1, 2, 3, 4.
If this is outside the scope of this particular mailing list, I will gladly
be directed elsewhere.
[-- Attachment #2: Type: text/html, Size: 857 bytes --]
next reply other threads:[~2014-05-28 5:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-28 5:05 42 147 [this message]
2014-05-28 19:41 ` completing-read question Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMgvimG5+iVrcvA6NAFG0gtWLAFZ5s8QTQHufO+REyYs-WMvLg@mail.gmail.com \
--to=aeuster@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).