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#61521: "default" is now the first item returned from (font-faces), breaking various code. Date: Wed, 15 Feb 2023 14:58:00 +0200 Message-ID: <831qmrcch3.fsf@gnu.org> References: <7fe5e80d-761f-cc2d-12a1-65b2b5781c39@umanwizard.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2352"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 13:59:21 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 1pSHNX-0000O8-0J for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Feb 2023 13:59:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSHNI-0002RM-Ro; Wed, 15 Feb 2023 07:59:04 -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 1pSHNG-0002Q2-Ub for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 07:59:02 -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 1pSHNG-0003Qn-KB for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 07:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSHNG-0005oh-GB for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 07:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2023 12:59: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.167646590822312 (code B ref 61521); Wed, 15 Feb 2023 12:59:02 +0000 Original-Received: (at 61521) by debbugs.gnu.org; 15 Feb 2023 12:58:28 +0000 Original-Received: from localhost ([127.0.0.1]:58164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSHMi-0005no-3S for submit@debbugs.gnu.org; Wed, 15 Feb 2023 07:58:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSHMe-0005nV-SW for 61521@debbugs.gnu.org; Wed, 15 Feb 2023 07:58:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSHMZ-0003KC-It; Wed, 15 Feb 2023 07:58:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UqRsvk0+tQ9Qv3y/YkvVn9rFVhJopwJlZIfiL6vaTng=; b=UzAnLGKNPCYW jyX8zFgorlEsrkumfteQZkCpWptEpAD0c+Dv9GguXdqhkUJMMnalTHUKmrm/Sfx3okCACJjoHj3jf klbom5XiEgXehbUt1VWA+TSui2aetxzns+4jANkDgtNe9qCPErLoalDWxxj7DATLztj3DOyKVQwIB u5zbn+ISP4qNWe5SCzt+08dDtW3kcZHzbZlJFe0iBHvI8eQ0qJOvrlfXxGmop7agAmiMf/cUv0OGB vJUx/LBDom+zSGl4AYE9L+ctHuBBA8HVJPhjnSYMIRYOEoI8CPc6XlZHcYdkAPmXIZwQk9Fd5AgnX 1w0QrPcDApAasza7iWksEQ==; Original-Received: from [87.69.77.57] (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 1pSHMZ-0000UX-1N; Wed, 15 Feb 2023 07:58:19 -0500 In-Reply-To: <7fe5e80d-761f-cc2d-12a1-65b2b5781c39@umanwizard.com> (message from Brennan Vincent on Tue, 14 Feb 2023 19:31:30 -0500) 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:255691 Archived-At: > Date: Tue, 14 Feb 2023 19:31:30 -0500 > From: Brennan Vincent > > Various code seems to expect "default" to be the /last/ item in the list > returned by that function, not the first. For example, this comment in faces.el: > > ;; The `reverse' is so that `default' goes first. > (dolist (face (nreverse (face-list))) That comment is obsolete and needs to be changed (and the call to nreverse should perhaps be removed). > Also, org-html-htmlize-generate-css does not work when default comes first in > the list (as it skips processing all fonts after default). Isn't that a bug in that Org function? It shouldn't rely on any particular order.