From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#72068: show-paren-mode does not match Chinese parentheses correctly Date: Wed, 24 Jul 2024 13:11:37 -0700 Message-ID: References: <86y167kv06.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40170"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72068@debbugs.gnu.org, Siyuan Chen To: Stefan Monnier , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 24 22:13:19 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sWiMR-000AM2-JY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jul 2024 22:13:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWiM5-0001cP-IT; Wed, 24 Jul 2024 16:12:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWiM3-0001bi-Tb for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 16:12:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWiM3-0005KR-LU for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 16:12:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWiM9-0001lY-Mp for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 16:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jul 2024 20:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72068 X-GNU-PR-Package: emacs Original-Received: via spool by 72068-submit@debbugs.gnu.org id=B72068.17218519726772 (code B ref 72068); Wed, 24 Jul 2024 20:13:01 +0000 Original-Received: (at 72068) by debbugs.gnu.org; 24 Jul 2024 20:12:52 +0000 Original-Received: from localhost ([127.0.0.1]:34557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWiM0-0001l5-Fy for submit@debbugs.gnu.org; Wed, 24 Jul 2024 16:12:52 -0400 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:49357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWiLx-0001kj-QA for 72068@debbugs.gnu.org; Wed, 24 Jul 2024 16:12:50 -0400 Original-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5ab2baf13d9so249319a12.2 for <72068@debbugs.gnu.org>; Wed, 24 Jul 2024 13:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721851898; x=1722456698; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=0DRnb9ueSLnLIeiM8Dyfx25OQ3/23ALVZ0DckRl53Jw=; b=EekMtJDrop9DEp1YBnH7r0Uh/b9UQQNxrDPIs7tu1sEOrRCAE9kInPqwVQggmy7+1x FJJFohORM6uahjwtZXhBsXJbV/D+xNCV5LHYWJXoKvs9x9WCzvctZhjGH/8+UjRzmoos i/HrnAHa+fjWEYM5wgpnmfjOhv2zucs+6oiypUKunt4lmC6g7st0FpFq1N4O6VKuwHNE zzxkG5x8V9GMey+29+uAgAhkvBpDj98fvBoQYioLwRpnQCndl1HdpImo4bCFay/rGRRX c5Ff3cIv0vte5JLVXvYugk8xo8kosRUvGa/QhHqT4exIq67lHTScDVsGa/ML7ilYCuUd ZhDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721851898; x=1722456698; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0DRnb9ueSLnLIeiM8Dyfx25OQ3/23ALVZ0DckRl53Jw=; b=bOnDPIdCijwQwAs/cMejMkmbtmX/TwefBl6l8QzkDoQM5yQKXbFVltUJzqYoTWQg5E s72XvAmmiHJ/LLik4f5iKXdko4ElocfuWJyLuBb3OFOkotP9AHLgLduC06FOREkzcgmx 05AGNjYgASQRBjokIl312YyEtYTyRAkFpEQ5s5yVmQY94vbOnEpl19PIUixLSxFe5NGp L1rzdZkOiIDt0i8aLQhXHuavKf0r3NCCwIdraWsUUfruRAeFB5pey0Q4rIcVsX7UtnUn 1N8bjA01lLmk1TiPh4sAdXf5xiS20AUfb9Tr6bwAHOX3efWaaCWgtvk4GW0GeoF/xY91 GKTA== X-Gm-Message-State: AOJu0Yya9hB7jiYKh6TXQWk3AceAAMiWYayiRi8NEpsjMi0Opqto7K9/ 3m8pwhI4DSJr5GvSd881bzes+ENlozutt8/e7D0j5cNPwRRumJPrLds3Z5ieNHj441pHQVncc4a yta3kUC73PIE6O5bCFyAv0YQ+opg= X-Google-Smtp-Source: AGHT+IFIhtI472AdrhRSzV8RCT1UYDiTkLaZoAPk9NeyPElEPdsO9OzzFxj+G/eTZQMp06af4ChpZpPwOmejLhwjKNo= X-Received: by 2002:a05:6402:26ce:b0:5a0:c709:aa0b with SMTP id 4fb4d7f45d1cf-5ac2c1c441bmr335953a12.24.1721851897438; Wed, 24 Jul 2024 13:11:37 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 24 Jul 2024 13:11:37 -0700 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289255 Archived-At: severity 72068 wishlist thanks Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Eli Zaretskii [2024-07-12 09:02:49] wrote: >> I'm not sure this is a bug, since I think Lisp allows those characters >> to be treated as symbol-constituent. Stefan, am I right? > > I think that's the idea, indeed. Of course, we don't have to obey the > Emacs Lisp syntax, but I think it makes sense to do so. > Admittedly, it would be nice to allow the use of other syntax rules inside > comments and string for these kinds of situations. I'm not sure if this should be closed as notabug or not, but I'm tagging it as wishlist at least. Feel free to close if that makes more sense.