From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#58168: string-lessp glitches and inconsistencies Date: Tue, 04 Oct 2022 13:40:18 -0400 Message-ID: References: <7824372D-8002-4639-8AEE-E80A6D5FEFC6@gmail.com> <83czbef6le.fsf@gnu.org> <6CB805F6-89EE-4D7C-A398-F29698733A42@gmail.com> <83h70oce4k.fsf@gnu.org> <83tu4mais1.fsf@gnu.org> <83wn9gw2sp.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25766"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58168@debbugs.gnu.org, mattias.engdegard@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 19:50:24 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 1ofm3j-0006Uq-Q4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 19:50:23 +0200 Original-Received: from localhost ([::1]:42744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofm3i-0005ea-MZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 13:50:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofluh-00019c-TL for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 13:41:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oflug-00029Q-7u for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 13:41:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oflug-0004z8-2V for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 17:41:02 +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.166490522819107 (code B ref 58168); Tue, 04 Oct 2022 17:41:02 +0000 Original-Received: (at 58168) by debbugs.gnu.org; 4 Oct 2022 17:40:28 +0000 Original-Received: from localhost ([127.0.0.1]:55122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oflu7-0004y6-Hl for submit@debbugs.gnu.org; Tue, 04 Oct 2022 13:40:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oflu4-0004xe-4u for 58168@debbugs.gnu.org; Tue, 04 Oct 2022 13:40:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oflty-0001sW-Nm; Tue, 04 Oct 2022 13:40:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=quLMvFeOWWZKV4W/Y3r7samN/IYxbhdgKpqYS4Z+oa8=; b=h93+DFSxEiKP 8vdyoWXlJgPh7keYPp6H2dMSi+xRfat6TtEiaprUi7RCPB5Pr+oaD1613Ol22EwLZ5Nihb473loyz ATWpkwbU2y0N13CVwdTGtLEqTK7V+vSF5cVuPWH2enpVL4mcbttBFKEI1klx2dDQsOo3LRMy53gyx 3ZBSg//fVL17jFDt0OeJAZNpYXgKgYIeO/jsV4O+pl1JJxUwdDfnXeh+M89Y+hSMWjHZqIoXFKk9X MrKwO5nBgy5AvbgrsJbJ/0wO22qjo2DCId2iLY49rf8A1LKXWs8nNYDJrwso1wpkKnjtv0ciSI9y2 Hq9BD0fKNErFrmOtHA562Q==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oflty-00006o-DN; Tue, 04 Oct 2022 13:40:18 -0400 In-Reply-To: <83wn9gw2sp.fsf@gnu.org> (message from Eli Zaretskii on Tue, 04 Oct 2022 08:55:34 +0300) 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:244460 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > If the fact that string= says strings are not equal, but string-lessp > says they are equal, is what bothers you That result seems paradoxical to me. I think the way to make sense of it is this: what string-lessp is really saying is not that the strings are "equal", but rather that they are lexicographically equivalent. Perhaps documenting the difference between these two relationships could make the current behavior comprehensible rather than anomalous. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)