emacs-devel
[Top][All Lists]
Advanced

[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, 25 Jun 2010 23:20:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Which brings up a question for Stefan.  Are you saying that the
> condition-case-save-point-and-mark aspect of `save-excursion' should
> be abstracted out (say as `save-region') and separated from the
> save-buffer aspect?

Not sure what you mean.  If you mean we should introduce
a save-excursion-but-not-buffer, then I think it's a bad idea, because
such a thing would still have to save a marker (so there's no
improvement in terms of the amount of data saved) and the semantics of
"restore point in another buffer" is murky in Emacs.


        Stefan



reply via email to

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