unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: PENG Kevin <kevin.remegame@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Heerdegen <michael_heerdegen@web.de>,
	Eli Zaretskii <eliz@gnu.org>,
	73663@debbugs.gnu.org
Subject: bug#73663: 29.4; indirect-buffer behaviour is not correct
Date: Sat, 12 Oct 2024 21:05:21 +0800	[thread overview]
Message-ID: <87cyk5xxvv.fsf@gmail.com> (raw)
In-Reply-To: <jwva5fd8n29.fsf-monnier+emacs@gnu.org>


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 <monnier@iro.umontreal.ca> 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.





      reply	other threads:[~2024-10-12 13:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-06 15:42 bug#73663: 29.4; indirect-buffer behaviour is not correct PENG Kevin
2024-10-06 16:22 ` Eli Zaretskii
2024-10-07 14:34   ` PENG Kevin
2024-10-07 22:49     ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-09  5:23       ` PENG Kevin
2024-10-09 12:46         ` Eli Zaretskii
2024-10-12 12:56           ` PENG Kevin
2024-10-12 14:26             ` Eli Zaretskii
2024-10-09 12:46         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-12 13:05           ` PENG Kevin [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyk5xxvv.fsf@gmail.com \
    --to=kevin.remegame@gmail.com \
    --cc=73663@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).