[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Transposing words over middle words
From: |
Drew Adams |
Subject: |
RE: Transposing words over middle words |
Date: |
Sat, 18 Nov 2017 20:37:17 -0800 (PST) |
> > There is `save-mark-and-excursion', if
> > that helps.
>
> Not here it isn't :) GNU Emacs 24.4.1
> Where do you have it?
It was introduced in Emacs 25. It is what used
to be called `save-excursion'. ;-)
Why they didn't instead leave `save-excursion' with
its longstanding behavior and create a new function
(e.g. `save-point' or whatever) to do what the
Emacs 25+ `save-excursion' does, I don't know. That
would not have been backward incompatible.
The Emacs NEWS says only this:
** 'save-excursion' does not save&restore the mark any more.
Use 'save-mark-and-excursion' if you want the old behavior.
Of course, if you want the old behavior in both
old and new releases, now you have to call one
or the other conditionally, testing
(fboundp `save-mark-and-excursion').
- Transposing words over middle words, Bob Proulx, 2017/11/15
- Re: Transposing words over middle words, Eric Abrahamsen, 2017/11/15
- Re: Transposing words over middle words, Emanuel Berg, 2017/11/15
- Re: Transposing words over middle words, ken, 2017/11/18
- Re: Transposing words over middle words, Emanuel Berg, 2017/11/18
- Re: Transposing words over middle words, ken, 2017/11/18
- Re: Transposing words over middle words, Emanuel Berg, 2017/11/18
- Re: Transposing words over middle words, John Mastro, 2017/11/18
- Re: Transposing words over middle words, Emanuel Berg, 2017/11/18
- RE: Transposing words over middle words,
Drew Adams <=
- RE: Transposing words over middle words, Drew Adams, 2017/11/18
- Re: Transposing words over middle words, Emanuel Berg, 2017/11/19
Re: Transposing words over middle words, Charles A. Roelli, 2017/11/16
Re: Transposing words over middle words, Emanuel Berg, 2017/11/16
RE: Transposing words over middle words, Drew Adams, 2017/11/16