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: [ELPA] Update package: psgml (discard patch)
Date: Wed, 26 Apr 2017 08:34:55 -0400	[thread overview]
Message-ID: <jwvmvb3cpxh.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: m01ssftpc8.fsf@gmail.com

>> BTW, Tom Tromey has recently added a new mhtml-mode to Emacs, which
>> "simply" combines Emacs's html-mode js-mode and css-mode.  It won't
>> directly help your dsssl-mode, but maybe you could try to see if his
>> approach could be used for your SGML+DSSSL case.  I don't see any strong
>> reason why sgml-mode + dsssl-mode would be harder than what he did.
>> I think making it work with psgml rather than the plain html-mode could
>> be a fair bit of work, OTOH.
> Thanks, I'll look into it if I can find it.

It's in Emacs's master branch (i.e. will be included in Emacs-26).

>> While talking about ideas, I'd like to "merge" psgml-mode and sgml-mode.
>> What "merge" means here is not completely clear, but most likely it
>> means that psgml-mode would derive from sgml-mode, a bit like js2-mode
>> derives from js-mode nowadays.
> I'm actually a bit curious about the differences between the two modes.
> They basically do the same thing, but psgml uses its own buffer walker and
> builtin SGML uses syntax tables and regular expressions... lots of functions
> and variables named the same, so much so that I deleted sgml-mode.el because
> they kept stepping on each other.

Yes, the naming is a problem.  It would probably make sense to rename
psgml's "sgml-" to "psgml-" as a first step towards sanity.


        Stefan




      reply	other threads:[~2017-04-26 12:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-16 22:38 [ELPA] Update package: psgml Lucien Pullen
2017-04-17 16:34 ` Stefan Monnier
2017-04-19  7:39   ` Lucien Pullen
2017-04-19 12:35     ` Stefan Monnier
2017-04-21  8:06       ` [ELPA] Update package: psgml (discard patch) Lucien Pullen
2017-04-21 14:00         ` Stefan Monnier
2017-04-26 10:50           ` Lucien Pullen
2017-04-26 12:34             ` Stefan Monnier [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=jwvmvb3cpxh.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).