Subject: bug#73663: 29.4; indirect-buffer behaviour is not correct

From: PENG Kevin <[email-masked]>
Date: Sat, 12 Oct 2024 21:05:21 +0800

Yeah, this is a good idea to implement the preview feature
you mentioned.

An auxiliary buffer is needed to store the preview content.
But should synchronous its content with the base buffer.
This also need some effort on buffer management.
More complex then a shared one.

Stefan Monnier <[email-masked]> writes:

> [+]
>> Due to svg in emacs is not fully support, i have implemented this
>> by using =impatient-mode= with web-browser, when the svg file modified the
>> preview will be changed at the same time.
>
> It would probably be a good idea to add support for some kind of
> "simultaneous preview" to the nxml-mode when editing an SVG, such that
> it creates an auxiliary buffer in image-mode and updates it e.g. when
> you save the file.
>
> The same probably holds for other similar text+image formats, like XPM
> and PostScript.
>
> Maybe it should be some kind of `image-minor-mode` which lets you either
> switch between `image-mode` and some other mode (like now) or display
> the image in an auxiliary buffer.
>
>
>         Stefan

-- 
Best Regards.