[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: reading a variable from the user

From: Doug Lewan
Subject: RE: reading a variable from the user
Date: Wed, 10 Oct 2012 13:59:38 +0000


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.


> -----Original Message-----
> From:
> [] On
> Behalf Of drain
> Sent: Wednesday, 2012 October 10 03:25
> To:
> 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:
> tp266778.html
> Sent from the Emacs - Help mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]