emacs-devel
[Top][All Lists]
Advanced

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

Re: save-excursion and the mark


From: Stefan Monnier
Subject: Re: save-excursion and the mark
Date: Wed, 15 Apr 2015 08:53:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> You are maintaining an API with many thousands of users. Don't break it.

Maintaing broken APIs is all a matter of tradeoffs.  We happen to
disagree on those tradeoffs here.  So far your case is the only one.
If/when the many other cases come storming, I might reconsider those
tradeoffs, of course.

> If you must, deprecate it. Introduce save-point, and add "You probably
> want to use save-point" to the docstring of save-excursion.

That wouldn't solve the problems with save-excursion.


        Stefan



reply via email to

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