unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 56188@debbugs.gnu.org
Subject: bug#56188: 28.1; blink-matching-paren works wrong with non-ASCII parentheses
Date: Fri, 24 Jun 2022 17:16:35 +0300	[thread overview]
Message-ID: <835ykqcfjw.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB39200E075AAAB37AA98EA0ACC3B49@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)

> From: awrhygty@outlook.com
> Date: Fri, 24 Jun 2022 22:08:25 +0900
> 
> 
> In emacs-lisp-mode or lisp-intraction-mode, insert following text.
>   ;;abc def【ghi】
>   ;;【123】456 789
> 
> When the cursor is before 【ghi】, highlighting is not done.
> When the cursor is after  【ghi】, 'd' is highlighted.
> when the cursor is before 【123】, '6' is highlighted.
> when the cursor is after  【123】, highlighting is not done.

Looks like this is intentional: see the variable
multibyte-syntax-as-symbol.  It is t in these two modes.  If you set
it to nil, you get the behavior you expect.

So it looks like there's no bug here.





  parent reply	other threads:[~2022-06-24 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 13:08 bug#56188: 28.1; blink-matching-paren works wrong with non-ASCII parentheses awrhygty
2022-06-24 13:38 ` Eli Zaretskii
2022-06-24 14:05   ` Eli Zaretskii
2022-06-24 14:16 ` Eli Zaretskii [this message]
2022-06-24 18:42   ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=835ykqcfjw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56188@debbugs.gnu.org \
    --cc=awrhygty@outlook.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).