From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tastytea via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44950: 28.0.50; 24-bit colors not used in terminal with emacsclient Date: Sun, 29 Nov 2020 16:56:41 +0100 Message-ID: <20201129165641.00308157@ventiloplattform.tastytea.de> Reply-To: tastytea Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24398"; mail-complaints-to="usenet@ciao.gmane.io" To: 44950@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 29 18:35:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjQbP-0006Fa-UE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 18:35:12 +0100 Original-Received: from localhost ([::1]:41596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjQbO-0001u2-Vd for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 12:35:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjQbG-0001tg-Uf for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 12:35:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjQbG-0007zM-Nb for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 12:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjQbG-0003ia-Ks for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 12:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tastytea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Nov 2020 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44950 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160667124714221 (code B ref -1); Sun, 29 Nov 2020 17:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Nov 2020 17:34:07 +0000 Original-Received: from localhost ([127.0.0.1]:52434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjQaM-0003hI-JF for submit@debbugs.gnu.org; Sun, 29 Nov 2020 12:34:07 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjP4D-0007cQ-S7 for submit@debbugs.gnu.org; Sun, 29 Nov 2020 10:56:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjP4D-0001m0-Jh for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 10:56:49 -0500 Original-Received: from mail.tzend.de ([185.244.193.180]:38527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjP4A-0008VA-MV for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 10:56:49 -0500 Original-Received: by mail.tzend.de (Postfix, from userid 112) id 311569A04B6; Sun, 29 Nov 2020 16:56:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tzend.de; s=mail; t=1606665403; bh=4AgPzH7KLm+b1Blq2IFEx1b/zRtSYM6r3OP2UcDpPXw=; h=Date:From:To:Subject; b=FWi9HnYisg9bt9PMj1irCdKohoCsmDOfzDdapC3YAgWxYMWd8kFdCF0LvrJUBJZsV l+bVAaUf46MnNV1yBmHZx3tFIxQmn/QcPMEB8u9/itXCzyr5QRXDB5nDuZ1hYhdSRu KV6B+Fr1U1ZxYSIdzo33nprrIYrcqrUA2c+q91PU= Original-Received: from ventiloplattform.tastytea.de (p200300c0873595008ce89b50edeada64.dip0.t-ipconnect.de [IPv6:2003:c0:8735:9500:8ce8:9b50:edea:da64]) by mail.tzend.de (Postfix) with ESMTPSA id ADB6E9A0492 for ; Sun, 29 Nov 2020 16:56:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tzend.de; s=mail; t=1606665402; bh=4AgPzH7KLm+b1Blq2IFEx1b/zRtSYM6r3OP2UcDpPXw=; h=Date:From:To:Subject; b=O3f/NxWnS9Me7byJ9y3f7qwV4zAYQ5OftAw0AhR0KCuOS0OO2a1rJcnBH1SbHqbAO 5frnIwIF5wX3ZZKPCzlDutIWU29BaAhrPwew/Ho9/Nn+vHUvKE5rlBlPar75hQOwmZ uz0nUvZ+0YQkhTPvgRU8lxWgyR8gQg/7llQROWp0= Jabber-ID: tastytea@tastytea.de Received-SPF: pass client-ip=185.244.193.180; envelope-from=tastytea@tastytea.de; helo=mail.tzend.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 29 Nov 2020 12:34:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194574 Archived-At: When emacs is started as daemon by an init system (without COLORTERM set), emacsclient -t only has 256 colors if TERM="tmux-256color" and COLORTERM="truecolor". When the daemon is started with COLORTERM="truecolor" everything is fine (thanks to the patch in bug #41846). tmux has no -direct or -24 bit terminal definition. To reproduce: * Start daemon: COLORTERM="" emacs --fg-daemon * Start emacsclient: TERM="tmux-256color" COLORTERM="truecolor" emacsclient -t In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.16.0) of 2020-11-29 built on localhost Repository revision: 38ed05f49fcfe7c6d6908041010881a04a7ff6b1 Repository branch: master System Description: Gentoo/Linux Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/emacs-28.0.9999 --htmldir=/usr/share/doc/emacs-28.0.9999/html --libdir=/usr/lib64 --program-suffix=-emacs-28-vcs --includedir=/usr/include/emacs-28-vcs --infodir=/usr/share/info/emacs-28-vcs --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --with-pdumper --enable-acl --with-dbus --with-modules --without-gameuser --with-libgmp --with-gpm --with-json --without-kerberos --without-kerberos5 --with-lcms2 --with-xml2 --without-mailutils --without-selinux --with-gnutls --without-libsystemd --with-threads --without-wide-int --with-zlib --with-sound=no --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --without-imagemagick --with-xft --with-cairo --with-harfbuzz --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 --with-xwidgets --with-dumping=pdumper 'CFLAGS=-march=native -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO GPM DBUS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS JSON PDUMPER LCMS2 Important settings: value of $LC_MESSAGES: en_US.utf8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: de_DE.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: GFM Minor modes in effect: midnight-mode: t counsel-projectile-mode: t projectile-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: deferred treemacs-fringe-indicator-mode: t global-git-commit-mode: t which-key-mode: t editorconfig-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t global-atomic-chrome-edit-mode: t volatile-highlights-mode: t display-fill-column-indicator-mode: t flyspell-mode: t whitespace-mode: t doom-modeline-mode: t global-company-mode: t company-mode: t global-flycheck-mode: t flycheck-mode: t which-function-mode: t electric-pair-mode: t ruler-mode: t save-place-mode: t all-the-icons-ivy-rich-mode: t ivy-rich-mode: t ivy-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t global-hl-line-mode: t show-paren-mode: t purpose-mode: t delete-selection-mode: t global-auto-revert-mode: t savehist-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t 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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/tastytea/.emacs.d/straight/build/dash/dash hides /usr/share/emacs/site-lisp/dash/dash /home/tastytea/.emacs.d/straight/build/dash-functional/dash-functional hides /usr/share/emacs/site-lisp/dash/dash-functional /home/tastytea/.emacs.d/straight/build/f/f hides /usr/share/emacs/site-lisp/f/f /home/tastytea/.emacs.d/straight/build/lua-mode/init-tryout hides /usr/share/emacs/site-lisp/lua-mode/init-tryout /home/tastytea/.emacs.d/straight/build/lua-mode/lua-mode hides /usr/share/emacs/site-lisp/lua-mode/lua-mode /home/tastytea/.emacs.d/straight/build/s/s hides /usr/share/emacs/site-lisp/s/s /home/tastytea/.emacs.d/straight/build/with-editor/with-editor hides /usr/share/emacs/site-lisp/with-editor/with-editor /home/tastytea/.emacs.d/straight/build/eldoc/eldoc hides /usr/share/emacs/28.0.50/lisp/emacs-lisp/eldoc /home/tastytea/.emacs.d/straight/build/let-alist/let-alist hides /usr/share/emacs/28.0.50/lisp/emacs-lisp/let-alist Features: (shadow sort editorconfig-core editorconfig-core-handle editorconfig-fnmatch mail-extr mc-hide-unmatched-lines-mode mc-mark-more mc-cycle-cursors multiple-cursors-core rect windmove cl-print mailalias help-fns radix-tree mwim emacsbug mule-util midnight tab-line ox-md ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree ob-C ob-shell org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs smtpmail sendmail hideshow counsel-projectile treemacs-projectile projectile grep treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-extensions treemacs-persistence treemacs-mouse-interface treemacs-tag-follow-mode treemacs-filewatch-mode treemacs-tags treemacs-follow-mode treemacs-rendering t