From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#53260: char-syntax differs in interpreter and bytecode Date: Sat, 15 Jan 2022 19:57:48 +0200 Message-ID: <83o84czxsz.fsf@gnu.org> References: <0A87E4BA-4741-4688-A005-912ABFC86B83@acm.org> <8735lpmm4f.fsf@gnus.org> <978B1D34-1F52-4B3E-B2E2-7ADA95155068@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 53260@debbugs.gnu.org, monnier@iro.umontreal.ca To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 18:59:16 2022 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 1n8nKd-0000uI-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 18:59:16 +0100 Original-Received: from localhost ([::1]:60940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8nKc-0002oI-Vc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 12:59:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8nKS-0002mr-2w for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 12:59:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8nKP-0007UL-Ts for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 12:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8nKP-0002yC-TM for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 12:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53260 X-GNU-PR-Package: emacs Original-Received: via spool by 53260-submit@debbugs.gnu.org id=B53260.164226950611364 (code B ref 53260); Sat, 15 Jan 2022 17:59:01 +0000 Original-Received: (at 53260) by debbugs.gnu.org; 15 Jan 2022 17:58:26 +0000 Original-Received: from localhost ([127.0.0.1]:41694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8nJp-0002xE-O4 for submit@debbugs.gnu.org; Sat, 15 Jan 2022 12:58:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8nJo-0002x2-8V for 53260@debbugs.gnu.org; Sat, 15 Jan 2022 12:58:24 -0500 Original-Received: from [2001:470:142:3::e] (port=33632 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8nJd-0007S4-I6; Sat, 15 Jan 2022 12:58:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tVrBWb2MiM8otWXzAs0wlMDHDqOPR1Kd1f7RnaC5TGs=; b=SdLUeHESYYOJR5G2jsRZ Lfpmuk36aFjTV8WHELwWVQf8c8hk44uOqE3T8VlX7veqWYA5ZfThh+q4kZNFbK/kmXzjdfON1dbT+ SEQadHdc3426kdOCvYJzcB1inCGPDNllEJsfBYfA57NSlwk5U9CrQ2imq9hkiGsJZubvSprsLaDHX 2NBKS/jjIpSy451akaHlzy/h/HC/1J1XWHlZ7tXTaUBLHcEo9abMOzJ//koxku4E+rod5aCpTYKaY vBGOmNVWEMpq8LtSnrxJQLYv4tW+zkBpC1D3h01cKftc9vePQp8JVUQ6aj+yqBnbZtglMQ8r98iDJ kUb5YBUnFZNHLg==; Original-Received: from [87.69.77.57] (port=3955 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8nJc-0003gc-5h; Sat, 15 Jan 2022 12:58:13 -0500 In-Reply-To: <978B1D34-1F52-4B3E-B2E2-7ADA95155068@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sat, 15 Jan 2022 18:29:41 +0100) 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:224324 Archived-At: > From: Mattias EngdegÄrd > Date: Sat, 15 Jan 2022 18:29:41 +0100 > Cc: Lars Ingebrigtsen , 53260@debbugs.gnu.org > > 2. Remove make_char_multibyte(c) from Bchar_syntax because it seems to be the wrong thing to do: in a unibyte buffer, wouldn't the syntax table be indexed by byte value (so that char 255 in the buffer corresponds to entry 255 in the syntax table rather than entry 0x3fffff)? I don't think we want to support unibyte buffers which have some text that is syntactically significant. A unibyte buffer is just a stream of raw bytes, they are not characters.