all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to write (interactive) with user-selection from predefined enumeration? (was Re: (interactive "rP") valid?)
Date: Tue, 28 May 2013 20:46:39 +0200	[thread overview]
Message-ID: <87bo7vc580.fsf@gmail.com> (raw)
In-Reply-To: 061d4281-1056-4df6-993d-9c4a845bbe50@default

Drew Adams <drew.adams@oracle.com> writes:

> `Using Interactive' explains how to code such a list. As one example,
> you can use `completing-read' to read a user choice among any kind of
> completion candidates (not just names of functions, buffers, commands,
> directories, files, options, and coding systems).

Ok, thanks for the tip, 'completing-read' was the missing piece of the
puzzle for me.

> What more do you need?  The manual is your friend.

I must admit I don't find everything so crystal clear and obvious in the
Elisp manual as you describe it here. Especially in the section about
(interactive), more and more comples examples would be helpful. On the
other hand, a 1000page manual is already thick enough, so I would not
call that a bug. 

-- 
cheers,
Thorsten




  reply	other threads:[~2013-05-28 18:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 11:15 (interactive "rP") valid? Thorsten Jolitz
2013-05-28 11:38 ` Andreas Röhler
2013-05-28 11:42   ` Thorsten Jolitz
2013-05-28 13:20     ` Drew Adams
2013-05-28 14:36       ` Thorsten Jolitz
2013-05-28 15:13         ` Drew Adams
2013-05-28 16:42           ` How to write (interactive) with user-selection from predefined enumeration? (was Re: (interactive "rP") valid?) Thorsten Jolitz
2013-05-28 17:27             ` Drew Adams
2013-05-28 18:46               ` Thorsten Jolitz [this message]
     [not found]     ` <mailman.511.1369747231.22516.help-gnu-emacs@gnu.org>
2013-05-28 15:35       ` (interactive "rP") valid? Joost Kremers
     [not found]         ` <mailman.521.1369756484.22516.help-gnu-emacs@gnu.org>
2013-05-30 10:34           ` Joost Kremers
     [not found]       ` <<slrnkq9jm0.2vb.joostkremers@j.kremers4.news.arnhem.chello.nl>
2013-05-28 15:54         ` Drew Adams
     [not found] <<87mwrfe4oy.fsf@gmail.com>

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bo7vc580.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.