From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#63535: Master branch: Error in forw_comment (syntax.c) handling of escaped LFs Date: Mon, 22 May 2023 16:16:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12442"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 63535-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 22 18:17:17 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 1q18Dj-0002wf-LZ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 May 2023 18:17:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q18DZ-0000Ur-Qd; Mon, 22 May 2023 12:17:05 -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 1q18DW-0000UK-IY for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 12:17:04 -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 1q18DW-0003vS-9A for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 12:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q18DV-0000LH-Us for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 12:17:01 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 May 2023 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63535 X-GNU-PR-Package: emacs Mail-Followup-To: 63535@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 63535-done@debbugs.gnu.org id=D63535.16847722201298 (code D ref 63535); Mon, 22 May 2023 16:17:01 +0000 Original-Received: (at 63535-done) by debbugs.gnu.org; 22 May 2023 16:17:00 +0000 Original-Received: from localhost ([127.0.0.1]:36061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q18DU-0000Ks-BB for submit@debbugs.gnu.org; Mon, 22 May 2023 12:17:00 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:12471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q18DQ-0000KY-MU for 63535-done@debbugs.gnu.org; Mon, 22 May 2023 12:16:59 -0400 Original-Received: (qmail 55688 invoked by uid 3782); 22 May 2023 18:16:50 +0200 Original-Received: from acm.muc.de (pd953ae2b.dip0.t-ipconnect.de [217.83.174.43]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 22 May 2023 18:16:50 +0200 Original-Received: (qmail 13119 invoked by uid 1000); 22 May 2023 16:16:49 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:262168 Archived-At: Hello, Stefan. On Mon, May 22, 2023 at 11:16:40 -0400, Stefan Monnier wrote: > > 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. Thanks! I've committed the patch, and I'm closing the bug. > 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, ... Yes. I think Sescape should be the survivor. I don't know if Scharquote is used at all in Emacs code. -- Alan Mackenzie (Nuremberg, Germany).