unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Musings on creating an HTML-based WYSIWYG mode
Date: Tue, 01 May 2018 21:45:00 -0400	[thread overview]
Message-ID: <jwvtvrqj0n7.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: m3y3h3tohw.fsf@gnus.org

> Let's say the user is typing away at something resembling this
> paragraph, and then decides to make "typing" bold, so the user would go
> back to that work, mark it and issue whatever command there is for "make
> this bold".  The mode would do the change to the HTML document, ask shr
> to re-render it, and then display the results.

Sounds OK.

> This is, of course, not like what Emacs does normally when editing text,
> and would break a lot of invariants that people are used to.

I don't think so, actually.  At least, I don't think it should be very
serious issue (and in the worst case we could do a comparison between
the old and new rendering to try and modify only the "relevant" portion
of the buffer).
IOW, nothing too worrisome.

> So here's what I think: I think somebody (i.e., me) should try
                                                  ^^
Huh?  Me?  No way!  I think you meant you!

> But like I said, I don't have time at the moment.  :-)

Sounds like the ideal moment to start hacking then!


        Stefan




  parent reply	other threads:[~2018-05-02  1:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-01 14:54 Musings on creating an HTML-based WYSIWYG mode Lars Ingebrigtsen
2018-05-01 19:00 ` Søren Pilgård
2018-05-01 20:11   ` Lars Ingebrigtsen
2018-05-02  8:16     ` Søren Pilgård
2018-05-02  9:22     ` Joost Kremers
2018-05-02  9:36       ` Van L
2018-05-02  1:45 ` Stefan Monnier [this message]
2018-05-02  9:50   ` Lars Ingebrigtsen
2018-05-02 10:36     ` Yuri Khan
2018-05-02 10:43       ` Lars Ingebrigtsen
2018-05-02 10:49         ` Yuri Khan
2018-05-02 20:32   ` Michael Heerdegen
2018-05-02  3:11 ` Richard Stallman
2018-05-02  3:50   ` Van L

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=jwvtvrqj0n7.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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 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).