[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to temporarily show an image in an Emacs buffer?
From: |
Marcin Borkowski |
Subject: |
Re: How to temporarily show an image in an Emacs buffer? |
Date: |
Sun, 12 Mar 2023 08:46:38 +0100 |
User-agent: |
mu4e 1.1.0; emacs 30.0.50 |
On 2023-03-12, at 04:37, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> I didn't experiment with this, but I'm afraid that interlacing changes
>> to the buffer done by the user (when recording undo changes) and by the
>> Elisp code (while `buffer-undo-list' is bound to `t') may result in
>> undoing being impossible.
>
> Yes, what is allowed is very limited. AFAIU anything changing any
> positions is already very bad (undo positions are numbers, not markers).
Thanks, that confirms my reservations, and shows that overlays are the
way to go.
Best,
--
Marcin Borkowski
http://mbork.pl
Re: How to temporarily show an image in an Emacs buffer?, Eli Zaretskii, 2023/03/08
Re: How to temporarily show an image in an Emacs buffer?, Stefan Monnier, 2023/03/10