From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jack-mac Newsgroups: gmane.emacs.help Subject: Re: How to IELM use minibuffer? Date: Thu, 10 Jan 2013 07:04:23 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357835370 27504 80.91.229.3 (10 Jan 2013 16:29:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2013 16:29:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 10 17:29:47 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TtL0j-0005dj-Jf for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2013 17:29:45 +0100 Original-Received: from localhost ([::1]:47371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtJhA-000190-8A for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2013 10:05:28 -0500 X-Received: by 10.224.110.68 with SMTP id m4mr7669754qap.2.1357830264173; Thu, 10 Jan 2013 07:04:24 -0800 (PST) Original-Received: by 10.182.135.69 with SMTP id pq5mr1364792obb.31.1357830263939; Thu, 10 Jan 2013 07:04:23 -0800 (PST) Original-Path: usenet.stanford.edu!t8no2427903qaj.0!news-out.google.com!k2ni5538qap.0!nntp.google.com!p13no2454021qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.49.124.107; posting-account=OWLhBgoAAAD1H7ELDXVfr3-5BJaMOe1v Original-NNTP-Posting-Host: 193.49.124.107 User-Agent: G2/1.0 Injection-Date: Thu, 10 Jan 2013 15:04:24 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:196254 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88558 Archived-At: Le mercredi 9 janvier 2013 10:13:48 UTC+1, Xue Fuqiao a =E9crit=A0: > I used (interactive "x") in IELM just now, but it only returns nil and di= dn't let me input the Lisp object. How can I use minibuffer in IELM? Try:=20 (defun foo (expr) (interactive "xType an expression: ") (message "It seems you typed %s" expr)) and then, from ielm: (call-interactively 'foo) or: M-x foo RET