From: jack-mac <duthen.mac@gmail.com>
To: help-gnu-emacs@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to IELM use minibuffer?
Date: Thu, 10 Jan 2013 07:04:23 -0800 (PST) [thread overview]
Message-ID: <b7a3c561-b974-4511-a68c-536f4fb3079e@googlegroups.com> (raw)
In-Reply-To: <mailman.16987.1357722842.855.help-gnu-emacs@gnu.org>
Le mercredi 9 janvier 2013 10:13:48 UTC+1, Xue Fuqiao a écrit :
> I used (interactive "x") in IELM just now, but it only returns nil and didn't let me input the Lisp object. How can I use minibuffer in IELM?
Try:
(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
next parent reply other threads:[~2013-01-10 15:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.16987.1357722842.855.help-gnu-emacs@gnu.org>
2013-01-10 15:04 ` jack-mac [this message]
2013-01-09 9:13 How to IELM use minibuffer? Xue Fuqiao
2013-01-09 9:36 ` Christopher Schmidt
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=b7a3c561-b974-4511-a68c-536f4fb3079e@googlegroups.com \
--to=duthen.mac@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.