|
|
Log in / Subscribe / Register

Emacs distributions are not GPL-compliant

Emacs distributions are not GPL-compliant

Posted Jul 29, 2011 16:47 UTC (Fri) by bitshifter (guest, #70716)
In reply to: Emacs distributions are not GPL-compliant by iabervon
Parent article: Emacs distributions are not GPL-compliant

I think I'm missing something here. How can one have dynamically scoped variables in C?


to post comments

Emacs distributions are not GPL-compliant

Posted Jul 29, 2011 17:02 UTC (Fri) by quotemstr (subscriber, #45331) [Link] (1 responses)

Emacs C sources are tightly integrated into the Lisp engine, and C functions can bind variables just as Lisp can. In fact, we've even laid the groundwork for making these bindings thread-local when we have threads one day.

Emacs distributions are not GPL-compliant

Posted Jul 29, 2011 17:41 UTC (Fri) by bitshifter (guest, #70716) [Link]

Could you point me at a reference for this? I'm intrigued on the mechanics and my google-fu is proving to be a little weak.

Emacs distributions are not GPL-compliant

Posted Jul 29, 2011 17:22 UTC (Fri) by iabervon (subscriber, #722) [Link]

Above is a good description of why you'd do that; as for how you can do it: they're accessed with macros, and the C preprocessor can do interesting things.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds