From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#69709: `sort` interface improvement and universal ordering predicate Date: Fri, 29 Mar 2024 17:13:33 +0100 Message-ID: <8CBBCED8-DEDF-44D1-8D52-D21E32E6621D@gmail.com> References: <86zfv6uqjn.fsf@gnu.org> <4391448A-C7AF-4D7F-8866-C0313956D52D@gmail.com> <8366111E-97C4-4839-AA1E-A577C81A6035@gmail.com> <4B7ACA81-DEB9-4878-BE0B-88A302AF7081@gmail.com> <2BB79019-C075-445C-A9E0-9D29929EA02A@gmail.com> <7219B5AB-4EA7-4050-92AE-7FB949D6D415@gmail.com> <86y1a1dyz6.fsf@gnu.org> <51D040A5-AC7C-485C-A0C9-DFCFF3DDA510@gmail.com> <86o7axdpap.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15719"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69709@debbugs.gnu.org, dmitry@gutov.dev, gerd.moellmann@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 29 17:14:20 2024 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 1rqErz-0003rV-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Mar 2024 17:14:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqEri-0000bg-Ff; Fri, 29 Mar 2024 12:14:02 -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 1rqErh-0000bS-Cd for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2024 12:14:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqErh-0007iz-4c for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2024 12:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqEri-0001cV-3n for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2024 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Mar 2024 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69709 X-GNU-PR-Package: emacs Original-Received: via spool by 69709-submit@debbugs.gnu.org id=B69709.17117288266167 (code B ref 69709); Fri, 29 Mar 2024 16:14:02 +0000 Original-Received: (at 69709) by debbugs.gnu.org; 29 Mar 2024 16:13:46 +0000 Original-Received: from localhost ([127.0.0.1]:43248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqErS-0001bP-6H for submit@debbugs.gnu.org; Fri, 29 Mar 2024 12:13:46 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:55683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqErP-0001bA-BJ for 69709@debbugs.gnu.org; Fri, 29 Mar 2024 12:13:44 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2d715638540so11566081fa.3 for <69709@debbugs.gnu.org>; Fri, 29 Mar 2024 09:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711728815; x=1712333615; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=UkSyYrvpohawBHgOsPhYlQU6qEZYA+TlglKZDxcq4/Y=; b=Y+T4HNSgbnuB9fAinffzdOE78ydAkbuQLDhIdieqoas32PXPUCQJ4YDH06i98hllVW S1FDGed5OY6th7UgIexZ3yiMIe59qdda2l9KwODzfmKZgR/uQtbE+TjpOQPm/s5RCo+0 TGlOGtZN5wGGrnW5HJ23smobPDy0+n4+SsKjI4rZA/pXGgqt9P8ESFsXLanJMxG4DxT+ I9/U7/RhJugU/8q5cWmK5bk29cYa4fcDJT78Dwb09mM9FbZFxo+MxRxa/9xdu1a0/0RA z/WqHy7Tx+hYes5nt8nGiTiq3NRay0CH1hXo+QMmKrCzNALKtY5vF9wOnFw7HD+xiK/I HSBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711728815; x=1712333615; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UkSyYrvpohawBHgOsPhYlQU6qEZYA+TlglKZDxcq4/Y=; b=kJVq3fmHwvTaNVS4LWFsKttd20W0tLFvNkWrL32UcxEpE6IosaEJSD1Q16rDtNXTC0 TCtbSe+0HwzrtbajxX+9F2q4hqcd39n5uZ5ppT43BTARB1DMmluKkyMz4sFa5wsz/4zi oB/S7SDmGd6RQoRmYot0qvRt1GEKTZuKcjiy7th2+7vZ8wij3aZ8Dhn42MmVMEpOd18W n6nGugDY9t30av+SQkqI2gVoPt8kW8FHBfcgKC071hcK6U/9OYiEQgBrVsgdfQmeSuOb gRLK9v9hF07AuA3TlYy2QR6VzMBM1zTkj03VGK1tyj0BoWrkfsw3VBQXMOdIeNlMHKB0 qWfg== X-Forwarded-Encrypted: i=1; AJvYcCXlr7GaO3DMzKZmrnJvDxCZnIKvrUXcsTr8OJv48n/wpJ3wy54cv0ijfBVVMppj7XoYGDUSvcuOMe9O+QlJa+vxPh45JlA= X-Gm-Message-State: AOJu0YxnlRFGHzDKc1HBDuNwR/2oYB+wYLa00DWBx8oZ5A7p2WUXxLqz UeqXdnn0COo4vAXvEmEe3hcl8u86AOnRCd7n5OFxDfcej7gkOUyj X-Google-Smtp-Source: AGHT+IHJidZ+7cJAV81/8DJqqt+UBzcDFBlcd7ocBmV8JundYtYinfUWzWRLgvDDF5lztFSuw/saXA== X-Received: by 2002:ac2:5a4b:0:b0:513:d1c7:7d37 with SMTP id r11-20020ac25a4b000000b00513d1c77d37mr1847432lfn.51.1711728815270; Fri, 29 Mar 2024 09:13:35 -0700 (PDT) Original-Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se. [80.217.1.132]) by smtp.gmail.com with ESMTPSA id 28-20020ac25f1c000000b00515b50d4a37sm666942lfq.278.2024.03.29.09.13.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Mar 2024 09:13:34 -0700 (PDT) In-Reply-To: <86o7axdpap.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:282304 Archived-At: 29 mars 2024 kl. 16.35 skrev Eli Zaretskii : > The canonical sorting order for overlays is in compare_overlays, > AFAIK. Maybe, but I haven't see much Lisp code trying to use an order like that = -- sorting overlays is common but is done with all kinds of orders. = Perhaps I haven't looked very carefully. In any case, maybe compare_overlays would work as a starting point. It = seems to focus on vertical order (by priority), but much Lisp code sorts = overlays horizontally (by position). > Makeinfo can handle @code{@var{..}} just fine, we have that in many > other places, so that's not a concern. It is indeed possible to use > @asis in @table, and then mark each @item with @code, but that's just > too much trouble; "@table @code" exists to save us that... Looking at the PDF makes me think that we should decide whether we = prefer @code{:keyword @var{variable}} or @code{:keyword} @var{variable} in general. I can think of arguments for either but consistency would be = even better. > I think the places where keywords don't have the @code markup are > simply wrong. Yes, I agree.