From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63535: Master branch: Error in forw_comment (syntax.c) handling of escaped LFs Date: Mon, 22 May 2023 11:16:40 -0400 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26881"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63535@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 22 17:17:32 2023 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 1q17Hv-0006iV-RF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 May 2023 17:17:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q17HW-00035E-QJ; Mon, 22 May 2023 11:17:06 -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 1q17HS-00034s-6j for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 11:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q17HR-0006Hq-UB for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 11:17:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q17HR-0004To-Q5 for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 11:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 May 2023 15:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63535 X-GNU-PR-Package: emacs Original-Received: via spool by 63535-submit@debbugs.gnu.org id=B63535.168476861017192 (code B ref 63535); Mon, 22 May 2023 15:17:01 +0000 Original-Received: (at 63535) by debbugs.gnu.org; 22 May 2023 15:16:50 +0000 Original-Received: from localhost ([127.0.0.1]:35859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q17HF-0004TD-W2 for submit@debbugs.gnu.org; Mon, 22 May 2023 11:16:50 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q17HE-0004Su-1w for 63535@debbugs.gnu.org; Mon, 22 May 2023 11:16:48 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5611080AFC; Mon, 22 May 2023 11:16:42 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D700980800; Mon, 22 May 2023 11:16:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1684768600; bh=TsrIfrkCgSbgnN/RojLUaoR9CzknbHdULzkte9u15Dc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UmXJV8WDYBYrQbTxCN3hv2vOju6q8ccBYESKYFefUneGXSHG5PE+1k7rzUcj2/Xda +wMzTXJyGF/6CI+OtUK8FBCFnRXrCgvTA9JEri9T0dbWEl5D2mvQU1uta5YWeAv83E sZf4TpQ2jxSihovPGDHXba5frPUZ4lKWohz5VK4pSeX8+byHvWrIM9dCWNemLLKX6j 0SA9KA3oQhLPCwrwmDfHz4v4VxGQ6d7WlSn3P0s4ez8maO2jUFOrjlgVnL1e1oqC0b AL4K3rVF3JNfE2cSPfAY2EYLBhmhEILXjfMkuJA07FWZd/rCSbf/avUdbLWYRlnCX8 P0yvqpWIML4nw== Original-Received: from pastel (unknown [45.72.217.176]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B1B631202BB; Mon, 22 May 2023 11:16:40 -0400 (EDT) In-Reply-To: (Alan Mackenzie's message of "Mon, 22 May 2023 14:59:32 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262163 Archived-At: > I think the following patch is better. Would you please have a look at > it, in the hope I haven't made any other silly mistakes. Thanks! I don't see any silly mistake there, sorry. Stefan PS: It does remind me that we really should do ourselves a favor and get rid of the distinction between `Sescape` and `Scharquote`. IIRC there's a risk of backward incompatibility, so it has to be done progressively, but we should start the process. E.g. first declare one of the two as obsolete, then emit a warning when we see it being used, ...