From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14003: 24.3.50; sgml-mode: support angle brackets inside jsp tags Date: Wed, 03 Apr 2013 14:25:48 -0400 Message-ID: References: <87k3p2rbc4.fsf@yandex.ru> <5159F170.9020903@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365013590 18457 80.91.229.3 (3 Apr 2013 18:26:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 18:26:30 +0000 (UTC) Cc: 14003-done@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 20:26:57 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNSOd-000307-QI for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 20:26:55 +0200 Original-Received: from localhost ([::1]:35379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNSOF-0004fk-2D for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 14:26:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNSNp-00042m-A2 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2013 14:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNSNi-00033N-1j for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2013 14:26:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNSNh-000338-Fw for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2013 14:25:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UNSQg-0000UH-5C for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2013 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2013 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14003-done@debbugs.gnu.org id=D14003.13650137371863 (code D ref 14003); Wed, 03 Apr 2013 18:29:02 +0000 Original-Received: (at 14003-done) by debbugs.gnu.org; 3 Apr 2013 18:28:57 +0000 Original-Received: from localhost ([127.0.0.1]:60441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNSQb-0000Ty-0b for submit@debbugs.gnu.org; Wed, 03 Apr 2013 14:28:57 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:32220) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNSQY-0000Tr-JK for 14003-done@debbugs.gnu.org; Wed, 03 Apr 2013 14:28:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GDMEdBJEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GDMEdBJEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6402642" Original-Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Apr 2013 14:25:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8A91967A1E; Wed, 3 Apr 2013 14:25:48 -0400 (EDT) In-Reply-To: <5159F170.9020903@yandex.ru> (Dmitry Gutov's message of "Tue, 02 Apr 2013 00:43:28 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73118 Archived-At: >> I agree doing it in sgml-mode would be simpler. > I've thought about it some more, and looks like it would be incompatible > with what mmm-mode is currently doing. One of the latest additions is the > composite syntax-propertize-function: > https://github.com/purcell/mmm-mode/blob/master/mmm-region.el#L806 > It iterates over the regions and calls syntax-propertize-function of each > major mode, passing it the bounds of the region. So adding propertization of > angle brackets to sgml-syntax-propertize-function won't help because it > won't be called on submode regions. If don't use mmm-mode, then it should work. But indeed when you use mmm-mode to handle the <%...%> text, then it should be mmm-mode's task to handle that problem. Stefan "not saying that it's easy for mmm-mode to handle the problem"