[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save-excursion again
From: |
Lennart Borgman |
Subject: |
Re: save-excursion again |
Date: |
Sat, 19 Jun 2010 19:30:33 +0200 |
On Sat, Jun 19, 2010 at 7:23 PM, Stephen J. Turnbull <address@hidden> wrote:
> Lennart Borgman writes:
>
> > > What is wrong with just saving the point in the buffer you are
> > > interested and then returning to that, i.e.
> >
> > (let ((here (point)))
> > ...
> > (prog1
> > return_value
> > (goto-char here)))
>
> No protection against abnormal exits or changes to the mark.
I see, thanks.
> 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?
I really think that would be useful.
- save-excursion again, Uday S Reddy, 2010/06/18
- Re: save-excursion again, Stefan Monnier, 2010/06/18
- Re: save-excursion again, David Kastrup, 2010/06/18
- Re: save-excursion again, Uday S Reddy, 2010/06/18
- Re: save-excursion again, Stefan Monnier, 2010/06/18
- Re: save-excursion again, Stephen J. Turnbull, 2010/06/19
- Re: save-excursion again, Lennart Borgman, 2010/06/19
- Re: save-excursion again, Lennart Borgman, 2010/06/19
- Re: save-excursion again, Stephen J. Turnbull, 2010/06/19
- Re: save-excursion again,
Lennart Borgman <=
- Re: save-excursion again, Stefan Monnier, 2010/06/25
- Re: save-excursion again, Stephen J. Turnbull, 2010/06/25
- Re: save-excursion again, Stefan Monnier, 2010/06/30
- Re: save-excursion again, Uday S Reddy, 2010/06/26
- Re: save-excursion again, Stefan Monnier, 2010/06/30
- Re: save-excursion again, Lennart Borgman, 2010/06/30
- Re: save-excursion again, Uday S Reddy, 2010/06/19
Re: save-excursion again, Davis Herring, 2010/06/18