From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite 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: To: 30917@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152181993327468 (code B ref -1); Fri, 23 Mar 2018 15:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Mar 2018 15:45:33 +0000 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 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 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 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,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) MIME-Version: 1.0 Received: by 10.176.7.200 with HTTP; Fri, 23 Mar 2018 03:30:47 -0700 (PDT) From: Oliver Laslett Date: Fri, 23 Mar 2018 10:30:47 +0000 Message-ID: Content-Type: multipart/alternative; boundary="f403043ec8b4e07209056811eac5" 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: -4.0 (----) 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 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.0 (----) --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-- From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Mar 2018 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Oliver Laslett , Rami =?UTF-8?Q?Ylim=C3=A4ki?= Cc: 30917@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30917-submit@debbugs.gnu.org id=B30917.152183191512365 (code B ref 30917); Fri, 23 Mar 2018 19:06:02 +0000 Received: (at 30917) by debbugs.gnu.org; 23 Mar 2018 19:05:15 +0000 Received: from localhost ([127.0.0.1]:50008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezRzz-0003DK-PI for submit@debbugs.gnu.org; Fri, 23 Mar 2018 15:05:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezRzu-0003Ck-DX for 30917@debbugs.gnu.org; Fri, 23 Mar 2018 15:05:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezRzk-0004J8-CF for 30917@debbugs.gnu.org; Fri, 23 Mar 2018 15:05:01 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezRzk-0004J3-8t; Fri, 23 Mar 2018 15:04:56 -0400 Received: from [176.228.60.248] (port=2827 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ezRzj-0004h2-Jf; Fri, 23 Mar 2018 15:04:56 -0400 Date: Fri, 23 Mar 2018 22:04:58 +0300 Message-Id: <83woy2haud.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Oliver Laslett on Fri, 23 Mar 2018 10:30:47 +0000) 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-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: -5.0 (-----) > From: Oliver Laslett > Date: Fri, 23 Mar 2018 10:30:47 +0000 > > 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!)? Rami, could you please look into this? Thanks. From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite Resent-From: Oliver Laslett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Mar 2018 20:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Rami =?UTF-8?Q?Ylim=C3=A4ki?= , 30917@debbugs.gnu.org Received: via spool by 30917-submit@debbugs.gnu.org id=B30917.152183618220124 (code B ref 30917); Fri, 23 Mar 2018 20:17:01 +0000 Received: (at 30917) by debbugs.gnu.org; 23 Mar 2018 20:16:22 +0000 Received: from localhost ([127.0.0.1]:50065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezT6s-0005EV-0A for submit@debbugs.gnu.org; Fri, 23 Mar 2018 16:16:22 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:36395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezSiX-0004O7-7o for 30917@debbugs.gnu.org; Fri, 23 Mar 2018 15:51:13 -0400 Received: by mail-wm0-f44.google.com with SMTP id x82so5528810wmg.1 for <30917@debbugs.gnu.org>; Fri, 23 Mar 2018 12:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cytora-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QUSxj1kumXJFP1r7GIC08Q4yinD4D4UcPbPvYwXZBAc=; b=jSBgsv/9gHup2g9xCHq5UT6wBLZ/wBibWRa1URDyxn2a6L/2pu/59MYHMGOxAhhbIe AepSCk6QCzDCL3Y2dZnbds3gr/HiPTuuTItF8UvH1sFQrEV0x9T/ZcNdMlfbpTzabpGz I4En8fEQiRcJkVb3Mf5K3zBLt+wUwMdU9YTkovebQoEebz3NGI9cgyPgfAP//uRxGt0F c+nWSeNgdxzc0y364OEYUnj1rC4PKl+iA8/1q08Qvy83mOpm5JoDQ7RU5rfXVU9XYAxd fP7QmMXDYMyOSloBFFYnmKjIjJFPeGlnYdxIdpjGD5okyQitSmIAGRBJjuWqQmfd1M2g /hQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QUSxj1kumXJFP1r7GIC08Q4yinD4D4UcPbPvYwXZBAc=; b=KEOisP2MqtL2z1TTENKtp6JTq1MLEpRH/qOcSD2fsRg2eDf3TTLVPaZ2OnzhgB7Xjc qIg+N6SibiINLRqfNK83TLr/6MhR1f91eNjapoJB8lla98Z1q+e/SOJTcdJJDf3OjBWP WaJPrIRc9t1v2nYpYF+YpQRYgOb3S/DkPP7oKiRpqGM2JoQOAEt2dVgMxGNQPUP8CcMs p5VVJ+wZ+qI1CCGcga7J211nLBfkhh35mcCX3LJZOZDKpiIv3riNQrxPPRncLB+6An50 lWDNpMSrMeph000Cqag4OznLpWqFJV9UmXBs6QC58ZCbRyqPflHTiYexiI9mePIXLWEW 2xAw== X-Gm-Message-State: AElRT7GrYU40uI5SfmygZKqS26XCvOfVmVHV45EZDFSA9Q+Ffefl9tl7 HAqhY4c99X3OeGXkT/Ue+t9o7A== X-Google-Smtp-Source: AG47ELtSgDMutvKJ3CAIKpKj48EI49gegeLaPBIqPukjJwtYfkCJbTd1UVS0n50OzR0t6h+xMaQOkg== X-Received: by 10.80.135.68 with SMTP id 4mr18321329edv.11.1521834667452; Fri, 23 Mar 2018 12:51:07 -0700 (PDT) Received: from [10.11.119.202] (188.29.165.129.threembb.co.uk. [188.29.165.129]) by smtp.gmail.com with ESMTPSA id d30sm6753060edd.79.2018.03.23.12.51.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 12:51:06 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) From: Oliver Laslett X-Mailer: iPhone Mail (15D100) In-Reply-To: <83woy2haud.fsf@gnu.org> Date: Fri, 23 Mar 2018 19:51:01 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83woy2haud.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Fri, 23 Mar 2018 16:16:20 -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: -0.0 (/) Rami, Eli, I=E2=80=99ve realised that calling =E2=80=98sudo=E2=80=99 is just resulting i= n emacs with no theme and colours are inherited from my terminal theme (.Xre= sources). But the problem still remains that emacs is not detecting that ter= mite is true colour. I have checked that terminfo defines setfg and setbg.=20= Thanks On 23 Mar 2018, at 19:04, Eli Zaretskii wrote: >> From: Oliver Laslett >> Date: Fri, 23 Mar 2018 10:30:47 +0000 >>=20 >> 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. >>=20 >> 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!)? >=20 > Rami, could you please look into this? >=20 > Thanks. From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite Resent-From: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Mar 2018 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Oliver Laslett Cc: Eli Zaretskii , 30917@debbugs.gnu.org Received: via spool by 30917-submit@debbugs.gnu.org id=B30917.152185077332024 (code B ref 30917); Sat, 24 Mar 2018 00:20:02 +0000 Received: (at 30917) by debbugs.gnu.org; 24 Mar 2018 00:19:33 +0000 Received: from localhost ([127.0.0.1]:50262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezWuB-0008KR-Tu for submit@debbugs.gnu.org; Fri, 23 Mar 2018 20:19:32 -0400 Received: from mail-ot0-f179.google.com ([74.125.82.179]:43818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezWu9-0008KD-6d for 30917@debbugs.gnu.org; Fri, 23 Mar 2018 20:19:30 -0400 Received: by mail-ot0-f179.google.com with SMTP id m22-v6so15104647otf.10 for <30917@debbugs.gnu.org>; Fri, 23 Mar 2018 17:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vincit.fi; s=ticniv; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UjvxAsWbfLpJB2sFqOj12FYxrgOtOp10HsBF0GTgzuc=; b=GisoMJy+AclOQvH95KMU8fOPjJToGWE2jAG7ICPms/25BsAz3xPyEj38nXvyAxA4Y3 42+lGfMdWMCuiFEE7eu2cwyXBGeh7nMjZClGz4Q6psjcS6+hDz7YCtvdlq9+PVidzQDm b3ylqJ40LwzMJq897JPSbUSZljmZ37VYVBqOs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UjvxAsWbfLpJB2sFqOj12FYxrgOtOp10HsBF0GTgzuc=; b=iEgVPQoHPc4YEbYirvui5eNaSTAJ1uywk1qgj8jWK2SmtuOSUD6xxjupZpTZa+3sJE +VKxLVkXjk8Xj+Hnc+OhrufCGf4dBNjljuyH0+lY8mvrk6gSRDuGle7S55snl3Ys8aeG 0j5RpsL4+lgN+HpTYOcW0PDSdGOfJWKuOV5hc+w0jtRnop4ixmPhCHj2zygIYm6XjCEN Tf0qE+c9O2pcwatR1zEk3KOP5gn3ws5M3FwDy6po9yuDAi+7H8xMTTIoJITRkYToSMyd yQ7IftmB/QQbdN+/AOKVL59dISqatcm3VTL2xrAuAw+JgZPVcVeLWa6JM+L2j0P/k+ef 31iA== X-Gm-Message-State: AElRT7EWKO/aghsR4f4UVljegmJCWLuxUpSE9zNGeWJEO9v6qFtxUr4L wocACKOKLhm5E635zjc/uK1HTXEOSoUO3NlQA2lIrQ== X-Google-Smtp-Source: AIpwx4+SB4tELWuRgEiKvQocKmR2nAbEAZkbG9ES1ysrQf0WxkprDzKPuRSIv9PECXocwYCkNFAeGrDP7dxnojFR+zI= X-Received: by 2002:a9d:c90:: with SMTP id b16-v6mr583453otb.9.1521850763381; Fri, 23 Mar 2018 17:19:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.30.198 with HTTP; Fri, 23 Mar 2018 17:19:22 -0700 (PDT) In-Reply-To: References: <83woy2haud.fsf@gnu.org> From: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Date: Sat, 24 Mar 2018 02:19:22 +0200 Message-ID: Content-Type: multipart/alternative; boundary="00000000000027247f05681d7eac" X-Spam-Score: -0.0 (/) 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: -0.0 (/) --00000000000027247f05681d7eac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It seems that by default Termite sets TERM=3Dxterm-termite, which doesn't support true color. However, since Termite uses libvte, it supports true color with semicolon separators, just like Gnome Terminal. If you have the latest Terminfo installed, you can launch Emacs with: TERM=3Dxterm-direct2 emacs -nw. At least that worked for me under Termite. If this doesn't work, there are more detailed instructions in Emacs FAQ node Common requests > Colors on a TTY. 2018-03-23 21:51 GMT+02:00 Oliver Laslett : > Rami, Eli, > > I=E2=80=99ve realised that calling =E2=80=98sudo=E2=80=99 is just resulti= ng in emacs with no theme > and colours are inherited from my terminal theme (.Xresources). But the > problem still remains that emacs is not detecting that termite is true > colour. I have checked that terminfo defines setfg and setbg. > > Thanks > > > > On 23 Mar 2018, at 19:04, Eli Zaretskii wrote: > > >> From: Oliver Laslett > >> Date: Fri, 23 Mar 2018 10:30:47 +0000 > >> > >> 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. I= s > >> emacs calling a command that may require root user privileges? How cou= ld > >> I debug this (apologies, long term emacs user, first bug report!)? > > > > Rami, could you please look into this? > > > > Thanks. > --00000000000027247f05681d7eac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It seems that by default Termite sets TERM=3Dxterm-te= rmite, which doesn't support true color. However, since Termite uses li= bvte, it supports true color with semicolon separators, just like Gnome Ter= minal. If you have the latest Terminfo installed, you can launch Emacs with= : TERM=3Dxterm-direct2 emacs -nw. At least that worked for me under Termite= . If this doesn't work, there are more detailed instructions in Emacs F= AQ node Common requests >=C2=A0Colors on a TTY.

2018-03-23 21:51 GMT+02:00 Oliv= er Laslett <oliver@cytora.com>:
Rami, Eli,

I=E2=80=99ve realised that calling =E2=80=98sudo=E2=80=99 is just resulting= in emacs with no theme and colours are inherited from my terminal theme (.= Xresources). But the problem still remains that emacs is not detecting that= termite is true colour. I have checked that terminfo defines setfg and set= bg.

Thanks



On 23 Mar 2018, at 19:04, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Oliver Laslett <oliv= er@cytora.com>
>> Date: Fri, 23 Mar 2018 10:30:47 +0000
>>
>> 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 terminf= o. Is
>> emacs calling a command that may require root user privileges? How= could
>> I debug this (apologies, long term emacs user, first bug report!)?=
>
> Rami, could you please look into this?
>
> Thanks.

--00000000000027247f05681d7eac-- From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite Resent-From: Oliver Laslett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2018 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Cc: Eli Zaretskii , 30917@debbugs.gnu.org Received: via spool by 30917-submit@debbugs.gnu.org id=B30917.152205917316922 (code B ref 30917); Mon, 26 Mar 2018 10:13:02 +0000 Received: (at 30917) by debbugs.gnu.org; 26 Mar 2018 10:12:53 +0000 Received: from localhost ([127.0.0.1]:53639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0P7V-0004Os-CJ for submit@debbugs.gnu.org; Mon, 26 Mar 2018 06:12:53 -0400 Received: from mail-vk0-f47.google.com ([209.85.213.47]:39575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0P7T-0004Oe-CG for 30917@debbugs.gnu.org; Mon, 26 Mar 2018 06:12:51 -0400 Received: by mail-vk0-f47.google.com with SMTP id n124so887347vkd.6 for <30917@debbugs.gnu.org>; Mon, 26 Mar 2018 03:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cytora-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=O2xLHMPg7fZWm/Dz5RcgZfun+/f24Kly+1oii0lOymc=; b=eiuH1q5md1I1hC7LMMFI73vcEFFDacdLj7B+UUYBM4C32PlcFAZU2z5PKsM1A7meyf 0Hv0aY2VLCHJ0GQFpBFkeDHmbubBzlRa463eXhue8MewysUfFPxzQgsr+9j+itV95/Mc 3zYyf+6ygxdwbX6LLEy9iJJl+Oq9YICHSbTVY+tG61z/h6AkU9f5uxHSVjeuzNuFm9JS nBVHe+hwKsp5bacKmAZ8OvGAQMgS9KfKlRe783i3+MVMgclsZxKDfp5yHK/v5lNpEIMs 04+Y3brSfZQs9l4mKd9w7XdHIdHAVcL/eBitURO3yeTNa9yyy4mhiLx7fVvskcRaKqwn YGtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O2xLHMPg7fZWm/Dz5RcgZfun+/f24Kly+1oii0lOymc=; b=nBaRK/jWT4HHq1PkJnJA++oCU+wHrPgVTTfHSXrh7r2rEhGxfYNlDzX+dzxLaVyryY lUT+2N8jcTIp1UWnLqlWo1/9KYw7TGq43GM4QAAlg27CvnWTy7TMLV/qq2gaVMhEtz3+ ZuePnGV6gCzYhNMRfwYkIhMOMTYLtDJQPMnFq7lQ8gOK87WTj61ZwG+vcgl6gTzOEVDm rVwQGsC7LWCWp1w8R2SRGYC9i1s41LPD1g/6XlDvwiAfEFhJYo49BR6scc2lDTnveDKQ wgrB7AwkchU9rFC3BnX3XUKHP2qb6cIIUUwttpCqvVFj07zsr7FM2wBqNWsMf24IGZYu /lNw== X-Gm-Message-State: AElRT7GqqLqERhWbiYzoerp17Bp1IEDZrDw2MSy7bQNLU+GSWlKHAcWp vpWd2PbwCnk1UrPI0cAcUdAu+816My5HuOCA3o/nlw== X-Google-Smtp-Source: AG47ELucQtlmPr/5akwrzym/yBpNf9roID3IjKmrfEEENm8jJ25sMoON9AkxSY56grk+OtGyRHUmsfgwtM03gJNALhc= X-Received: by 10.31.210.3 with SMTP id j3mr23835530vkg.105.1522059165717; Mon, 26 Mar 2018 03:12:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.97.130 with HTTP; Mon, 26 Mar 2018 03:12:45 -0700 (PDT) In-Reply-To: References: <83woy2haud.fsf@gnu.org> From: Oliver Laslett Date: Mon, 26 Mar 2018 11:12:45 +0100 Message-ID: Content-Type: multipart/alternative; boundary="001a114e53c8e683e605684e03c3" X-Spam-Score: 0.0 (/) 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: 0.0 (/) --001a114e53c8e683e605684e03c3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Rami, using TERM=3Dxterm-direct2 worked! I tried many other options without success. Many thanks, it seems that I have true colours. The only difference is that when I exit and return to the terminal, my prompt appears at the bottom and emacs remains in the terminal buffer (i.e. i have to call $ clear to clear the terminal buffer). I have tested and this is also happens with any command (e.g. `less`) so I guess related to using TERM=3Dxterm-direct2 and not emacs related. Many thanks Oliver On Sat, Mar 24, 2018 at 12:19 AM, Rami Ylim=C3=A4ki wrote: > It seems that by default Termite sets TERM=3Dxterm-termite, which doesn't > support true color. However, since Termite uses libvte, it supports true > color with semicolon separators, just like Gnome Terminal. If you have th= e > latest Terminfo installed, you can launch Emacs with: TERM=3Dxterm-direct= 2 > emacs -nw. At least that worked for me under Termite. If this doesn't wor= k, > there are more detailed instructions in Emacs FAQ node Common requests > > Colors on a TTY. > > 2018-03-23 21:51 GMT+02:00 Oliver Laslett : > >> Rami, Eli, >> >> I=E2=80=99ve realised that calling =E2=80=98sudo=E2=80=99 is just result= ing in emacs with no >> theme and colours are inherited from my terminal theme (.Xresources). Bu= t >> the problem still remains that emacs is not detecting that termite is tr= ue >> colour. I have checked that terminfo defines setfg and setbg. >> >> Thanks >> >> >> >> On 23 Mar 2018, at 19:04, Eli Zaretskii wrote: >> >> >> From: Oliver Laslett >> >> Date: Fri, 23 Mar 2018 10:30:47 +0000 >> >> >> >> 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!)? >> > >> > Rami, could you please look into this? >> > >> > Thanks. >> > > --001a114e53c8e683e605684e03c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Rami, using TERM=3Dxterm-direct2 worked! I tried= many other options without success. Many thanks, it seems that I have true= colours. The only difference is that when I exit and return to the termina= l, my prompt appears at the bottom and emacs remains in the terminal buffer= (i.e. i have to call $ clear to clear the terminal buffer). I have tested = and this is also happens with any command (e.g. `less`) so I guess related = to using TERM=3Dxterm-direct2 and not emacs related.

Many tha= nks
Oliver

On Sat, Mar 24, 2018 at 12:19 AM, Rami Ylim=C3=A4ki <ra= mi.ylimaki@vincit.fi> wrote:
It seems that by default Termite sets TERM=3Dxterm-= termite, which doesn't support true color. However, since Termite uses = libvte, it supports true color with semicolon separators, just like Gnome T= erminal. If you have the latest Terminfo installed, you can launch Emacs wi= th: TERM=3Dxterm-direct2 emacs -nw. At least that worked for me under Termi= te. If this doesn't work, there are more detailed instructions in Emacs= FAQ node Common requests >=C2=A0Colors on a TTY.

2018= -03-23 21:51 GMT+02:00 Oliver Laslett <oliver@cytora.com>:
Rami, Eli,

I=E2=80=99ve realised that calling =E2=80=98sudo=E2=80=99 is just resulting= in emacs with no theme and colours are inherited from my terminal theme (.= Xresources). But the problem still remains that emacs is not detecting that= termite is true colour. I have checked that terminfo defines setfg and set= bg.

Thanks



On 23 Mar 2018, at 19:04, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Oliver Laslett <oliver@cytora.com>
>> Date: Fri, 23 Mar 2018 10:30:47 +0000
>>
>> 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 terminf= o. Is
>> emacs calling a command that may require root user privileges? How= could
>> I debug this (apologies, long term emacs user, first bug report!)?=
>
> Rami, could you please look into this?
>
> Thanks.


--001a114e53c8e683e605684e03c3-- From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2018 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Oliver Laslett Cc: rami.ylimaki@vincit.fi, 30917@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30917-submit@debbugs.gnu.org id=B30917.15220772923647 (code B ref 30917); Mon, 26 Mar 2018 15:15:02 +0000 Received: (at 30917) by debbugs.gnu.org; 26 Mar 2018 15:14:52 +0000 Received: from localhost ([127.0.0.1]:54508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0Tpj-0000wl-Uj for submit@debbugs.gnu.org; Mon, 26 Mar 2018 11:14:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0Tpi-0000wX-6R for 30917@debbugs.gnu.org; Mon, 26 Mar 2018 11:14:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TpZ-0005va-Qh for 30917@debbugs.gnu.org; Mon, 26 Mar 2018 11:14:44 -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_40,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TpZ-0005vV-NI; Mon, 26 Mar 2018 11:14:41 -0400 Received: from [176.228.60.248] (port=2873 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f0TpZ-00012w-5P; Mon, 26 Mar 2018 11:14:41 -0400 Date: Mon, 26 Mar 2018 18:14:52 +0300 Message-Id: <83fu4mg977.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Oliver Laslett on Mon, 26 Mar 2018 11:12:45 +0100) References: <83woy2haud.fsf@gnu.org> 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-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: -5.0 (-----) > From: Oliver Laslett > Date: Mon, 26 Mar 2018 11:12:45 +0100 > Cc: Eli Zaretskii , 30917@debbugs.gnu.org > > Rami, using TERM=xterm-direct2 worked! I tried many other options without success. Many thanks, it seems > that I have true colours. The only difference is that when I exit and return to the terminal, my prompt appears > at the bottom and emacs remains in the terminal buffer (i.e. i have to call $ clear to clear the terminal buffer). I > have tested and this is also happens with any command (e.g. `less`) so I guess related to using > TERM=xterm-direct2 and not emacs related. Rami, do you think this warrants addition of a few words to the FAQ? From unknown Fri Jun 13 11:26:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30917: 26.0.91; True color emacs in termite Resent-From: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Mar 2018 22:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 30917@debbugs.gnu.org, Oliver Laslett Received: via spool by 30917-submit@debbugs.gnu.org id=B30917.152218927123258 (code B ref 30917); Tue, 27 Mar 2018 22:22:01 +0000 Received: (at 30917) by debbugs.gnu.org; 27 Mar 2018 22:21:11 +0000 Received: from localhost ([127.0.0.1]:56349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0wxr-000634-AS for submit@debbugs.gnu.org; Tue, 27 Mar 2018 18:21:11 -0400 Received: from mail-ot0-f181.google.com ([74.125.82.181]:39089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0wxp-00062q-MD for 30917@debbugs.gnu.org; Tue, 27 Mar 2018 18:21:10 -0400 Received: by mail-ot0-f181.google.com with SMTP id h8-v6so527330oti.6 for <30917@debbugs.gnu.org>; Tue, 27 Mar 2018 15:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vincit.fi; s=ticniv; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VaETcMw6awjpNANTXH3+puMhRrYrds1TPbGQPChZ0rU=; b=caCz0ZoR/OdC5AZFmr3Ki6waigczAOFb9SJwAO0tIkTC1atBjSmEcrumAmHU/Zizov ZMRTq6jJn8qGR+Ul3SEo24KiFAQW8FsxOPV4/50YgvpKgcY8dvTELq9iyt1zfLM0zJJM LD5nN1dgewk5Fk3GYDwHcAiEspv8WiZb9OUpM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VaETcMw6awjpNANTXH3+puMhRrYrds1TPbGQPChZ0rU=; b=J6F6gF//pfa/qeP5p0JaJFOVxmIpOnGkgaEOOXg+jLRqv9uE683igCkaOr542ZB47q UKSBHMTAnWxgqGWHQTizLIm0rfSdjltHvupIcGeJ2UGIejAEY+s3Jd98j5mJzyzpPC9N 8BpaN16H+EXA/mkaetdP0vywhCGklJVvsBwoAYTBNqWNAwoY/CPekTfPJ7E4cbaDSQDV hRMj5+6rpFY66FbPTxo6WfrujDJgDm3rj9dLb63NMUvUIjvMjyIsxEwye4DG90wUZDUI XWEz7yY61hEiRfBTNvAhDpvRxC37PH4MjnS/+mo9N6oEZKrge9tNcMLbMTSPXOkxa06d zxJg== X-Gm-Message-State: AElRT7EmhbyYMlnsL9nK26w2MsQoFW7TkzsY+obXzg3hu+ONyLmKk84H 9oAG2lXdNcdY8iCGfxMjtnE2HUEAjupCD2ybqxK9PA== X-Google-Smtp-Source: AIpwx4+wo0TcBDKR2KTPsEFIbqjjGg1Hemfxou/HSi8eFH7zZKDbjyBUCp8quyu1WbuxbqHyCJOJaAzcoCjycCTmaj8= X-Received: by 2002:a9d:305a:: with SMTP id w26-v6mr701829otd.292.1522189263829; Tue, 27 Mar 2018 15:21:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.30.198 with HTTP; Tue, 27 Mar 2018 15:21:03 -0700 (PDT) In-Reply-To: <83fu4mg977.fsf@gnu.org> References: <83woy2haud.fsf@gnu.org> <83fu4mg977.fsf@gnu.org> From: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Date: Wed, 28 Mar 2018 01:21:03 +0300 Message-ID: Content-Type: multipart/alternative; boundary="0000000000005a10ba05686c4e6d" X-Spam-Score: -0.0 (/) 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: -0.0 (/) --0000000000005a10ba05686c4e6d Content-Type: text/plain; charset="UTF-8" 2018-03-26 18:14 GMT+03:00 Eli Zaretskii : > > From: Oliver Laslett > > Date: Mon, 26 Mar 2018 11:12:45 +0100 > > Cc: Eli Zaretskii , 30917@debbugs.gnu.org > > > > Rami, using TERM=xterm-direct2 worked! I tried many other options > without success. Many thanks, it seems > > that I have true colours. The only difference is that when I exit and > return to the terminal, my prompt appears > > at the bottom and emacs remains in the terminal buffer (i.e. i have to > call $ clear to clear the terminal buffer). I > > have tested and this is also happens with any command (e.g. `less`) so I > guess related to using > > TERM=xterm-direct2 and not emacs related. > > Rami, do you think this warrants addition of a few words to the FAQ? > Eli, I don't think we should go too much into the details of different TERM specs in the Emacs FAQ. Version 26 FAQ explains how to use a custom TERM spec. Version 27 FAQ also explains how to list the standard TERM specs so that the user can choose one for their terminal. That should be enough. Of course we could apply the version 27 FAQ changes to version 26 as well. In this particular case, xterm-direct2 happens to define the [rs]mcup capabilities in a different manner from other TERMs, which causes the screen contents to be restored incorrectly in many terminals. However, I wouldn't worry about this since use of xterm-direct2 seems to be deprecated according to Terminfo sources. Oliver, if you follow the instructions in version 27 FAQ ( http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/misc/efaq.texi, search for xterm-direct), you'll see how to list different direct mode terminals on your computer. Choosing vte-direct for a vte-compatible terminal could be one option to avoid the incorrectly restored screen. --0000000000005a10ba05686c4e6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2018= -03-26 18:14 GMT+03:00 Eli Zaretskii <eliz@gnu.org>:
> From: Oliver Laslett <oliver@cytora.com>
> Date: Mon, 26 Mar 2018 11:12:45 +0100
> Cc: Eli Zaretskii <eliz@gnu.org= >, 30917@debbugs.gnu.org >
> Rami, using TERM=3Dxterm-direct2 worked! I tried many other options wi= thout success. Many thanks, it seems
> that I have true colours. The only difference is that when I exit and = return to the terminal, my prompt appears
> at the bottom and emacs remains in the terminal buffer (i.e. i have to= call $ clear to clear the terminal buffer). I
> have tested and this is also happens with any command (e.g. `less`) so= I guess related to using
> TERM=3Dxterm-direct2 and not emacs related.

Rami, do you think this warrants addition of a few words to the FAQ?

Eli, I don't th= ink we should go too much into the details of different TERM specs in the E= macs FAQ. Version 26 FAQ explains how to use a custom TERM spec. Version 27= FAQ also explains how to list the standard TERM specs so that the user can= choose one for their terminal. That should be enough. Of course we could a= pply the version 27 FAQ changes to version 26 as well.

In this particular case, x= term-direct2 happens to define the [rs]mcup capabilities in a different man= ner from other TERMs, which causes the screen contents to be restored incor= rectly in many terminals. However, I wouldn't worry about this since us= e of xterm-direct2 seems to be deprecated according to Terminfo sources.

Oliver, = if you follow the instructions in version 27 FAQ (http://git.savannah.g= nu.org/cgit/emacs.git/tree/doc/misc/efaq.texi, search for xterm-direct)= , you'll see how to list different direct mode terminals on your comput= er. Choosing vte-direct for a vte-compatible terminal could be one option t= o avoid the incorrectly restored screen.
--0000000000005a10ba05686c4e6d-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 01 20:27:42 2019 Received: (at control) by debbugs.gnu.org; 2 Apr 2019 00:27:42 +0000 Received: from localhost ([127.0.0.1]:40133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB7HC-0004pg-9O for submit@debbugs.gnu.org; Mon, 01 Apr 2019 20:27:42 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:40977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB7HA-0004pS-5Q for control@debbugs.gnu.org; Mon, 01 Apr 2019 20:27:40 -0400 Received: by mail-qt1-f171.google.com with SMTP id w30so12999235qta.8 for ; Mon, 01 Apr 2019 17:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Defg1oycYiLSFaXOCmcq3c7DG0j+7xnKnzMHXMX9H4k=; b=STV5VkcNZqY04oGCO3S2pDfcA0dsMVV48MLDyc8cBTI48pHBRgJvQKBT6BJ684MIdm MlrcYoJKx9YCIK2ZYghlxGDjzC+syU33QrM/PYWYI8v/t6Y9/MN/qMS86s4JAdHWZHz1 c0mPB8F9wTdYuLJ13iU8Q4M6ZGdotHuivngboTr/4Qm7RZpc+tAZhQvR4wJWuqZMg9Jk VOExsGN0DAKRdO55PHqN6PFRG/XvMSpaEkMdgHFQqz3Q+PKix50XruD27J3bkriTMRqt E6JaWlkAeIQU1HxQ3xPdMbLObxYEpGlEgspna0x927hdrRwBuzSJtC12nqm0SYitRmvn EHDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Defg1oycYiLSFaXOCmcq3c7DG0j+7xnKnzMHXMX9H4k=; b=HrUtFCLqXZ9rI9NivUt47+VBio0KJ5vup6NF2NE7bcQdRk314nIh4iTsb5HCLZI0GD LuW7He4VWD/hASDN2h0l5hLmmHrBwq+6JXF0DaBIpDs20ngx5PFVnxmXlrmiPynOsFuB TuEe3XA9ulHWGf1vUZyj5OvI0wg1/78vYdsDJDYCMoURzDlDCHH99KUQpkvsYZNNe0k4 6ZnPeJAuCezsAvRoVxqCN2qWpS142xLjwLs4qIbKTmW/o2WDbg8vHET/VlSiPm5FLN1j ePLuBH0dd5/cyi6cOwhRNqeLTrOYiBgdRLmz5R/iM9qe0bpnO2TR3cJNmBRYKi+aNUbi oZGw== X-Gm-Message-State: APjAAAUmfeDaFDWv9zt91d5t9KMmS4ffraTz9xoTJ9vuoHjzZz3IVm6E GM9+5RSMHYc3jCs+U/2arXw4qY2v X-Google-Smtp-Source: APXvYqy7OEdmQf/VnbmQwSwiwX9xwAXOsDv6JleSTWelNMbdbEdaIe2aXPkgXoq7cfEWPaY/3TuVbA== X-Received: by 2002:ac8:3739:: with SMTP id o54mr56058000qtb.291.1554164854505; Mon, 01 Apr 2019 17:27:34 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id q6sm6310103qkj.87.2019.04.01.17.27.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 17:27:33 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #30917 Date: Mon, 01 Apr 2019 20:27:33 -0400 Message-ID: <87lg0tgsju.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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: -1.0 (-) close 30917 quit