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#58168: string-lessp glitches and inconsistencies Date: Sat, 01 Oct 2022 16:51:11 +0300 Message-ID: <83ill3bqk0.fsf@gnu.org> References: <7824372D-8002-4639-8AEE-E80A6D5FEFC6@gmail.com> <877d1l55rn.fsf@gnus.org> <469814C2-197A-4BCA-8E2A-245577340C1E@gmail.com> <878rlzj1zv.fsf@gnus.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="18954"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58168@debbugs.gnu.org, larsi@gnus.org 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 Oct 01 15:52:21 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 1oecui-0004ok-6E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 15:52:20 +0200 Original-Received: from localhost ([::1]:55910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oecuh-0001eD-6S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 09:52:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oecuQ-0001e0-AS for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 09:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oecuQ-0001NA-0O for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 09:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oecuP-0005r2-SE for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 09:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58168 X-GNU-PR-Package: emacs Original-Received: via spool by 58168-submit@debbugs.gnu.org id=B58168.166463229022464 (code B ref 58168); Sat, 01 Oct 2022 13:52:01 +0000 Original-Received: (at 58168) by debbugs.gnu.org; 1 Oct 2022 13:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:44034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oectu-0005qF-Dr for submit@debbugs.gnu.org; Sat, 01 Oct 2022 09:51:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oects-0005q2-9Q for 58168@debbugs.gnu.org; Sat, 01 Oct 2022 09:51:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54978) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oectn-0001M8-2d; Sat, 01 Oct 2022 09:51:23 -0400 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=8ie0vxKHLyeYXLGJeerXXNGU1frA7VpbEIu1MhN60i0=; b=B1bhwS93YR7tNqps4u7C 8jb2U/SYLiwO/MsEbztkua08tg5tF9Ov82jBrfcxpwvJE0ADv2gSvfodLAc0s7xrZa3Q6EUr4aah/ ie2Y4nc0+YlnwsEVkcngr60c9m1TfIXp6e58DFdxV4ian/ym2jl3Y6d5wffB6r0fB7qtZi8dizODV 0oBK3iPkv36ujdowz89jQwhbBLY7uWeeazyhgV45yfZfjqi2d+l/imlcRO1qNPQvi3qcV+K0y2qdx eek+IgQ1dVlDhJux+ILtJ6vwmdp3dXScIdWIx9OQQ25EUKkYpQT/4i64gNW4DLcHWmQ1d6pozNuw1 MOoArzsOlH4yaA==; Original-Received: from [87.69.77.57] (port=4176 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 1oectm-00089o-HR; Sat, 01 Oct 2022 09:51:22 -0400 In-Reply-To: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sat, 1 Oct 2022 15:37:25 +0200) 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:244129 Archived-At: > From: Mattias EngdegÄrd > Date: Sat, 1 Oct 2022 15:37:25 +0200 > Cc: 58168@debbugs.gnu.org, > Eli Zaretskii > > > Funnily enough, the latter displays in a different way for me, which may > > or may not be a bug: > > > > This is with `display-raw-bytes-as-hex' t. > > You are right, that is completely broken -- display-raw-bytes-as-hex shouldn't affect the display of C1 controls. I think the variable is a misnomer of sorts: the request back when it was introduced to display hex where we usually display octal \nnn escapes. And the latter happens not only for raw bytes. > It seems to be a relic from the pre-Unicode days of Emacs: the code responsible muddles the display of raw bytes and unicode controls. No, I think we decided to keep the display of C1 characters as octal escapes.