From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Oliver Laslett Newsgroups: gmane.emacs.bugs Subject: bug#30917: 26.0.91; True color emacs in termite Date: Fri, 23 Mar 2018 10:30:47 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403043ec8b4e07209056811eac5" X-Trace: blaine.gmane.org 1521819855 16809 195.159.176.226 (23 Mar 2018 15:44:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2018 15:44:15 +0000 (UTC) To: 30917@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 23 16:44:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezOrS-0004BG-QV for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Mar 2018 16:44:11 +0100 Original-Received: from localhost ([::1]:38653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezOtU-0005eb-DR for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Mar 2018 11:46:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezOtJ-0005e1-2S for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 11:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezOtH-0003Md-9W for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 11:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ezOtH-0003MG-3I for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 11:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ezOtG-00079u-MF for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Oliver Laslett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Mar 2018 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152181993327468 (code B ref -1); Fri, 23 Mar 2018 15:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Mar 2018 15:45:33 +0000 Original-Received: from localhost ([127.0.0.1]:49917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezOsm-00078x-WF for submit@debbugs.gnu.org; Fri, 23 Mar 2018 11:45:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezJyV-00045l-PT for submit@debbugs.gnu.org; Fri, 23 Mar 2018 06:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezJyM-0007JW-28 for submit@debbugs.gnu.org; Fri, 23 Mar 2018 06:31:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ezJyL-0007JG-Ub for submit@debbugs.gnu.org; Fri, 23 Mar 2018 06:30:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezJyJ-0002u1-Ox for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 06:30:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezJyD-0007F0-Hj for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 06:30:55 -0400 Original-Received: from mail-ua0-x22b.google.com ([2607:f8b0:400c:c08::22b]:41074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ezJyD-0007Dd-8D for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2018 06:30:49 -0400 Original-Received: by mail-ua0-x22b.google.com with SMTP id i21so7453991uak.8 for ; Fri, 23 Mar 2018 03:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cytora-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=9xBUzbqermjNMWqvze6wm7TukpmUGmAni0eTeVPG8XA=; b=lE+GBkWKNv4QD2UABrfoxC2cTN8YbYvsmmVvfsAiRagIkqiKwOmyYFbVs17XwxhD8w 3eUVeY8vpSZ2aKCRFNZvB+PEUV6RponvrFpmpBESBXKIo6Dl0KR7C3awxWh+jsXu/q4V BNxo0a9Zr9OE+LwsRVhpQwjOqv9X+oNIBFJGDaakZDwjeYnr76OkSSJZXw+jUTHC0cNe lO4NyW7Y8sHcmWGNqyq+GQCnBXWlnvbWFAUy+Cfw0L5lmYjPQyj2lXbq+Jm+3aiU9RU2 8kG70DJZ+/Jpa7cAWNwFwhM6uDqG7pb48F1yX3hvpZEYX9Mgh5ZFNLHOx5EMMwJuOkyK hgBQ== 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=9xBUzbqermjNMWqvze6wm7TukpmUGmAni0eTeVPG8XA=; b=qyVzWCoHfmfd4M4WyV0sMeKeQWyIKpNCa5LIUz2W/SrOgE5bYfAZ8sdlcqYG+MeVKM LDQLGILEaQvox2RYiu4lzAQ5PZxMjU4sZE5qw9/9W1M3592meu/lxU+lepOLhFUsI5A0 Is5tEiD1Oy+ubXzpaGQCZx+9b1DmPARd/35xAnnks4hb9O0sMTHjNohMrc4OU7tW2zgC rNdfMqdkGlMsoEot1T6inDcUtG7nCqjp50+sWGF6Cg84L2fmJ86Sq2T+cnlYzX2GuQzW 8Gr+CAT4fHDafmezxtcmGNI/zWw6v7y1GeG2gGSSx5xcWmhOEMiLZAXIB0O+wFunJ81m T4jQ== X-Gm-Message-State: AElRT7FiInUCluO/h7h3aJje8OtisvUgVOY5whGX/57j7QmE2P6tnF4e YPVRfCWV/ZwWuxJYDrrMYk94bwnmg6C5zwpGCpX+Tw== X-Google-Smtp-Source: AG47ELtEIvW9iBgJp8a72OGBbNi6vl8wRpJfc5kfX+0KsE34UXNUaGt6lAMonyLPl5WI5z0f/5ukpS5MkCDe6kwq50E= X-Received: by 10.159.60.43 with SMTP id u43mr15666416uah.24.1521801047857; Fri, 23 Mar 2018 03:30:47 -0700 (PDT) Original-Received: by 10.176.7.200 with HTTP; Fri, 23 Mar 2018 03:30:47 -0700 (PDT) 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-Mailman-Approved-At: Fri, 23 Mar 2018 11:45:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144564 Archived-At: --f403043ec8b4e07209056811eac5 Content-Type: text/plain; charset="UTF-8" I have some odd behviour in emacs 26.0.91 with my color theme. I am using termite terminal emulator (with true color support) and when running `emacs -nw` I get a broken theme using reduced color set. However, if I run `sudo emacs -nw` my theme shows correctly. As I understand, emacs determines true color support using terminfo. Is emacs calling a command that may require root user privileges? How could I debug this (apologies, long term emacs user, first bug report!)? In GNU Emacs 26.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.28) of 2018-03-21 built on slaptop Repository revision: f8cad16bb3272a8069b3008019f9d18516aef1a5 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 Recent messages: Saving file /home/owl/.xmobarrc... Wrote /home/owl/.xmobarrc Saving file /home/owl/.xmobarrc... Wrote /home/owl/.xmobarrc Saving file /home/owl/.xmobarrc... Wrote /home/owl/.xmobarrc Saving file /home/owl/.xmobarrc... Wrote /home/owl/.xmobarrc Saving file /home/owl/.xmobarrc... Wrote /home/owl/.xmobarrc Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-gconf --without-gsettings --with-x-toolkit=gtk3 --without-xaw3d --without-gpm --without-m17n-flt --without-imagemagick 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fuse-ld=gold'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LC_ALL: en_GB.UTF-8 value of $LC_CTYPE: locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: ivy-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch colir color cl-extra help-mode dired dired-loaddefs elec-pair dracula-theme ivy delsel ivy-overlay ffap thingatpt finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib 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 font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 164314 8575) (symbols 48 24991 2) (miscs 40 96 201) (strings 32 47287 1228) (string-bytes 1 1230703) (vectors 16 20042) (vector-slots 8 572714 10430) (floats 8 225 461) (intervals 56 260 146) (buffers 992 14)) --f403043ec8b4e07209056811eac5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


I have some odd behviour in emacs 26.0.91 with my = color theme.
I am using termite terminal emulator (with true color suppo= rt) and
when running `emacs -nw` I get a broken theme using reduced colo= r set.
However, if I run `sudo emacs -nw` my theme shows correctly.
<= br>As I understand, emacs determines true color support using terminfo. Is<= br>emacs calling a command that may require root user privileges? How could=
I debug this (apologies, long term emacs user, first bug report!)?
<= br>

In GNU Emacs 26.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version= 3.22.28)
=C2=A0of 2018-03-21 built on slaptop
Repository revision: f= 8cad16bb3272a8069b3008019f9d18516aef1a5
Windowing system distributor = 9;The X.Org Foundation', version 11.0.11906000
Recent messages:
S= aving file /home/owl/.xmobarrc...
Wrote /home/owl/.xmobarrc
Saving fi= le /home/owl/.xmobarrc...
Wrote /home/owl/.xmobarrc
Saving file /home= /owl/.xmobarrc...
Wrote /home/owl/.xmobarrc
Saving file /home/owl/.xm= obarrc...
Wrote /home/owl/.xmobarrc
Saving file /home/owl/.xmobarrc..= .
Wrote /home/owl/.xmobarrc

Configured using:
=C2=A0'confi= gure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib
=C2=A0-= -localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games=C2=A0--with-sound=3Dalsa --with-modules --without-gconf --without-gsettin= gs
=C2=A0--with-x-toolkit=3Dgtk3 --without-xaw3d --without-gpm --without= -m17n-flt
=C2=A0--without-imagemagick 'CFLAGS=3D-march=3Dx86-64 -mtu= ne=3Dgeneric -O2 -pipe
=C2=A0-fstack-protector-strong -fno-plt' CPPF= LAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0'LDFLAGS=3D-Wl,-O1,--sort-common,= --as-needed,-z,relro,-z,now
=C2=A0-fuse-ld=3Dgold''

Confi= gured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS = LIBXML2 FREETYPE
LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES TH= READS LIBSYSTEMD
LCMS2

Important settings:
=C2=A0 value of $LC= _ALL: en_GB.UTF-8
=C2=A0 value of $LC_CTYPE:
=C2=A0 locale-coding-sy= stem: utf-8-unix

Major mode: Fundamental

Minor modes in effec= t:
=C2=A0 ivy-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-m= ode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
= =C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composi= tion-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-m= ode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t
Load-path shadows:
None found.

Features:
(shadow sort mail-e= xtr emacsbug message rmc puny format-spec rfc822 mml
mml-sec epa derived= epg gnus-util rmail rmail-loaddefs mm-decode
mm-bodies mm-encode mail-p= arse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ie= tf-drums mm-util mail-prsvr mail-utils
misearch multi-isearch colir colo= r cl-extra help-mode dired
dired-loaddefs elec-pair dracula-theme ivy de= lsel ivy-overlay ffap
thingatpt finder-inf info package easymenu epg-con= fig url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs e= ieio-loaddefs
password-cache url-vars seq byte-opt gv bytecomp byte-comp= ile cconv
cl-loaddefs cl-lib 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
tabul= ated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode re= gister page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse j= it-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-gen= eric 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 wi= dget hashtable-print-readable
backquote dbusbind inotify lcms2 dynamic-s= etting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-n= etwork-process emacs)

Memory information:
((conses 16 164314 8575= )
=C2=A0(symbols 48 24991 2)
=C2=A0(miscs 40 96 201)
=C2=A0(string= s 32 47287 1228)
=C2=A0(string-bytes 1 1230703)
=C2=A0(vectors 16 200= 42)
=C2=A0(vector-slots 8 572714 10430)
=C2=A0(floats 8 225 461)
= =C2=A0(intervals 56 260 146)
=C2=A0(buffers 992 14))
--f403043ec8b4e07209056811eac5--