GNU bug report logs - #50758
28.0.50; tramp-theme makes the default face's foreground red on emacs@28

Previous Next

Package: emacs;

Reported by: Rudi C <rudiwillalwaysloveyou <at> gmail.com>

Date: Thu, 23 Sep 2021 14:36:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50758 in the body.
You can then email your comments to 50758 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50758; Package emacs. (Thu, 23 Sep 2021 14:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rudi C <rudiwillalwaysloveyou <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 23 Sep 2021 14:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rudi C <rudiwillalwaysloveyou <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50;
 tramp-theme makes the default face's foreground red on emacs <at> 28
Date: Thu, 23 Sep 2021 18:04:57 +0330
[Message part 1 (text/plain, inline)]
`tramp-theme' (https://elpa.gnu.org/packages/tramp-theme.html) makes the
default face's foreground red on emacs <at> 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 <at> 28, and one where I previously was
using emacs <at> 27 with no problems, and then installed emacs <at> 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 <at> 28/28.0.50/share/info/emacs
 --prefix=/usr/local/Cellar/emacs-plus <at> 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
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50758; Package emacs. (Thu, 23 Sep 2021 15:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 50758 <at> debbugs.gnu.org (full text, mbox):

From: Rudi C <rudiwillalwaysloveyou <at> gmail.com>
To: 50758 <at> debbugs.gnu.org
Subject: 28.0.50;
 tramp-theme makes the default face's foreground red on emacs <at> 28
Date: Thu, 23 Sep 2021 19:00:32 +0330
[Message part 1 (text/plain, inline)]
After further attempts to pinpoint the cause of this bug, I have found that
tramp-theme changes the current theme of emacs. (I had a testing variant of
my main theme that had red foreground, and this was the reason I did not
notice this before.) This behavior also happens with
https://github.com/vic/color-theme-buffer-local , so I guess something
about face remapping has gone awry in emacs <at> 28.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50758; Package emacs. (Fri, 26 Aug 2022 12:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 50758 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Rudi C <rudiwillalwaysloveyou <at> gmail.com>
Cc: 50758 <at> debbugs.gnu.org
Subject: Re: bug#50758: 28.0.50; tramp-theme makes the default face's
 foreground red on emacs <at> 28
Date: Fri, 26 Aug 2022 14:45:14 +0200
Rudi C <rudiwillalwaysloveyou <at> gmail.com> writes:

> After further attempts to pinpoint the cause of this bug, I have found
> that tramp-theme changes the current theme of emacs. (I had a testing
> variant of my main theme that had red foreground, and this was the
> reason I did not notice this before.) This behavior also happens with
> https://github.com/vic/color-theme-buffer-local , so I guess something
> about face remapping has gone awry in emacs <at> 28.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Are you still seeing these issues in the current Emacs?  If so, do you
have a complete recipe, starting from "emacs -Q", that reproduces the
problem?





Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 26 Aug 2022 12:46:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50758; Package emacs. (Sat, 24 Sep 2022 15:00:02 GMT) Full text and rfc822 format available.

Message #16 received at 50758 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Rudi C <rudiwillalwaysloveyou <at> gmail.com>
Cc: 50758 <at> debbugs.gnu.org
Subject: Re: bug#50758: 28.0.50; tramp-theme makes the default face's
 foreground red on emacs <at> 28
Date: Sat, 24 Sep 2022 16:58:54 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Are you still seeing these issues in the current Emacs?  If so, do you
> have a complete recipe, starting from "emacs -Q", that reproduces the
> problem?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.




bug closed, send any further explanations to 50758 <at> debbugs.gnu.org and Rudi C <rudiwillalwaysloveyou <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 24 Sep 2022 15:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Oct 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.