emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* completing-read question
@ 2014-05-28  5:05 42 147
  2014-05-28 19:41 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: 42 147 @ 2014-05-28  5:05 UTC (permalink / raw)
  To: Org Mode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: completing-read question
  2014-05-28  5:05 completing-read question 42 147
@ 2014-05-28 19:41 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-05-28 19:41 UTC (permalink / raw)
  To: 42 147; +Cc: Org Mode

42 147 <aeuster@gmail.com> writes:

> If this is outside the scope of this particular mailing list, I will
> gladly be directed elsewhere.

https://lists.gnu.org/mailman/listinfo/help-gnu-emacs

But C-h f completing-read RET could be enough :)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-28 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-28  5:05 completing-read question 42 147
2014-05-28 19:41 ` Bastien

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).