From unknown Mon Jun 23 11:25:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#32143 <32143@debbugs.gnu.org> To: bug#32143 <32143@debbugs.gnu.org> Subject: Status: 27.0.50; Wombat theme breaks syntax highlighting when a region is selected Reply-To: bug#32143 <32143@debbugs.gnu.org> Date: Mon, 23 Jun 2025 18:25:12 +0000 retitle 32143 27.0.50; Wombat theme breaks syntax highlighting when a regio= n is selected reassign 32143 emacs submitter 32143 Emre Sevin=C3=A7 severity 32143 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 13 11:17:37 2018 Received: (at submit) by debbugs.gnu.org; 13 Jul 2018 15:17:37 +0000 Received: from localhost ([127.0.0.1]:59106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdzpA-0006s4-Py for submit@debbugs.gnu.org; Fri, 13 Jul 2018 11:17:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdswT-0000QS-Pw for submit@debbugs.gnu.org; Fri, 13 Jul 2018 03:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdswM-0004V1-HK for submit@debbugs.gnu.org; Fri, 13 Jul 2018 03:56:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, FROM_EXCESS_BASE64,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fdswM-0004UE-D7 for submit@debbugs.gnu.org; Fri, 13 Jul 2018 03:56:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdswJ-0002ak-Vk for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2018 03:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdswI-0004IU-5S for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2018 03:56:32 -0400 Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:46614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdswH-0004G2-TR for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2018 03:56:30 -0400 Received: by mail-oi0-x22d.google.com with SMTP id y207-v6so60671135oie.13 for ; Fri, 13 Jul 2018 00:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=amsD7PIohh/ImMSR7OghpX15lTI0o6iN91D3TFLyBb8=; b=atOqoMbEgT/KYms/KzRXALuffZrlv+rfpQJTnuc4zdmeLpgGgvi2kEd0rSvmQJeUiP dH+APhzMA+Xhbk5doUAWWKYvzFbA+uCL02dmtcX7Q3Y7E8PRoAfRI1/N3JCF73/Dnprk tAcCK09yUARdBAhq+qhIeEHTK94Rk/TvXuAq5Y6tsfIILw/ZYDhxaz6CCoqat4d5urCL +mt9q4Fmk/BKRwxmO2uyyBMJ+JzVMzJoJBpmQxKkeSVD8JbJWp/0khe3hovq2ks+xXul FNzrlMJXEG/HGcxrcz33fn7tQeCurwmM8BkjT9Vw6HHPKE86j7qHSt0WzEWM5vc7B4OH efTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=amsD7PIohh/ImMSR7OghpX15lTI0o6iN91D3TFLyBb8=; b=UmdVEt3ZtZnNmsPhjKRqL3rD9r4dXyRUsuwQEF6xojrabw65wIzgrbDjMoQaslCNAl HPwg5ao24N8khe+r7LyLKlkpvy4Hn4Esw/zsaYhW3TCanCyZxcd7TYYZRCLzoV1Q1kwa /Aw4et6BwfmAxaSiR/p9HNajtCuCqBVtM2clfBabQvIXra3d0NrWp7vG2B0xsmVcNSlM RfaRoi0aK5jIL7DKM08RtiRi8Ch7tkXK4cZXEtU6yk0aDp19jW3iI1QUlduCiOV33bwC f4HV8P3v0OAwr8tPCr3YNAEkxYapIDxSaDng/Lpd8HPu4eUVBusPH9JfnsBTwunrxwrx L9Sg== X-Gm-Message-State: AOUpUlGnMlh7kZu7D9hJ+EOWreedePtprPJyTL4OL4yw/4tjofwntYut d2nhdb1J05UUFMDePfbmY8/ncbP+AwsdqA0ZOFk8JpQ= X-Google-Smtp-Source: AAOMgpdiNipReYe1/uYG2aXKQHhFXJABiJwVHvOBEvHZA08bSKPAD9OyST8+urh6sJa1B378eXCZUoP/8i37NARIA1Q= X-Received: by 2002:a54:4398:: with SMTP id u24-v6mr6161770oiv.250.1531468588343; Fri, 13 Jul 2018 00:56:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:a50c:0:0:0:0:0 with HTTP; Fri, 13 Jul 2018 00:55:47 -0700 (PDT) From: =?UTF-8?B?RW1yZSBTZXZpbsOn?= Date: Fri, 13 Jul 2018 09:55:47 +0200 Message-ID: Subject: 27.0.50; Wombat theme breaks syntax highlighting when a region is selected To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000031675e0570dcd140" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 13 Jul 2018 11:17:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.9 (----) --00000000000031675e0570dcd140 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The theme `wombat` breaks syntax highlighting when transient-mark-mode is enabled, and a region is selected. Normally, without any theme loaded, a selected region shows proper syntax highlighting as can be seen at: https://imgur.com/a/INLjbqh And when you load the theme wombat, it also shows proper syntax highlighting when no region is selected: https://imgur.com/a/ULTClxl But when you select a region after loading wombat theme, the syntax highlighting is broken: https://imgur.com/a/dWfKakB I think the reason is caused by Line 39 of wombat-theme.el: `(region ((,class (:background "#444444" :foreground "#f6f3e8")))) because when I remove the ":foreground" from it: `(region ((,class (:background "#444444")))) I can have proper syntax highlighting again in selected regions: https://imgur.com/a/9hSChSH In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.25) of 2018-07-13 built on lcy01-amd64-007 Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 System Description: Ubuntu 17.10 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --build=3Dx86_64-linux-gnu --prefix=3D/usr '--includedir=3D${prefix}/include' '--mandir=3D${prefix}/share/man' '--infodir=3D${prefix}/share/info' --sysconfdir=3D/etc --localstatedir=3D/= var --disable-silent-rules '--libdir=3D${prefix}/lib/x86_64-linux-gnu' '--libexecdir=3D${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=3D/usr --sharedstatedir=3D/var/lib --program-suffix=3D-snapshot --with-modules=3Dyes --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-xwidgets=3Dyes 'CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/build/emacs-snapshot-fMu0zd/emacs-snapshot-95261=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS XWIDGETS LIBSYSTEMD LCMS2 Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 95220 12188) (symbols 48 20178 1) (miscs 40 32 86) (strings 32 28290 1997) (string-bytes 1 745859) (vectors 16 14894) (vector-slots 8 508458 11984) (floats 8 48 83) (intervals 56 245 0) (buffers 992 11)) --=20 Emre Sevin=C3=A7 --00000000000031675e0570dcd140 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The theme `wombat` breaks syntax highlighting when transie= nt-mark-mode
is enabled, and a region is selected.

Normally, with= out any theme loaded, a selected region shows proper
syntax highlighting= as can be seen at:

=C2=A0 h= ttps://imgur.com/a/INLjbqh

And when you load the theme wombat, i= t also shows proper syntax
highlighting when no region is selected:
<= br>=C2=A0 https://imgur.com/a/ULTCl= xl

But when you select a region after loading wombat theme, the = syntax
highlighting is broken:

=C2=A0 https://imgur.com/a/dWfKakB

I think the reason is c= aused by Line 39 of wombat-theme.el:

=C2=A0 `(region ((,class (:back= ground "#444444" :foreground "#f6f3e8"))))

becau= se when I remove the ":foreground" from it:

=C2=A0 `(regio= n ((,class (:background "#444444"))))

I can have proper sy= ntax highlighting again in selected regions:

=C2=A0 https://imgur.com/a/9hSChSH

In GNU Emacs= 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.25)
=C2=A0of 2= 018-07-13 built on lcy01-amd64-007
Windowing system distributor 'The= X.Org Foundation', version 11.0.11905000
System Description: Ubuntu= 17.10

Recent messages:
For information about GNU Emacs and the G= NU system, type C-h C-a.

Configured using:
=C2=A0'configure -= -build=3Dx86_64-linux-gnu --prefix=3D/usr
=C2=A0'--includedir=3D${pr= efix}/include' '--mandir=3D${prefix}/share/man'
=C2=A0'-= -infodir=3D${prefix}/share/info' --sysconfdir=3D/etc --localstatedir=3D= /var
=C2=A0--disable-silent-rules '--libdir=3D${prefix}/lib/x86_64-l= inux-gnu'
=C2=A0'--libexecdir=3D${prefix}/lib/x86_64-linux-gnu&#= 39; --disable-maintainer-mode
=C2=A0--disable-dependency-tracking --pref= ix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--program-suffix=3D-snapshot= --with-modules=3Dyes --with-x=3Dyes
=C2=A0--with-x-toolkit=3Dgtk3 --wit= h-xwidgets=3Dyes 'CFLAGS=3D-g -O2
=C2=A0-fdebug-prefix-map=3D/build/= emacs-snapshot-fMu0zd/emacs-snapshot-95261=3D. -fstack-protector-strong
= =C2=A0-Wformat -Werror=3Dformat-security' 'CPPFLAGS=3D-Wdate-time=C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions = -Wl,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG= RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS = LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 M= ODULES THREADS XWIDGETS LIBSYSTEMD LCMS2

Important settings:
=C2= =A0 value of $LC_MONETARY: en_GB.UTF-8
=C2=A0 value of $LC_NUMERIC: en_G= B.UTF-8
=C2=A0 value of $LC_TIME: en_GB.UTF-8
=C2=A0 value of $LANG: = en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-cod= ing-system: utf-8-unix

Major mode: Lisp Interaction

Minor mod= es in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
= =C2=A0 eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-whee= l-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 f= ile-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-l= ock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode:= t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
= =C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-pat= h shadows:
None found.

Features:
(shadow sort mail-extr emacsb= ug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv dired di= red-loaddefs format-spec rfc822 mml
easymenu mml-sec password-cache epa = derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodie= s mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader cl-loadde= fs cl-lib sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-ut= ils elec-pair time-date
mule-util tooltip eldoc electric uniquify ediff-= hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-= dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace = newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-b= ar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock<= br>syntax facemenu font-core term/tty-colors frame cl-generic cham georgian=
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
jap= anese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethio= pic indian cyrillic chinese composite charscript charprop
case-table epa= -hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded n= advice loaddefs button faces cus-face macroexp files
text-properties ove= rlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-= print-readable backquote dbusbind inotify lcms2
dynamic-setting system-f= ont-setting font-render-setting xwidget-internal
move-toolbar gtk x-tool= kit x multi-tty make-network-process emacs)

Memory information:
(= (conses 16 95220 12188)
=C2=A0(symbols 48 20178 1)
=C2=A0(miscs 40 32= 86)
=C2=A0(strings 32 28290 1997)
=C2=A0(string-bytes 1 745859)
= =C2=A0(vectors 16 14894)
=C2=A0(vector-slots 8 508458 11984)
=C2=A0(f= loats 8 48 83)
=C2=A0(intervals 56 245 0)
=C2=A0(buffers 992 11))
=

--
Emre Sevin=C3= =A7
--00000000000031675e0570dcd140-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 05:15:06 2018 Received: (at 32143) by debbugs.gnu.org; 20 Jul 2018 09:15:07 +0000 Received: from localhost ([127.0.0.1]:48804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgRVC-0006DX-DB for submit@debbugs.gnu.org; Fri, 20 Jul 2018 05:15:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgRVA-00067a-Mb for 32143@debbugs.gnu.org; Fri, 20 Jul 2018 05:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgRV0-0003gn-Ek for 32143@debbugs.gnu.org; Fri, 20 Jul 2018 05:14:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgRV0-0003gj-Ad; Fri, 20 Jul 2018 05:14:54 -0400 Received: from [176.228.60.248] (port=3309 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fgRUz-0006LZ-N2; Fri, 20 Jul 2018 05:14:54 -0400 Date: Fri, 20 Jul 2018 12:14:53 +0300 Message-Id: <83o9f21d6a.fsf@gnu.org> From: Eli Zaretskii To: Emre =?utf-8?Q?Sevin=C3=A7?= , Stefan Monnier In-reply-to: (message from Emre =?utf-8?Q?Sevin=C3=A7?= on Fri, 13 Jul 2018 09:55:47 +0200) Subject: Re: bug#32143: 27.0.50; Wombat theme breaks syntax highlighting when a region is selected References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32143 Cc: 32143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Emre Sevinç > Date: Fri, 13 Jul 2018 09:55:47 +0200 > > The theme `wombat` breaks syntax highlighting when transient-mark-mode > is enabled, and a region is selected. > > Normally, without any theme loaded, a selected region shows proper > syntax highlighting as can be seen at: > > https://imgur.com/a/INLjbqh > > And when you load the theme wombat, it also shows proper syntax > highlighting when no region is selected: > > https://imgur.com/a/ULTClxl > > But when you select a region after loading wombat theme, the syntax > highlighting is broken: > > https://imgur.com/a/dWfKakB > > I think the reason is caused by Line 39 of wombat-theme.el: > > `(region ((,class (:background "#444444" :foreground "#f6f3e8")))) > > because when I remove the ":foreground" from it: > > `(region ((,class (:background "#444444")))) > > I can have proper syntax highlighting again in selected regions: > > https://imgur.com/a/9hSChSH I think if this theme wants a distinct foreground for the region, it will always override font-lock faces, because the region highlight is implemented via overlays, and overlays always "win" faces specified as text properties. Stefan, do you have any clever ideas for how to keep the foreground of 'region' without overriding the font-lock specified foreground? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 08:09:35 2018 Received: (at 32143) by debbugs.gnu.org; 20 Jul 2018 12:09:35 +0000 Received: from localhost ([127.0.0.1]:48913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgUE3-0008F5-7U for submit@debbugs.gnu.org; Fri, 20 Jul 2018 08:09:35 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgUE2-0008Ew-99 for 32143@debbugs.gnu.org; Fri, 20 Jul 2018 08:09:34 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w6KC9XIN012162; Fri, 20 Jul 2018 08:09:33 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0AA9764F3E; Fri, 20 Jul 2018 08:09:33 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#32143: 27.0.50; Wombat theme breaks syntax highlighting when a region is selected Message-ID: References: <83o9f21d6a.fsf@gnu.org> Date: Fri, 20 Jul 2018 08:09:33 -0400 In-Reply-To: <83o9f21d6a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Jul 2018 12:14:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6333=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6333> : inlines <6766> : streams <1793090> : uri <2676452> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32143 Cc: 32143@debbugs.gnu.org, Emre =?windows-1252?Q?Sevin=E7?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Stefan, do you have any clever ideas for how to keep the foreground of > 'region' without overriding the font-lock specified foreground? There was the idea of allowing to specify "color-changes" instead of "colors". E.g. we could do that by obeying the `alpha` channel of the color (tho it is not very expressive). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 08:26:08 2018 Received: (at 32143) by debbugs.gnu.org; 20 Jul 2018 12:26:08 +0000 Received: from localhost ([127.0.0.1]:48922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgUU2-0000FV-BQ for submit@debbugs.gnu.org; Fri, 20 Jul 2018 08:26:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgUTy-0000Ex-8V for 32143@debbugs.gnu.org; Fri, 20 Jul 2018 08:26:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgUTp-0006NV-TM for 32143@debbugs.gnu.org; Fri, 20 Jul 2018 08:25:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgUTp-0006NR-Om; Fri, 20 Jul 2018 08:25:53 -0400 Received: from [176.228.60.248] (port=3056 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fgUTp-0006iG-5e; Fri, 20 Jul 2018 08:25:53 -0400 Date: Fri, 20 Jul 2018 15:25:54 +0300 Message-Id: <83a7qm14bx.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Fri, 20 Jul 2018 08:09:33 -0400) Subject: Re: bug#32143: 27.0.50; Wombat theme breaks syntax highlighting when a region is selected References: <83o9f21d6a.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32143 Cc: 32143@debbugs.gnu.org, emre.sevinc@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Stefan Monnier > Cc: Emre Sevinç , > 32143@debbugs.gnu.org > Date: Fri, 20 Jul 2018 08:09:33 -0400 > > > Stefan, do you have any clever ideas for how to keep the foreground of > > 'region' without overriding the font-lock specified foreground? > > There was the idea of allowing to specify "color-changes" instead of "colors". > E.g. we could do that by obeying the `alpha` channel of the color (tho > it is not very expressive). I guess this means currently there's no way of fixing that? Then maybe this theme should have some FIXME to that effect. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 09:34:58 2021 Received: (at 32143) by debbugs.gnu.org; 12 Aug 2021 13:34:58 +0000 Received: from localhost ([127.0.0.1]:37831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEArK-0005g5-LC for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:34:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEArJ-0005fp-8D for 32143@debbugs.gnu.org; Thu, 12 Aug 2021 09:34:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=c7Fjw+EaF6c+ATiEpEo2KDREvmv3UAT4MarjatGacw8=; b=W/z1PcuJ+T6uztbm6x6Yi1gkca 2qeCxpE1ioyCuIzkeW9Eaoi0WorGGqw4DfmU+aX+ca8tORms8FsL1KHjmAp5njtGogtePHt9t5vvk DYlD2pG1nhAAsA7AwsHh2RYW/D0QlvZ0+FWGzk+iqjQjfWfQi9X2mH+PZg/UVSuTq1tk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEAr8-0006Hv-Pn; Thu, 12 Aug 2021 15:34:50 +0200 From: Lars Ingebrigtsen To: Emre =?utf-8?Q?Sevin=C3=A7?= Subject: Re: bug#32143: 27.0.50; Wombat theme breaks syntax highlighting when a region is selected References: Date: Thu, 12 Aug 2021 15:34:46 +0200 In-Reply-To: ("Emre =?utf-8?Q?Sevin=C3=A7=22's?= message of "Fri, 13 Jul 2018 09:55:47 +0200") Message-ID: <877dgqlrbd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Emre Sevinç writes: > because when I remove the ":foreground" from it: > > `(region ((,class (:background "#444444")))) > > I can have proper syntax highlighting again in selected regions: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32143 Cc: 32143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Emre Sevin=C3=A7 writes: > because when I remove the ":foreground" from it: > > `(region ((,class (:background "#444444")))) > > I can have proper syntax highlighting again in selected regions: I've now done this in Emacs 28. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 09:35:05 2021 Received: (at control) by debbugs.gnu.org; 12 Aug 2021 13:35:05 +0000 Received: from localhost ([127.0.0.1]:37835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEArQ-0005go-TH for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:35:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEArP-0005g3-4L for control@debbugs.gnu.org; Thu, 12 Aug 2021 09:35:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=klY0hreGBRtEG5e3Xg53dj/tVD6wV51/oX7ScnlNYTY=; b=ojvmuQTLd6eKh3L+nj1wkFgE3j 0Uj4FiG7Njngivs4OJW8xR6M/pA9k2gvErSQH8p4mtGOQbXshfDKlXvcZL4y052lKCG/ONjkXh7U3 aGWbGAh3w0n9Cs3Rv/gPHyC9ZEBXqFJeArTF4dYqU4u18lTiElr/5Q9nlFnzva2AHafo=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEArH-0006I4-E3 for control@debbugs.gnu.org; Thu, 12 Aug 2021 15:34:57 +0200 Date: Thu, 12 Aug 2021 15:34:54 +0200 Message-Id: <875ywalrb5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #32143 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 32143 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 32143 28.1 quit From unknown Mon Jun 23 11:25:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Sep 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator