From: Doug Lewan <dougl@shubertticketing.com>
To: drain <aeuster@gmail.com>,
"Help-gnu-emacs@gnu.org" <Help-gnu-emacs@gnu.org>
Subject: RE: reading a variable from the user
Date: Wed, 10 Oct 2012 13:59:38 +0000 [thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9826951B6B@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <1349853875855-266778.post@n5.nabble.com>
Drain,
Are you looking for a command or a function?
If you're looking for a command:
Francesco Mazzoli suggested `(interactive "v...")' for a command, and Tassilo Horn suggested using the help system: `C-h v <variable-name> RET'. There's also `M-x apropos', which will match regular expressions.
All of those make sense if this is for *your* consumption.
If you are looking for a function:
I don't know of any such function right off. You might want to learn about `obarray' and `(mapatoms)'.
I hope this helps.
,Doug
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of drain
> Sent: Wednesday, 2012 October 10 03:25
> To: Help-gnu-emacs@gnu.org
> Subject: reading a variable from the user
>
> Is there a function that prompts the user in the mini-buffer, matches
> the
> string input with a local variable name, and then returns the variable?
>
>
>
> --
> View this message in context:
> http://emacs.1067599.n5.nabble.com/reading-a-variable-from-the-user-
> tp266778.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
next prev parent reply other threads:[~2012-10-10 13:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-10 7:24 reading a variable from the user drain
2012-10-10 9:08 ` Francesco Mazzoli
2012-10-10 9:16 ` Tassilo Horn
2012-10-10 9:22 ` horse_rivers
2012-10-10 13:59 ` Doug Lewan [this message]
2012-10-10 14:13 ` Drew Adams
2012-10-11 1:09 ` drain
2012-10-11 3:27 ` Eric Abrahamsen
2012-10-11 6:08 ` PJ Weisberg
2012-10-11 6:50 ` Eric Abrahamsen
2012-10-11 6:16 ` drain
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=155DEC68569B714B86C2C7075F5EDA9826951B6B@DAKIYA1.pegasus.local \
--to=dougl@shubertticketing.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=aeuster@gmail.com \
/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.
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).