From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Update package: psgml (discard patch) Date: Wed, 26 Apr 2017 08:34:55 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493210165 8011 195.159.176.226 (26 Apr 2017 12:36:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2017 12:36:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 26 14:36:02 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3MAq-0001vE-9s for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2017 14:36:00 +0200 Original-Received: from localhost ([::1]:55030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3MAw-0008UX-5W for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2017 08:36:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3MA0-0008Ro-FY for emacs-devel@gnu.org; Wed, 26 Apr 2017 08:35:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3M9u-0004rS-Sx for emacs-devel@gnu.org; Wed, 26 Apr 2017 08:35:08 -0400 Original-Received: from [195.159.176.226] (port=43488 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3M9u-0004pv-Mt for emacs-devel@gnu.org; Wed, 26 Apr 2017 08:35:02 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d3M9n-0000QJ-18 for emacs-devel@gnu.org; Wed, 26 Apr 2017 14:34:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:B/d1TZhC6T+8/FFFLsTEDSaeZ4s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214306 Archived-At: >> 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