From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudi C Newsgroups: gmane.emacs.bugs Subject: bug#50758: 28.0.50; tramp-theme makes the default face's foreground red on emacs@28 Date: Thu, 23 Sep 2021 18:04:57 +0330 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a36ac305ccaa8936" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8951"; mail-complaints-to="usenet@ciao.gmane.io" To: 50758@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 23 16:36:13 2021 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 1mTPpd-0002Av-Bt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Sep 2021 16:36:13 +0200 Original-Received: from localhost ([::1]:60408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTPpc-0005CJ-Ci for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Sep 2021 10:36:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTPpU-00059L-Sz for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 10:36:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTPpS-0007El-BY for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 10:36:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTPpS-0007C0-61 for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 10:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rudi C Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Sep 2021 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50758 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163240771527575 (code B ref -1); Thu, 23 Sep 2021 14:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Sep 2021 14:35:15 +0000 Original-Received: from localhost ([127.0.0.1]:55327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTPoh-0007Ag-12 for submit@debbugs.gnu.org; Thu, 23 Sep 2021 10:35:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTPof-0007AZ-C9 for submit@debbugs.gnu.org; Thu, 23 Sep 2021 10:35:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTPof-0004bC-5S for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 10:35:13 -0400 Original-Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]:46700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTPod-0006fr-7S for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 10:35:12 -0400 Original-Received: by mail-io1-xd30.google.com with SMTP id d18so8240714iof.13 for ; Thu, 23 Sep 2021 07:35:10 -0700 (PDT) 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=L65wpjdAFFZ2QjReqpzDQyYVNi7o/ZsIE6qDn0H/s74=; b=JovaPekNjIN5hgdirHkrOVe6xUVtp+h6VhLgBP0jm7E5C6ZLBnUhA5yhIn+tnu6qhj 7HK9i+2vNtvA4AHjBhfDj/YnXNF6ziFBoQJZPn97n8eTPB7Wct8XEpJEt7rflwb497OS m2SZnKldZVxbuPVzXNn6LJquRJ1D201saF9jXMayc4k381ye67OHDdNDkKar/PojsT+E XQRPr71hzezUbv80UoAiUwRfh0yT/njkbYnBMHsThyUufSDNQmgxAjjvlAfLRVoWezdl 0/WkH0uN7dVMUfZhWV/9cpKuI+vQ5nuvGEoIUKCJz+TgYlW29ifrz48CqgkBryen59Ko H4EQ== 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=L65wpjdAFFZ2QjReqpzDQyYVNi7o/ZsIE6qDn0H/s74=; b=es9EUf+uCq4Mnlkdf3mmRMUVwzBk/tK6G/FG5iAN14e9qaUMB0/ODfMAW5lhES0/Yq G6hmVa/0T+/ZJrqVJcIpg/LNeCyrpcrZ1lIzGJLVLvnQXWOsZnUfUshcW04R2kAypcnC z4b+AQkaFTgf3ilTXERCJv7iVbQPShX3ZG/ecIG5UhNGNlPpZcZEg0koZF4BlUTJ7S/B OihW/zb05pFqlEthDyu4h4zaJpZ85p0IqaW1TvlCX7kDn1DgjMu/lEiSwKX90iJRCw2q yZLOZOxRM+SIscv+ObVNcq736MGU1mKxjPY+tHGHLRBzwcotjzlgLC53wI/JxYzyIfIe tgNQ== X-Gm-Message-State: AOAM530JsZTJZ+BJAD1INAQycXWQ9Pku03Iq+utC7JAVnAOwBuYFKPIA iKwLtUnJIzZ3NHYcZeX7t3uBMWV1X6f7SX9Wyul9SpatunAzeWb7 X-Google-Smtp-Source: ABdhPJzafQuKg6ioKJTd0y5+GeM1YOE1/go2kt+COyFTUHNVYLwwBY2DJiBLyh9k0B6jbnqLmyjdP8BCjh+3hcQGlHA= X-Received: by 2002:a02:5b0a:: with SMTP id g10mr4390689jab.112.1632407709244; Thu, 23 Sep 2021 07:35:09 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=rudiwillalwaysloveyou@gmail.com; helo=mail-io1-xd30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:215188 Archived-At: --000000000000a36ac305ccaa8936 Content-Type: text/plain; charset="UTF-8" `tramp-theme' (https://elpa.gnu.org/packages/tramp-theme.html) makes the default face's foreground red on emacs@28. (I.e., almost all black text will become red.) I have seen this problem on three machines where I used my config, two fresh installs of non-native-comp emacs@28, and one where I previously was using emacs@27 with no problems, and then installed emacs@28 with native comp. I use the following config for `tramp-theme': ``` (setq tramp-theme-face-remapping-alist '(;; (nil "^root$" (fringe (:inherit fringe :inverse-video t))) (nil "^root$" (default (:background "lavenderblush"))) (nil "^root$" (hl-line (:background "mistyrose") hl-line)) (".*" "eva" (default (:background "mintcream"))) (".*" "eva" (hl-line (:background "azure") hl-line)) (".*" "zii" (default (:background "honeydew"))) (".*" "zii" (hl-line (:background "azure") hl-line)) ("^foo$" nil (dired-directory (:background "Red"))) ("^foo$" nil (eshell-prompt (:foreground "White"))) ("^bar$" nil (default (:background "Green"))) ("^bar$" nil (dired-directory (:background "Green"))))) ``` And enable the theme with: ``` (progn (load-theme 'tramp t t) (enable-theme 'tramp)) ``` In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2.1 (Build 20D75)) of 2021-09-21 built on Fereidoons-MacBook-Pro.local System Description: macOS 11.2.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2 --with-gnutls --with-native-compilation --without-dbus --with-imagemagick --with-modules --with-rsvg --with-xwidgets --with-ns --disable-ns-self-contained 'CFLAGS=-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include' 'LDFLAGS=-L/usr/local/lib/gcc/11 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix --000000000000a36ac305ccaa8936 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
`tramp-theme' (https://elpa.gnu.org/packages/tramp-theme.html) mak= es the default face's foreground red on emacs@28. (I.e., almost all bla= ck text will become red.)

I have seen this problem on th= ree machines where I used my config, two fresh installs of non-native-comp = emacs@28, and one where I previously was using emacs@27 with no problems, a= nd then installed emacs@28 with native comp.

I use the following con= fig for `tramp-theme':

```
(setq tramp-theme-face-remapping-a= list '(;; (nil "^root$" (fringe (:inherit fringe :inverse-vid= eo t)))
(nil "^root$" (default (:background "lavenderblus= h")))
(nil "^root$" (hl-line (:background "mistyrose= ") hl-line))
(".*" "eva" (default (:background = "mintcream")))
(".*" "eva" (hl-line (:back= ground "azure") hl-line))
(".*" "zii" (def= ault (:background "honeydew")))
(".*" "zii"= ; (hl-line (:background "azure") hl-line))
("^foo$" = nil (dired-directory (:background "Red")))
("^foo$" = nil (eshell-prompt (:foreground "White")))
("^bar$" = nil (default (:background "Green")))
("^bar$" nil (d= ired-directory (:background "Green")))))
```

And enable= the theme with:
```
(progn (load-theme 'tramp t t)
(enable-th= eme 'tramp))
```


In GNU Emacs 28.0.50 (build 1, x86_64-ap= ple-darwin20.3.0, NS appkit-2022.30 Version 11.2.1 (Build 20D75))
=C2=A0= of 2021-09-21 built on Fereidoons-MacBook-Pro.local
System Description: = =C2=A0macOS 11.2.1

Configured using:
=C2=A0'configure --disab= le-dependency-tracking --disable-silent-rules
=C2=A0--enable-locallisppa= th=3D/usr/local/share/emacs/site-lisp
=C2=A0--infodir=3D/usr/local/Cella= r/emacs-plus@28/28.0.50/share/info/emacs
=C2=A0--prefix=3D/usr/local/Cel= lar/emacs-plus@28/28.0.50 --with-xml2
=C2=A0--with-gnutls --with-native-= compilation --without-dbus
=C2=A0--with-imagemagick --with-modules --wit= h-rsvg --with-xwidgets --with-ns
=C2=A0--disable-ns-self-contained '= CFLAGS=3D-I/usr/local/opt/gcc/include
=C2=A0-I/usr/local/opt/libgccjit/i= nclude -I/usr/local/opt/gmp/include
=C2=A0-I/usr/local/opt/jpeg/include&= #39; 'LDFLAGS=3D-L/usr/local/lib/gcc/11
=C2=A0-I/usr/local/opt/gcc/i= nclude -I/usr/local/opt/libgccjit/include
=C2=A0-I/usr/local/opt/gmp/inc= lude -I/usr/local/opt/jpeg/include''

Configured features:ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES
NAT= IVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF
TOOLKIT_SCROLL_B= ARS XIM XWIDGETS ZLIB

Important settings:
=C2=A0 value of $LC_ALL= : en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding= -system: utf-8-unix
--000000000000a36ac305ccaa8936--