unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "alin.s" <alinsoar@voila.fr>
To: Emacs-devel@gnu.org
Subject: interactive?
Date: Mon, 18 Jan 2010 05:32:02 -0800 (PST)	[thread overview]
Message-ID: <27210523.post@talk.nabble.com> (raw)


I do not understand the use of (interactive )

(defun x (n)
  (interactive "P")
  n)

(symbol-function 'x)

(lambda (n) (interactive "P") n)

I see that it is added to lambda-expression, but what is the effect of
evaluation from minibuffer or from inside some code?

Where in the evaluator one makes the diff between interactive and
non-interactive?

Please, can somebody explain me what is the implementation of interactive,
from the moment where it is read up to evaluating ?








-- 
View this message in context: http://old.nabble.com/interactive--tp27210523p27210523.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.





             reply	other threads:[~2010-01-18 13:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 13:32 alin.s [this message]
2010-01-18 13:44 ` interactive? Andreas Schwab
2010-01-18 14:03   ` interactive? alin.s
2010-01-18 14:00 ` interactive? tomas
2010-01-18 14:10   ` interactive? alin.s

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=27210523.post@talk.nabble.com \
    --to=alinsoar@voila.fr \
    --cc=Emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).