[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: point moved despite save-excursion, after deleting/reinserting regio
From: |
Eli Zaretskii |
Subject: |
Re: point moved despite save-excursion, after deleting/reinserting region |
Date: |
Wed, 17 Oct 2018 19:12:08 +0300 |
> From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
> Date: Wed, 17 Oct 2018 03:43:16 +0200
>
> I spent some time on one or two functions that modified a org source
> block, evaled it, and restored it as before the modification: after
> narrowing, I saved it using buffer-substring, and restored it using
> delete-region then insert what I saved.
>
> However doing that my point ends either at the beginning or the end of
> what I inserted, even after save-excursion is over.
>
> How to fix that?
Please explain what did you want the code to do instead, it's unclear
from your description.
- point moved despite save-excursion, after deleting/reinserting region, Garreau, Alexandre, 2018/10/16
- Re: point moved despite save-excursion, after deleting/reinserting region,
Eli Zaretskii <=
- Re: point moved despite save-excursion, after deleting/reinserting region, Garreau, Alexandre, 2018/10/17
- Re: point moved despite save-excursion, after deleting/reinserting region, Eli Zaretskii, 2018/10/17
- Re: point moved despite save-excursion, after deleting/reinserting region, Garreau, Alexandre, 2018/10/18
- Re: point moved despite save-excursion, after deleting/reinserting region, Yuri Khan, 2018/10/18
- Re: point moved despite save-excursion, after deleting/reinserting region, Garreau, Alexandre, 2018/10/18
- Re: point moved despite save-excursion, after deleting/reinserting region, Eli Zaretskii, 2018/10/18
- Saving (and finding) markers (Was: Re: point moved despite save-excursion, after deleting/reinserting region), Garreau, Alexandre, 2018/10/18
- Re: Saving (and finding) markers (Was: Re: point moved despite save-excursion, after deleting/reinserting region), Eli Zaretskii, 2018/10/18
- Re: Saving (and finding) markers, Garreau, Alexandre, 2018/10/18
- Re: Saving (and finding) markers, Eli Zaretskii, 2018/10/18