From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Saving (and finding) markers
Date: Thu, 18 Oct 2018 23:11:13 +0300 [thread overview]
Message-ID: <837eifqala.fsf@gnu.org> (raw)
In-Reply-To: <87sh13oxn5.fsf@portable.galex-713.eu>
> 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.
next prev parent reply other threads:[~2018-10-18 20:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-17 1:43 point moved despite save-excursion, after deleting/reinserting region Garreau, Alexandre
2018-10-17 16:12 ` Eli Zaretskii
2018-10-17 20:13 ` Garreau, Alexandre
2018-10-18 2:38 ` Eli Zaretskii
2018-10-18 9:50 ` Garreau, Alexandre
2018-10-18 11:32 ` Yuri Khan
2018-10-18 11:45 ` Garreau, Alexandre
2018-10-18 13:16 ` Eli Zaretskii
2018-10-18 18:08 ` Saving (and finding) markers (Was: Re: point moved despite save-excursion, after deleting/reinserting region) Garreau, Alexandre
2018-10-18 18:32 ` Eli Zaretskii
2018-10-18 19:36 ` Saving (and finding) markers Garreau, Alexandre
2018-10-18 20:11 ` Eli Zaretskii [this message]
2018-10-19 1:15 ` Stefan Monnier
2018-10-19 6:38 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837eifqala.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.