all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 14003-done@debbugs.gnu.org
Subject: bug#14003: 24.3.50; sgml-mode: support angle brackets inside jsp tags
Date: Wed, 03 Apr 2013 14:25:48 -0400	[thread overview]
Message-ID: <jwveherfp93.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <5159F170.9020903@yandex.ru> (Dmitry Gutov's message of "Tue, 02 Apr 2013 00:43:28 +0400")

>> 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"





      reply	other threads:[~2013-04-03 18:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20  3:36 bug#14003: 24.3.50; sgml-mode: support angle brackets inside jsp tags Dmitry Gutov
2013-03-26 16:49 ` Stefan Monnier
2013-04-01 13:32 ` Stefan Monnier
2013-04-01 20:43   ` Dmitry Gutov
2013-04-03 18:25     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwveherfp93.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=14003-done@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.