From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: user-input ? Date: Fri, 3 Jun 2005 10:02:58 -0700 Message-ID: References: <878y1rh06n.fsf@madamex.madamex.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117818361 32642 80.91.229.2 (3 Jun 2005 17:06:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2005 17:06:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 03 19:05:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeFXo-0003i1-DG for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jun 2005 19:01:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeFdX-00026P-U3 for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jun 2005 13:07:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DeFcS-0001jO-CU for help-gnu-emacs@gnu.org; Fri, 03 Jun 2005 13:06:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DeFcN-0001g9-6e for help-gnu-emacs@gnu.org; Fri, 03 Jun 2005 13:06:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeFcM-0001fp-F7 for help-gnu-emacs@gnu.org; Fri, 03 Jun 2005 13:05:58 -0400 Original-Received: from [148.87.122.31] (helo=rgminet02.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DeFc0-0007p4-QA for help-gnu-emacs@gnu.org; Fri, 03 Jun 2005 13:05:37 -0400 Original-Received: from rgminet02.oracle.com (localhost [127.0.0.1]) by rgminet02.oracle.com (Switch-3.1.6/Switch-3.1.7) with ESMTP id j53H31VL022424 for ; Fri, 3 Jun 2005 11:03:01 -0600 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by rgminet02.oracle.com (Switch-3.1.6/Switch-3.1.7) with ESMTP id j53H2xda022386 for ; Fri, 3 Jun 2005 11:03:00 -0600 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j53H2xYt029924 for ; Fri, 3 Jun 2005 11:02:59 -0600 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-80-104.vpn.oracle.com [141.144.80.104]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j53H2xNn029917 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 3 Jun 2005 11:02:59 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <878y1rh06n.fsf@madamex.madamex.dk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27193 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27193 I need to read some input from the user, but I was not able to find anything about that, in the elisp manual. It's hard to believe you looked. At the top level of the Emacs Lisp manual is this menu entry: * Minibuffers:: Using the minibuffer to read input. How did I find it quickly? `s read RET'. And before you delve into the Elisp manual, you should try `apropos'. `M-x apropos RET read' shows the following, plus many more entries: completing-read - Read a string in the minibuffer, with completion. face-read-integer - Interactively read an integer face attribute value. facemenu-read-color - Read a color using the minibuffer. format-read - Read and return the name of a format. ido-completing-read - Ido replacement for the built-in `completing-read'. ido-read-buffer - Ido replacement for the built-in `read-buffer'. ido-read-directory-name - Ido replacement for the built-in `read-directory-name'. ido-read-file-name - Ido replacement for the built-in `read-file-name'. read-buffer - Read the name of a buffer and return as a string. read-char - Read a character from the command input (keyboard or macro). read-charset - Read a character set from the minibuffer, prompting with string PROMPT. read-coding-system - Read a coding system from the minibuffer, prompting with string PROMPT. read-command - Read the name of a command and return as a symbol. read-envvar-name - Read environment variable name, prompting with PROMPT. read-event - Read an event object from the input stream. read-face-and-attribute - Read face name and face attribute value. read-face-attribute - Interactively read a new value for FACE's ATTRIBUTE. read-face-font - Read the name of a font for FACE on FRAME. read-face-name - Read a face, defaulting to the face or faces on the char after point. read-file-name - Read file name, prompting with PROMPT and completing in directory DIR. read-from-minibuffer - Read a string from the minibuffer, prompting with string PROMPT. read-from-string - Read one Lisp expression which is represented as text by STRING. read-hiragana-string - Read a Hiragana string from the minibuffer, prompting with string PROMPT. read-input - Read a string from the minibuffer, prompting with string PROMPT. read-input-method-name - Read a name of input method from a minibuffer prompting with PROMPT. read-key-sequence - Read a sequence of keystrokes and return as a string or vector. read-key-sequence-vector - Like `read-key-sequence' but always return a vector. read-language-name - Read a language environment name which has information for KEY. read-minibuffer - Return a Lisp object read using the minibuffer, unevaluated. read-multilingual-string - Read a multilingual string from minibuffer, prompting with string PROMPT. read-no-blanks-input - Read a string from the terminal, not allowing blanks. read-non-nil-coding-system - Read a coding system from the minibuffer, prompting with string PROMPT. read-passwd - Read a password, prompting with PROMPT, and return it. read-quoted-char - Like `read-char', but do not allow quitting. read-string - Read a string from the minibuffer, prompting with string PROMPT. read-variable - Read the name of a user variable and return it as a symbol. strokes-read-complex-stroke - Read a complex stroke (interactively) and return the stroke. strokes-read-stroke - Read a simple stroke (interactively) and return the stroke. Decide *what* you want to read, then look closer at the list above... Look up whatever function interests you in the Elisp manual, or use `C-h f', or look at the source code that defines it. It doesn't get any easier than this.