[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for fields of `struct buffer'
From: |
Stefan Monnier |
Subject: |
Re: Patch for fields of `struct buffer' |
Date: |
Mon, 31 Jan 2011 15:03:28 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan> Variables that are captured by a closure are (by definition) lexically
Stefan> scoped, so they should not be affected by
Stefan> buffer/thread/keyboard-localness which only applies to
Stefan> dynamically-scoped variables.
> Ok, I think I see. I was trying to construct a test case and, IIUC, an
> inner `let' would make a new lexically-bound variable, not dynamically
> bind the outer one. Is that correct?
Exactly. Basically, lexically scoped vars don't use the symbol's
`value' cell at all, so their values only reside on the stack and other
such places and they should interact with concurrency without any extra
work, just like normal local C variables.
> I would try it but last time I checked out lexbind, I couldn't get it to
> build. Is it working now?
I could build it last time I tried it, but I haven't tried recently, and
it's been even (much) longer since I last bootstrapped it.
Stefan
- Re: Patch for fields of `struct buffer', (continued)
Re: Patch for fields of `struct buffer', Richard Stallman, 2011/01/29
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/30
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/01/30
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/01/31
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/01/31
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31
- Re: Patch for fields of `struct buffer',
Stefan Monnier <=
Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/01/31
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31
Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/01/31
Re: Patch for fields of `struct buffer', David De La Harpe Golden, 2011/01/31
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31
Re: Patch for fields of `struct buffer', David De La Harpe Golden, 2011/01/31
Re: Patch for fields of `struct buffer', Richard Stallman, 2011/01/31
Re: Patch for fields of `struct buffer', Richard Stallman, 2011/01/31
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/01/31