emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] Update package: psgml (discard patch)


From: Stefan Monnier
Subject: Re: [ELPA] Update package: psgml (discard patch)
Date: Wed, 26 Apr 2017 08:34:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]