emacs-devel
[Top][All Lists]
Advanced

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

Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs


From: Stefan Monnier
Subject: Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?)
Date: 09 Dec 2003 21:49:48 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Actually, considering the warnings in the manual about the necessary
> orders of exception-catchers and buffer switches and let and similar,
> I would expect that the different semantics would in most cases be
> rather an advantage (and what the programmer would have expected
> naively in the first place).  A basically static variable allocation
> that gets saved and restored on a stack is more prone to surprising
> side effects than a straightforward stack.

Yes, the semantics would be cleaner, but check the example I posted where
we rebind default-directory and switch back&forth between buffers: the
old semantics is odd but some code relies on it (basically using `let'
instead of `cd').


        Stefan




reply via email to

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