[Top][All Lists]

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

Re: save-excursion again

From: Stefan Monnier
Subject: Re: save-excursion again
Date: Fri, 18 Jun 2010 11:29:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I don't see how this process is supposed to terminate if users find
> counterexamples.  Presumably the original code is then reinstated, and
> the whole procedure starts from the beginning.

No, when we find a bug we replace the code with something *else*.
Typically we replace (with-current-buffer B ...) by
(with-current-buffer B (save-excursion ...)), or is some other case we
have to replace it with (save-excursion B (with-current-buffer ...)).

> It would not appear that there is a way to _intentionally_ use that
> construct without you eventually replacing it.

That's right.


reply via email to

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