[Top][All Lists]

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

Re: run-with-timer does not display message

From: Emanuel Berg
Subject: Re: run-with-timer does not display message
Date: Sat, 19 Jul 2014 19:43:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I don't think Stefan meant backtick-type of quoting.
>> He meant this:
>> M-: (run-with-timer 5 nil '(lambda ...
> Indeed.

Yes, of course I understood that because that was the
only quoting going on. That's why I supplied the
`equal' example that seems to indicate that quoting and
backticking (without commas) are equal (?).

Here is what I remember from this - I'm shooting from
the holster (a bit) here, feel free to correct

OK, dynamic scope is when everything is looked up only
when needed, that's the dynamic (time) thing to it,
because things can be different at different
times. This is what makes the whole dynamic environment
in Emacs possible which, by comparison, makes even cool
languages like C a pain to work with for large,
interactive systems...

Lexical scope is when things are encoded once and then
they don't change because they are passed around as
they are. Because they can be encoded different things
it makes sense calling this lexical (because the value
is simply read, not looked up) and not "static".

This corresponds to an extent to
call-by-value/call-by-reference, and in compiled
languages there are super-advanced use of pointers and
heap data structures to make up for the lack of "the


1. How do I put Emacs in lexical mode? Do I do that
   temporarily (?!) with a Elisp block around certain
   code? Or is it a global option? If so, won't that
   screw up everything else in unpredictable ways?
   Also, isn't there some hybrid mode where this gets
   sorted out in the background?

2. Interestingly, what I can see, my method, with
   backticks and commas, isn't that "lexical" - because
   then, there, the actual values are inserted?

underground experts united

reply via email to

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