From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#61521: "default" is now the first item returned from (font-faces), breaking various code. Date: Wed, 15 Feb 2023 14:19:55 +0000 Message-ID: <9e9ed8043fb165a7be40@heytings.org> References: <831qmrcch3.fsf@gnu.org> <2485DA7C-3614-4182-BC29-7EFCF5C86A45@umanwizard.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 61521@debbugs.gnu.org To: Brennan Vincent Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 15 15:20:27 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 1pSIe2-000600-LV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Feb 2023 15:20:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSIdr-0004XK-UO; Wed, 15 Feb 2023 09:20:17 -0500 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 1pSIdf-0004Uk-Fd for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 09:20:03 -0500 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 1pSIde-0008CX-Vy for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 09:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSIde-0004ad-RQ for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 09:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2023 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61521 X-GNU-PR-Package: emacs Original-Received: via spool by 61521-submit@debbugs.gnu.org id=B61521.167647079817612 (code B ref 61521); Wed, 15 Feb 2023 14:20:02 +0000 Original-Received: (at 61521) by debbugs.gnu.org; 15 Feb 2023 14:19:58 +0000 Original-Received: from localhost ([127.0.0.1]:58354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSIdZ-0004Zz-QI for submit@debbugs.gnu.org; Wed, 15 Feb 2023 09:19:58 -0500 Original-Received: from heytings.org ([95.142.160.155]:58148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSIdY-0004Zq-MN for 61521@debbugs.gnu.org; Wed, 15 Feb 2023 09:19:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1676470795; bh=OV+Yf9vIqLBgf7rshMf3zPDDHlCAOCgl3jhWUm+Jp4w=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=OYVp01cLLaqSwBF5pvIKaus5yyjNjbkpP+dK9Y33xGaeYGLR64xVU13BTuyRkA9jV 1NJg1fjbNgYPWG0/6n13WL5nIXXnqhmAjIInyqNK6CygNBJA78g9wpubVlLC4dTb1/ XRibrUfXuklsSFxhKxGf/Yn72RLy3b+zO/eCYxhC/ck2ryjihrxT+HaEI/KGPQ3vh1 zD/h8IkzsKSXEurDGkEeyue9eJ2zNfUt+jGzmiPxnEL785OBl0s75V8628llavZAdx wMZP4YTvRja2+NJZ4vnSxl5vLf05bvp8BEjQnplZyR8ztCxdWO80wr1TUg/u47P1qH S/g7HM2hZqslw== In-Reply-To: <2485DA7C-3614-4182-BC29-7EFCF5C86A45@umanwizard.com> 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:255714 Archived-At: >> That comment is obsolete and needs to be changed (and the call to >> nreverse should perhaps be removed). > > If the order returned by face-list is not guaranteed, then why does it > do sorting at all? > Note that the sorting was added recently, in e3b8ddd500. Before that there was no sorting, it just happened that 'default' was the last element of that alist. It's not clear to me why the sorting is there, apparently it was added to fix bug#41200.