From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#73978: 31.0.50; Text syntax applied on too many things in tsx-ts-mode Date: Thu, 12 Dec 2024 04:52:27 +0200 Message-ID: <120cbe49-c34f-4f56-a8fa-80fd2a2480c6@gutov.dev> References: <1A3DAA8F-F00A-4984-AC0F-E62F021A690B@gmail.com> <8634k0ojpp.fsf@gnu.org> <1B168B41-6D66-422B-BA5E-17ABE5548353@gmail.com> <86bjy6m9is.fsf@gnu.org> <86serhjco6.fsf@gnu.org> <3d0c4cf6-1bc7-440e-8354-961ba5736e0d@gutov.dev> <56560205-B14A-4EA8-8818-90E27770A6C6@gmail.com> <763A8C73-8B15-43CC-98E2-5190C7941262@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Eli Zaretskii , Theodor Thornhill , 73978@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 03:53:23 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 1tLZKM-0005Lp-Sq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 03:53:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLZK6-0002Os-UR; Wed, 11 Dec 2024 21:53:06 -0500 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 1tLZK4-0002Od-AO for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 21:53:04 -0500 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 1tLZK2-0002nH-FX for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 21:53:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=Ctn7QJKamvR38JuLc7dCzckhJ6stOsobVrvvHou6M38=; b=AJQSgqo927HrOJa/T6rnZN4DgqYldjhuoTqjDA1QHO/9A/jo8Ut5xXQMOarUbmmZ8FUpZAu6h5d1ARGr2w1ODQre9PNQsdx/+ocUKlRMoG4gCXjTKYW5nkHuBU90o8WTQ3i+2UX6ZAhb/S4rNp0flqJhwHxehEPwZtW6h+lWc3hpybubd39iJuvkceM+a5ZlZ2gLqV9rkc0Zfv5eekiuLEEgkXGFkSeU0JErrWgXEBage9gxKtQgl28WxGr1tCrzQ2cqpdtpiAZkoNSbjex3mR9Xg7BHlAwcrQs9XSVfaKurvSbEvSLet7O7HucIdSc4li6lH1hBujCy7B27ulDmoA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLZK2-0008Uc-3M for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 21:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2024 02:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73978 X-GNU-PR-Package: emacs Original-Received: via spool by 73978-submit@debbugs.gnu.org id=B73978.173397196032516 (code B ref 73978); Thu, 12 Dec 2024 02:53:02 +0000 Original-Received: (at 73978) by debbugs.gnu.org; 12 Dec 2024 02:52:40 +0000 Original-Received: from localhost ([127.0.0.1]:37050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLZJg-0008SO-2w for submit@debbugs.gnu.org; Wed, 11 Dec 2024 21:52:40 -0500 Original-Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]:46577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLZJc-0008RV-Jt for 73978@debbugs.gnu.org; Wed, 11 Dec 2024 21:52:38 -0500 Original-Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4ADE7254011C; Wed, 11 Dec 2024 21:52:31 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Wed, 11 Dec 2024 21:52:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1733971951; x=1734058351; bh=Ctn7QJKamvR38JuLc7dCzckhJ6stOsobVrvvHou6M38=; b= lmxHNnRLRBidtaBZLjswymhC0a4WgD9URtYyA3YwCt/h4wxuUrrSNvS8Z5+qE/nu AAZByPnhp/VjelAA6bi5BuXC+C0cF2qtIVtqAopOqA4JfsxtNloFRk2t7y1EfhDS 2Qk/s6GUymUIOhJCIKYjTZzbwoUGelbGKvAcDvNbJcp/p+PJBhUFaJf5o7HIZRfw 0D/1QFbwCewNlGe6kJMqR4Ds7QI6f1YVft7qTXHAg/1xJQH8RGm7+q1Qbruu3NQQ THDWJm+lYbolPyhqFXQrys/Zs6rjwmDs1HRNPlipDbmApWDbTTK/sSCo2GUrOUia B8mPv68rZKTgApcRSK7DPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1733971951; x= 1734058351; bh=Ctn7QJKamvR38JuLc7dCzckhJ6stOsobVrvvHou6M38=; b=Z oO6v4U7pVA90EGqYCudkXmxrdyUq4wX1Cv60nRI0ULqlwK76NoDwmag7M7hYZLSD k1m7LoT4joBc0rTmecClgR6Pj9cBk+47efD3hN7BEnuq+LqKZGHPoCExTHO+PJZ7 s8bI969qwp10yNscPQoXC7GyN1T6o4kkXrIa4kOGFC++HpIxn7LTQSATl8431zo4 senhrExvfKUPJzR4C3AFPP5/XepppMZnuEzkbRo0q58RBIDmElaOpHuAf+4vGdmb dspbDuKRZbvN+xofCZ20hwC/CVOr+aNEOPixmsbm1pnt8UxMjSqlVUO7bx9VZVJD sDtd0xy8O1covpZsKSajg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkedvgddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeen ucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvg hvqeenucggtffrrghtthgvrhhnpeegleefteekgffhvdfhtdegveevveetteegteevgeet tdehhfdukeetheffueekkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtohep gedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptggrshhouhhrihesghhmrghilh drtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehthhgv ohesthhhohhrnhhhihhllhdrnhhopdhrtghpthhtohepjeefleejkeesuggvsggsuhhgsh drghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Dec 2024 21:52:29 -0500 (EST) Content-Language: en-US In-Reply-To: <763A8C73-8B15-43CC-98E2-5190C7941262@gmail.com> 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:296880 Archived-At: On 11/12/2024 06:52, Yuan Fu wrote: >> The problem is, that doesn’t work when there’s only one character. Take the snippet as an example: >> >> >> >> You can’t put the string fence syntax on the “a”, because there isn’t a closing fence to close it. >> >> Yuan > Circling back on this. I don’t think there’s a way to apply string syntax to a single character. Indeed, sorry. There needs to be a separate char as a "closing fence" like you say because it's treated as a part of the string. So it's 2 chars minimum.