From: Dmitry Gutov <dmitry@gutov.dev>
To: Stefan Monnier <monnier@iro.umontreal.ca>, Eli Zaretskii <eliz@gnu.org>
Cc: 72068@debbugs.gnu.org, Stefan Kangas <stefankangas@gmail.com>,
chansey97@gmail.com
Subject: bug#72068: show-paren-mode does not match Chinese parentheses correctly
Date: Thu, 1 Aug 2024 04:10:05 +0300 [thread overview]
Message-ID: <037d0033-2516-4d01-a909-0b208e7a3488@gutov.dev> (raw)
In-Reply-To: <jwvle1pn1yz.fsf-monnier+emacs@gnu.org>
On 25/07/2024 14:34, Stefan Monnier via Bug reports for GNU Emacs, the
Swiss army knife of text editors wrote:
>> And if changing the syntax table is the solution, users can already do
>> that if they want, right?
> Other than via things like `mmm-mode` (which I've never seen used to
> use different modes in strings than in code), I don't think they can.
IIRC Steve Purcell (who shares his config publicly for many other users)
used to have mmm-mode apply sql-mode inside Ruby heredocs (which are
fancy multiline strings, basically) that are "tagged" to contain SQL.
And here's somebody else who wanted to have html-mode inside a JS
string: https://github.com/dgutov/mmm-mode/issues/142 The intermediate
conclusion there is to use a ts-based config, though.
And as far as show-paren-mode goes, this might be something that
mmm-mode itself could have workarounds for anyway.
prev parent reply other threads:[~2024-08-01 1:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-12 5:03 bug#72068: show-paren-mode does not match Chinese parentheses correctly Siyuan Chen
2024-07-12 6:02 ` Eli Zaretskii
2024-07-12 12:45 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-24 20:11 ` Stefan Kangas
2024-07-25 5:20 ` Eli Zaretskii
2024-07-25 11:34 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-01 1:10 ` Dmitry Gutov [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=037d0033-2516-4d01-a909-0b208e7a3488@gutov.dev \
--to=dmitry@gutov.dev \
--cc=72068@debbugs.gnu.org \
--cc=chansey97@gmail.com \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=stefankangas@gmail.com \
/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.