[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving (and finding) markers
From: |
Eli Zaretskii |
Subject: |
Re: Saving (and finding) markers |
Date: |
Thu, 18 Oct 2018 23:11:13 +0300 |
> From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
> Cc: help-gnu-emacs@gnu.org
> Date: Thu, 18 Oct 2018 21:36:14 +0200
>
> > I pointed you to replace-buffer-contents function, because AFAIU in
> > your situation it will modify the text while keeping as many markers
> > (including point) intact as possible. Did you try using it?
>
> I might then use a separate buffer so to store the original content,
> without doing the computation (C-c C-c) on it, and restore it later in
> original buffer?
>
> Looking to online manual it seems to be what I want, except it’s
> undefined on my GNU Emacs 25.1.1
Indeed, it appeared in Emacs 26.
- Re: point moved despite save-excursion, after deleting/reinserting region, (continued)
- 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/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 <=
- Re: Saving (and finding) markers, Stefan Monnier, 2018/10/18
- Re: Saving (and finding) markers, Eli Zaretskii, 2018/10/19