From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anders Johansson Newsgroups: gmane.emacs.bugs Subject: bug#53294: 29.0.50; Indirect font changes incorrectly affecting original buffer Date: Wed, 16 Feb 2022 18:41:15 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35103"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , Stefan Monnier , Andrew Hyatt , 53294@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 16 19:03:27 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 1nKOeF-0008us-1n for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Feb 2022 19:03:27 +0100 Original-Received: from localhost ([::1]:47904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKOeD-0006KP-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Feb 2022 13:03:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKOJa-0005f6-Kr for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 12:42:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKOJW-00014x-Bf for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 12:42:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKOJW-0004Vd-8k for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 12:42:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Anders Johansson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Feb 2022 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53294 X-GNU-PR-Package: emacs Original-Received: via spool by 53294-submit@debbugs.gnu.org id=B53294.164503329417299 (code B ref 53294); Wed, 16 Feb 2022 17:42:02 +0000 Original-Received: (at 53294) by debbugs.gnu.org; 16 Feb 2022 17:41:34 +0000 Original-Received: from localhost ([127.0.0.1]:49382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKOJ4-0004Ux-Aa for submit@debbugs.gnu.org; Wed, 16 Feb 2022 12:41:34 -0500 Original-Received: from mail-lf1-f45.google.com ([209.85.167.45]:34390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKOJ2-0004Uk-NT for 53294@debbugs.gnu.org; Wed, 16 Feb 2022 12:41:33 -0500 Original-Received: by mail-lf1-f45.google.com with SMTP id o2so5271818lfd.1 for <53294@debbugs.gnu.org>; Wed, 16 Feb 2022 09:41:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=nbtuS0h8iV8d8QVP12QZtJ5s1+eXOXjE1II2BehJ3Fw=; b=X7q318c3Kc9+i45Z4Al1pYQ/8C0S3OJLNlhgmoLwJM6IFXNYIAOdA+7gj2+RthfRuX FJBq+x+p2ev4KBPoKAJQ44n+GAmSkaHR5z+ZFd2ukaIrHGyz3eysRI1Ti4lHMnCi0Ymi VQ+He0P0YL6W1M9BOliOzGFziy/75h6CNCEw5T5jjAb2ZKsSQVYYFL61P2ZnzovtBgR8 xRYwzPH7D6yU9+nrTYaYxDo0KYcNFcGaLX8Pv2waLdTshABXIbIa+5ulDmopaHW6/vLt JQqcmullIB+jhc4e3YwU9nkW7AwdmG9nM5crh1hJJ5L1SQfYFAqR2EP9U7fGslMzkKCl 4Qig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nbtuS0h8iV8d8QVP12QZtJ5s1+eXOXjE1II2BehJ3Fw=; b=kpGcdvW0K2zYQDKEpCX8zqByMMRPgkT/Gk2CRqdxMxExkRTvY/cXMKjinQcfxZeHJT ++n4NCXP0e8r/RM04RjgbQatN/w3j61PD1mLz9KmCwykkgrTq78vEgEjEsWTvUy6lBxm o5B1dls9vTPY/2O2HVL4plfva62E/ZLTFr7yQ7z/aJTBO5RgOd7nr00IiEyGwR8E+Xxf nA5E8S6MygZ3A2SeeJ8+vkU+B9Ax5RW9G3r6xo7ln0DFBvaRKbSmeUYcyJh/NPrCzoWQ weowIUMSnGxHK1mZfVZGN3j+9YEPwjkywHVXuTv8ldrX2P9RT5xEnuSepfj1F8WBSt1a Kr9A== X-Gm-Message-State: AOAM531Neby0DspwOAJJckV10oB1127g+hesUoapbO5eCS0OXiuGurIV 3hXV7uVTl5sHlv7AxvlyaFEYznGMT2LBp1ZpBLg= X-Google-Smtp-Source: ABdhPJxzRvG2EwVJsfTv45HbbhCY609fzMuOFi6yU67VD6LG5sNPXdEzlFlw/PwMjMrZfQRZ/PEG5taYQ6E/6/TA1Rs= X-Received: by 2002:ac2:5c48:0:b0:442:eada:dc45 with SMTP id s8-20020ac25c48000000b00442eadadc45mr2697665lfp.640.1645033286196; Wed, 16 Feb 2022 09:41:26 -0800 (PST) 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:227041 Archived-At: Hi, Stefan wrote: > I think `mapcar #'copy-sequence` is slightly more correct than > `copy-tree`, This gives me "Wrong type argument: listp, mini-modeline-mode-line-active" For a face-remapping-alist that looks like: ((mode-line-active . mini-modeline-mode-line-active) (mode-line-inactive . mini-modeline-mode-line-inactive)) According to my reading of the docstring of face-remapping-alist, this should be allowed, and does work (except for indirect buffers perhaps) face-remap-add-relative would generate: ((mode-line-active mini-modeline-mode-line-active) (mode-line-inactive mini-modeline-mode-line-inactive)) mini-modeline (https://github.com/kiennq/emacs-mini-modeline/) sets face-remapping-alist directly for various reasons. I guess this is not really recommended. But this fix seems to cause problems in an otherwise "correct" use of face-remapping-alist. Best, Anders Johansson