From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#43558: [PATCH]: Fix (forward-comment 1) when end delimiter is escaped. Date: Sun, 22 Nov 2020 10:20:32 -0500 Message-ID: References: <20200923144824.GD6178@ACM> <20200924102022.GA4714@ACM> <20201119211822.GE6259@ACM> <20201122131231.GB5912@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8522"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43558@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 16:21:25 2020 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 1kgrB6-000277-Mx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 16:21:24 +0100 Original-Received: from localhost ([::1]:60886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgrB5-00019P-OA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 10:21:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgrAl-00018G-V3 for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 10:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgrAk-00069m-Sv for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 10:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgrAk-00054k-Or for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 10:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Nov 2020 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43558-submit@debbugs.gnu.org id=B43558.160605844219446 (code B ref 43558); Sun, 22 Nov 2020 15:21:02 +0000 Original-Received: (at 43558) by debbugs.gnu.org; 22 Nov 2020 15:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:48064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgrAP-00053Z-Tt for submit@debbugs.gnu.org; Sun, 22 Nov 2020 10:20:42 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgrAO-00053F-CR for 43558@debbugs.gnu.org; Sun, 22 Nov 2020 10:20:40 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DBCD38081D; Sun, 22 Nov 2020 10:20:34 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 69D7F80241; Sun, 22 Nov 2020 10:20:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1606058433; bh=zzVzfaR6IviLBfygzwIc/iFuhYfchxKLM+An0Ngm0fM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gZZgk8Xjkkl/HNNmQLAvwbTGlAXfRy0SA3dHFyxiT0SCH3SYZvZZuqWOdPPpO0wI1 26T7eOMasKuhsGt3S1NSqYHHLJsKiieWzj7XthgzjkI0hjKgfOB6lrjMCqjOxEVYGZ bAF2nVlnqKMR2hEKo9fj0o73eiXzDBahbZw3QQ5a1Q//wAML54kBYtj/WO49Mn1XMY 70zQg7nqI6JtaYJFhLt+GVkGx8EJXa+QbL4CU2H5kdYvgEfY9u1+ZEZtHZ4vzQpgqU WiB14RfqjsOA969D+wKdmjmd0dST0ynJE8Xx3TSGyRm//Vyis37AhxqH+mZRSBE/pg HrA/iR0HGxLPg== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 304C712044C; Sun, 22 Nov 2020 10:20:33 -0500 (EST) In-Reply-To: <20201122131231.GB5912@ACM> (Alan Mackenzie's message of "Sun, 22 Nov 2020 13:12:31 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:193844 Archived-At: > Because syntax-table text properties are already used for so many > different things in CC Mode (I think the count is five in C++ Mode). > Adding another one would mean having to scan for this rare construct at > every buffer change, and this would slow things down, possibly a lot. The fact that you already have 5 other such uses implies that the slow down from this one cannot possibly be larger than 20% (since the scan for it is very simple, I doubt any of the other 5 is simpler). Most major modes have such things and we live just fine with them. This is a non-issue. Stefan