* Re: Running a lisp script
[not found] ` <8762dxw4l6.fsf@kuiper.lan.informatimago.com>
@ 2012-04-22 6:06 ` David Combs
2012-04-22 14:01 ` Juanma Barranquero
0 siblings, 1 reply; 4+ messages in thread
From: David Combs @ 2012-04-22 6:06 UTC (permalink / raw)
To: help-gnu-emacs
In article <8762dxw4l6.fsf@kuiper.lan.informatimago.com>,
Pascal J. Bourguignon <pjb@informatimago.com> wrote:
>
>That said, emacs lisp is close enough to Common Lisp. Learning Common
>Lisp, you'll know enough to write emacs lisp code. (Mostly, emacs lisp
>is a subset of Common Lisp; there's also (require 'cl) to provide more
>CL-like operators). ...
>
>
>
>--
>__Pascal Bourguignon__ http://www.informatimago.com/
>A bad day in () is better than a good day in {}.
Outta say something about those new scoping rules that Sussman and IforgetWho
invented 30 or more years ago and created Scheme to use it with, and that
later, when Common Lisp was being decided etc, put it there too.
Too late at night for me to remember the name of the "scheme", but
Perl added it via its (sic) "local" variables. AH -- dynamic binding,
that's what it's called. Which Elisp doesn't have, being derived from
MacLisp thinking.
That was a long time ago. Is what I remember actually a correct memory?
Thanks,
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running a lisp script
2012-04-22 6:06 ` Running a lisp script David Combs
@ 2012-04-22 14:01 ` Juanma Barranquero
2012-04-22 19:26 ` PJ Weisberg
[not found] ` <mailman.444.1335122807.751.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Juanma Barranquero @ 2012-04-22 14:01 UTC (permalink / raw)
To: David Combs; +Cc: help-gnu-emacs
On Sun, Apr 22, 2012 at 08:06, David Combs <dkcombs@panix.com> wrote:
> Too late at night for me to remember the name of the "scheme", but
> Perl added it via its (sic) "local" variables. AH -- dynamic binding,
> that's what it's called. Which Elisp doesn't have, being derived from
> MacLisp thinking.
>
> That was a long time ago. Is what I remember actually a correct memory?
I think you've mixed a bit lexical and dynamic scoping (Perl "local"
is indeed dynamic scoping, but Scheme's novelty was lexical scoping,
which Common Lisp copied).
http://en.wikipedia.org/wiki/Lexical_scope#Lexical_scoping_and_dynamic_scoping
Juanma
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running a lisp script
2012-04-22 14:01 ` Juanma Barranquero
@ 2012-04-22 19:26 ` PJ Weisberg
[not found] ` <mailman.444.1335122807.751.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: PJ Weisberg @ 2012-04-22 19:26 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: David Combs, help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 873 bytes --]
On Sunday, April 22, 2012, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Sun, Apr 22, 2012 at 08:06, David Combs <dkcombs@panix.com> wrote:
>
>> Too late at night for me to remember the name of the "scheme", but
>> Perl added it via its (sic) "local" variables. AH -- dynamic binding,
>> that's what it's called. Which Elisp doesn't have, being derived from
>> MacLisp thinking.
>>
>> That was a long time ago. Is what I remember actually a correct memory?
>
> I think you've mixed a bit lexical and dynamic scoping (Perl "local"
> is indeed dynamic scoping, but Scheme's novelty was lexical scoping,
> which Common Lisp copied).
And to answer the question, elisp supports dynamic scoping, and support for
lexical scoping will be added in Emacs 24.1.
--
-PJ
Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.
[-- Attachment #2: Type: text/html, Size: 1147 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running a lisp script
[not found] ` <mailman.444.1335122807.751.help-gnu-emacs@gnu.org>
@ 2012-05-14 1:51 ` David Combs
0 siblings, 0 replies; 4+ messages in thread
From: David Combs @ 2012-05-14 1:51 UTC (permalink / raw)
To: help-gnu-emacs
In article <mailman.444.1335122807.751.help-gnu-emacs@gnu.org>,
PJ Weisberg <pjweisberg@gmail.com> wrote:
>-=-=-=-=-=-
>
>On Sunday, April 22, 2012, Juanma Barranquero <lekktu@gmail.com> wrote:
>> On Sun, Apr 22, 2012 at 08:06, David Combs <dkcombs@panix.com> wrote:
>>
>>> Too late at night for me to remember the name of the "scheme", but
>>> Perl added it via its (sic) "local" variables. AH -- dynamic binding,
>>> that's what it's called. Which Elisp doesn't have, being derived from
>>> MacLisp thinking.
>>>
>>> That was a long time ago. Is what I remember actually a correct memory?
>>
>> I think you've mixed a bit lexical and dynamic scoping (Perl "local"
>> is indeed dynamic scoping, but Scheme's novelty was lexical scoping,
>> which Common Lisp copied).
>
>And to answer the question, elisp supports dynamic scoping, and support for
>lexical scoping will be added in Emacs 24.1.
>
>--
>-PJ
>
>Gehm's Corollary to Clark's Law: Any technology distinguishable from
>magic is insufficiently advanced.
>
>-=-=-=-=-=-
>[Alternative: text/html]
>-=-=-=-=-=-
WOW!
David
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-14 1:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <0Ixar.31221$M%7.9998@newsfe10.iad>
[not found] ` <87obrpckkm.fsf@notengoamigos.org>
[not found] ` <JXyar.20747$pc1.8169@newsfe11.iad>
[not found] ` <8762dxw4l6.fsf@kuiper.lan.informatimago.com>
2012-04-22 6:06 ` Running a lisp script David Combs
2012-04-22 14:01 ` Juanma Barranquero
2012-04-22 19:26 ` PJ Weisberg
[not found] ` <mailman.444.1335122807.751.help-gnu-emacs@gnu.org>
2012-05-14 1:51 ` David Combs
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).