all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: "Lars Ingebrigtsen" <larsi@gnus.org>,
	"積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 37938@debbugs.gnu.org
Subject: bug#37938: electric-pair-mode vs. U+0027 APOSTROPHE in mixed modes like HTML
Date: Tue, 29 Oct 2019 15:56:38 +0200	[thread overview]
Message-ID: <2d99370c-9ad7-7166-aa24-7067ba65a99e@yandex.ru> (raw)
In-Reply-To: <87ftjb22e0.fsf@gnus.org>

On 29.10.2019 13:54, Lars Ingebrigtsen wrote:
 > and in that context it's definitely a quote character.  But when
 > you're
 > typing text in HTML, then it's not.
 >
 > mhtml already has support for different syntaxes in CSS/JS/HTML -- is
 > there a way to switch the syntax table when in tags and when not?

I'm not sure we need to go that far. sgml-syntax-propertize-rules 
already changes syntax on quotes typed outside of tags.

It's probably up to electric-pair-mode to respect that.





  reply	other threads:[~2019-10-29 13:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27  0:14 bug#37938: electric-pair-mode vs. U+0027 APOSTROPHE in mixed modes like HTML 積丹尼 Dan Jacobson
2019-10-28 15:35 ` Lars Ingebrigtsen
2019-10-29  1:02   ` 積丹尼 Dan Jacobson
2019-10-29 11:54     ` Lars Ingebrigtsen
2019-10-29 13:56       ` Dmitry Gutov [this message]
2019-10-29 21:24         ` Lars Ingebrigtsen

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=2d99370c-9ad7-7166-aa24-7067ba65a99e@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=37938@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.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 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.