help-gnu-emacs
[Top][All Lists]
Advanced

[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

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: address@hidden
> [mailto:address@hidden On
> Behalf Of drain
> Sent: Wednesday, 2012 October 10 03:25
> To: address@hidden
> 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.




reply via email to

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