[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save-excursion and the mark
From: |
Eli Zaretskii |
Subject: |
Re: save-excursion and the mark |
Date: |
Wed, 25 Feb 2015 17:56:52 +0200 |
> From: Ivan Shmakov <address@hidden>
> Date: Wed, 25 Feb 2015 09:18:00 +0000
>
> FWIW, I’m having a hard time thinking of /why/ someone may make
> use of such a behavior. The mark is pretty much a UI feature,
> and the code isn’t supposed to ever touch it /unless/ the very
> intent of said code is to change its position. At which point
> saving and restoring its state becomes contrary to that intent.
The code inside save-excursion could inadvertently or unknowingly
invoke functions that push the mark.
- Re: save-excursion and the mark, (continued)
Re: save-excursion and the mark, Andreas Röhler, 2015/02/24
Re: save-excursion and the mark, Ivan Shmakov, 2015/02/25
- Re: save-excursion and the mark,
Eli Zaretskii <=