all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: horse_rivers  <horse_rivers@126.com>
To: help-gnu-emacs@gnu.org
Subject: Re:Re: reading a variable from the user
Date: Wed, 10 Oct 2012 17:22:54 +0800 (CST)	[thread overview]
Message-ID: <3c4f64c3.24fd1.13a49fbdf41.Coremail.horse_rivers@126.com> (raw)
In-Reply-To: <87r4p68z6x.fsf@thinkpad.tsdh.de>

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]





is this in gdb's  debug mode ,which is used to get  the  debugged  process's  local  varible value? 




At 2012-10-10 17:16:06,"Tassilo Horn" <tsdh@gnu.org> wrote:
>Francesco Mazzoli <f@mazzo.li> writes:
>
>> At Wed, 10 Oct 2012 00:24:35 -0700 (PDT),
>> drain wrote:
>>> 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? 
>>
>> You can use something like
>>
>>     (defun foo (var)
>>       (interactive "v")
>>       (message "%S" (symbol-value var)))
>>
>> See the help page for `interactive' for more info.
>
>Or simply do `C-h v <variable-name> RET' which shows the documentation
>and the current value of that variable.
>
>Bye,
>Tassilo
>
>

[-- Attachment #2: Type: text/html, Size: 1646 bytes --]

  reply	other threads:[~2012-10-10  9:22 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 [this message]
2012-10-10 13:59 ` Doug Lewan
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c4f64c3.24fd1.13a49fbdf41.Coremail.horse_rivers@126.com \
    --to=horse_rivers@126.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.