From unknown Sat Jun 14 04:52:55 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#62528 <62528@debbugs.gnu.org> To: bug#62528 <62528@debbugs.gnu.org> Subject: Status: 28.2; Emacsclient doesn't use COLORTERM Reply-To: bug#62528 <62528@debbugs.gnu.org> Date: Sat, 14 Jun 2025 11:52:55 +0000 retitle 62528 28.2; Emacsclient doesn't use COLORTERM reassign 62528 emacs submitter 62528 Vojt=C4=9Bch Bal=C3=A1k severity 62528 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 12:58:13 2023 Received: (at submit) by debbugs.gnu.org; 29 Mar 2023 16:58:13 +0000 Received: from localhost ([127.0.0.1]:54859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phZ7k-000631-B4 for submit@debbugs.gnu.org; Wed, 29 Mar 2023 12:58:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:59984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phXO9-0003AY-EA for submit@debbugs.gnu.org; Wed, 29 Mar 2023 11:07:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phXO8-0004Dd-Nu for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2023 11:07:00 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phXO4-00047L-00 for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2023 11:07:00 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5C8695C009C for ; Wed, 29 Mar 2023 11:06:52 -0400 (EDT) Received: from imap45 ([10.202.2.95]) by compute2.internal (MEProxy); Wed, 29 Mar 2023 11:06:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=balak.me; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1680102412; x=1680188812; bh=IBHcMDkbajVa/kPD8Hx+ofpq3 pZgRUPbMDkF+byD6Xk=; b=Uq1VEshzOr1t2rWRnD+Bt1fDgcpQ7mU/kZN70+L75 uOOqRij/Xmi4G2tKGa9Y5SquGdrpr+uA87pNx9meKEVhzGbO0USyTdUtPDzzy6K3 wLr8bhxxom9jWvE6h+IRiHRHpG2oYHsSb73EiohDZtxOZmGY1Wmhk8UcyChWvE7v 8JXU+5Sav/93MwUilBGXltD8gWScmAy1v/2d9aTwJmk4QPRwvpinRWgEZAyXKySY TILKYQ7LhkjsJJB4fNXnyaRb8xWvJZzqRsPb2u/bA7Lyr/JXUeF0GTmKOMHPYY89 hwm+PqKOp4oIxgthS7UKK2BJ2gxnUknlrP5kxxFFKzRjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1680102412; x=1680188812; bh=IBHcMDkbajVa/kPD8Hx+ofpq3pZgRUPbMDk F+byD6Xk=; b=CS2zQ7EzN0IuQxtgr6DV55sLPHGYKaWjxj7QkX6wVdqe+0WrCzC 25vf/3VH6IgjSpsA9s/XX4vHhBgFDZEhP3YNbnS1ZM2i1g30A1/QGDC+OVzFd883 WncczkE+AH7yMJGbCnHN7FF8tVPF026VMAPgvuZcyJ9GcLCFyP9TYxXebNohE3dJ KkPt1ef+JnSQVCKKeWJ7DJ8sa0AMfXes0evFsibdntB+jBWXDRR26kNau3lZho9P iTrAaFisZj7kd7yYeDaLfe5zOcaUbInAd71grvjsk6AZS/J85tI3VYagkbbZtiOa PbA5q+AjVqVxEgesQ0Bw6BFmQ2xZpklZSQg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erreejnecuhfhrohhmpeggohhjthmvtghhuceurghljohkuceovhhojhhtvggthhessggr lhgrkhdrmhgvqeenucggtffrrghtthgvrhhnpeeljedtueeukeelhedtuddvkeekleduvd fhgefguedvffdvgedtueehveejhfdvhfenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehvohhjthgvtghhsegsrghlrghkrdhmvg X-ME-Proxy: Feedback-ID: ibb6946bb:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1AC752720082; Wed, 29 Mar 2023 11:06:52 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-238-g746678b8b6-fm-20230329.001-g746678b8 Mime-Version: 1.0 Message-Id: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> Date: Wed, 29 Mar 2023 17:06:18 +0200 From: =?UTF-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= To: bug-gnu-emacs@gnu.org Subject: 28.2; Emacsclient doesn't use COLORTERM Content-Type: multipart/alternative; boundary=cab08cb1a0e647cd8ac655fc2077dd4b Received-SPF: pass client-ip=66.111.4.27; envelope-from=vojtech@balak.me; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 Mar 2023 12:58:10 -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: -2.6 (--) --cab08cb1a0e647cd8ac655fc2077dd4b Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, When starting Emacs in a terminal emulator with 24 bit color support,=20 I would like it to take advantage of this. According to the FAQ=20 section 5.3, setting the variable COLORTERM to truecolor should=20 result in Emacs using 24 bit colors. But according to my observations,=20 this is not always true.=20 Starting Emacs in these ways does result in it using true color:=20 TERM=3Dxterm-256color COLORTERM=3Dtruecolor emacs -nw=20 TERM=3Dxterm-direct COLORTERM=3D emacs -nw=20 TERM=3Dxterm-direct COLORTERM=3D emacsclient -nw=20 Starting it in these ways does result in it NOT using true color:=20 TERM=3Dxterm-256color COLORTERM=3D emacs -nw=20 TERM=3Dxterm-256color COLORTERM=3D emacsclient -nw=20 TERM=3Dxterm-256color COLORTERM=3Dtruecolor emacsclient -nw=20 The last one is the odd one out. According to my understanding, that should result in 24 bit color being used, but in practice it does not.=20 I verify the color mode by running M-x list-colors-display and seeing if=20 the list of returned colors is longer than 256.=20 Best regards, Vojt=C4=9Bch Bal=C3=A1k In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, c= airo version 1.17.6)=20 of 2023-01-03 built on 2=20 Windowing system distributor 'The X.Org Foundation', version 11.0.121010= 07=20 System Description: Arch Linux=20 Configured using:=20 'configure --sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib=20 --localstatedir=3D/var --with-cairo --with-harfbuzz --with-libsystemd=20 --with-modules --with-x-toolkit=3Dgtk3 'CFLAGS=3D-march=3Dx86-64=20 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D= 2=20 -Wformat -Werror=3Dformat-security -fstack-clash-protection=20 -fcf-protection -g=20 -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto= '=20 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=3Daut= o''=20 Configured features:=20 ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG=20 JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY=20 PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE=20 XIM XPM GTK3 ZLIB=20 Important settings:=20 value of $LANG: en_US.UTF-8=20 locale-coding-system: utf-8-unix=20 Major mode: Dashboard=20 Minor modes in effect:=20 global-tree-sitter-mode: t=20 which-key-mode: t=20 global-flycheck-mode: t=20 company-posframe-mode: t=20 global-company-mode: t=20 company-mode: t=20 global-git-gutter-mode: t=20 global-git-commit-mode: t=20 magit-auto-revert-mode: t=20 projectile-mode: t=20 helm-mode: t=20 helm-minibuffer-history-mode: t=20 shell-dirtrack-mode: t=20 helm--remap-mouse-mode: t=20 async-bytecomp-package-mode: t=20 solaire-global-mode: t=20 doom-modeline-mode: t=20 recentf-mode: t=20 global-evil-collection-unimpaired-mode: t=20 evil-collection-unimpaired-mode: t=20 evil-mode: t=20 evil-local-mode: t=20 global-undo-tree-mode: t=20 undo-tree-mode: t=20 override-global-mode: t=20 tooltip-mode: t=20 global-eldoc-mode: t=20 show-paren-mode: t=20 electric-indent-mode: t=20 mouse-wheel-mode: t=20 menu-bar-mode: t=20 file-name-shadow-mode: t=20 global-font-lock-mode: t=20 font-lock-mode: t=20 blink-cursor-mode: t=20 auto-composition-mode: t=20 auto-encryption-mode: t=20 auto-compression-mode: t=20 buffer-read-only: t=20 column-number-mode: t=20 line-number-mode: t=20 transient-mark-mode: t=20 Load-path shadows:=20 /home/vojta/.config/emacs/elpa/transient-20230315.1520/transient hides /= usr/share/emacs/28.2/lisp/transient=20 Features:=20 (facemenu shadow sort emacsbug sendmail goto-addr evil-collection-view=20 view mule-util misearch multi-isearch image-file image-converter=20 helm-external helm-net skeleton vc-mtn vc-hg vc-bzr vc-src vc-sccs=20 vc-svn vc-cvs vc-rcs bug-reference winner mail-extr tramp-archive=20 tramp-gvfs tramp-cache zeroconf helm-command helm-elisp helm-eval=20 evil-collection-edebug edebug backtrace helm-info evil-collection-vc-git=20 vc-git display-line-numbers rainbow-delimiters flycheck-rust org-appear=20 flyspell ispell mixed-pitch org-indent org-element avl-tree ol-eww=20 evil-collection-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc=20 ol-info ol-gnus nnselect gnus-search eieio-opt evil-collection-speedbar=20 speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime=20 dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud=20 nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range=20 gnus-win evil-collection-gnus gnus nnheader ol-docview=20 evil-collection-doc-view doc-view jka-compr ol-bibtex ol-bbdb ol-w3m=20 ol-doi org-link-doi evil-collection-org org ob ob-tangle ob-ref ob-lob=20 ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete=20 org-list org-faces org-entities org-version ob-emacs-lisp ob-core=20 ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs=20 org-loaddefs evil-collection-calendar cal-menu calendar cal-loaddefs=20 time shr kinsoku svg xml dom evil-collection-lua-mode lua-mode=20 terraform-mode hcl-mode dockerfile-mode evil-collection-sh-script=20 sh-script smie executable haskell-mode haskell-cabal haskell-utils=20 haskell-font-lock haskell-indentation haskell-string=20 haskell-sort-imports haskell-lexeme haskell-align-imports=20 haskell-complete-module haskell-ghc-support evil-collection-flymake=20 flymake-proc flymake warnings dabbrev haskell-customize flycheck-joker=20 evil-collection-cider cider tramp-sh cider-debug cider-browse-ns=20 cider-mode cider-find cider-inspector cider-completion cider-profile=20 cider-eval cider-jar cider-repl-history pulse cider-repl cider-resolve=20 cider-test cider-overlays cider-stacktrace cider-doc cider-browse-spec=20 cider-clojuredocs cider-eldoc cider-client cider-common cider-connection=20 cider-util cider-popup sesman-browser nrepl-client nrepl-dict spinner=20 sesman vc vc-dispatcher clojure-mode align parseedn parseclj-parser=20 parseclj-lex parseclj-alist evil-collection-slime slime=20 evil-collection-apropos apropos evil-collection-outline noutline outline=20 hyperspec ranger hl-line evil-collection-vdiff vdiff hydra lv kubel-evil=20 kubel evil-collection-eshell em-prompt esh-mode eshell esh-cmd esh-ext=20 esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util=20 evil-collection-yaml-mode yaml-mode evil-collection-vterm vterm=20 magit-bookmark evil-collection-bookmark bookmark color=20 evil-collection-term term disp-table ehelp vterm-module term/xterm xterm=20 tree-sitter-langs tree-sitter-langs-build evil-collection-tar-mode=20 tar-mode evil-collection-arc-mode arc-mode archive-mode pp=20 tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn=20 tsc-dyn-get dired-aux tsc-obsolete evil-collection-which-key which-key=20 evil-collection-flycheck flycheck find-func company-posframe posframe=20 company-oddmuse company-keywords company-etags etags fileloop generator=20 evil-collection-xref xref company-gtags company-dabbrev-code=20 company-dabbrev company-files company-clang company-capf company-cmake=20 company-semantic company-template company-bbdb evil-collection-company=20 company git-gutter evil-collection-magit magit-submodule magit-blame=20 magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch=20 magit-clone magit-remote magit-commit magit-sequence magit-notes=20 magit-worktree magit-tag magit-merge magit-branch magit-reset=20 magit-files magit-refs magit-status magit magit-repos magit-apply=20 magit-wip magit-log which-func evil-collection-imenu imenu magit-diff=20 smerge-mode evil-collection-diff-mode diff-mode git-commit=20 evil-collection-log-edit log-edit message rmc puny rfc822 mml mml-sec=20 evil-collection-epa epa derived epg rfc6068 epg-config gnus-util rmail=20 rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils=20 gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert=20 autorevert magit-margin magit-transient magit-process with-editor server=20 magit-mode transient magit-git magit-base evil-collection-magit-section=20 magit-section crm evil-collection-ripgrep ripgrep helm-projectile=20 projectile project lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util=20 ietf-drums mail-prsvr evil-collection-grep grep evil-collection-compile=20 compile ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs=20 helm-mode helm-misc evil-collection-helm helm-files=20 evil-collection-image-dired image-dired filenotify tramp tramp-loaddefs=20 trampver tramp-integration files-x tramp-compat shell pcomplete=20 evil-collection-comint comint parse-time iso8601 time-date ls-lisp=20 helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp=20 format-spec ansi-color helm-utils helm-help helm-types helm=20 helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source=20 helm-multi-match helm-lib async evil-collection-neotree neotree=20 solaire-mode face-remap doom-modeline doom-modeline-segments=20 doom-modeline-env doom-modeline-core shrink-path rx f f-shortdoc=20 evil-collection-shortdoc shortdoc text-property-search s dash compat=20 compat-29 evil-collection-dashboard dashboard dashboard-widgets recentf=20 tree-widget wid-edit ffap all-the-icons all-the-icons-faces=20 data-material data-weathericons data-octicons data-fileicons=20 data-faicons data-alltheicons evil-collection-unimpaired=20 evil-collection-tabulated-list evil-collection-tab-bar=20 evil-collection-simple evil-collection-replace=20 evil-collection-process-menu evil-collection-package-menu=20 evil-collection-info evil-collection-indent evil-collection-image=20 image-mode evil-collection-dired dired dired-loaddefs exif=20 evil-collection-help evil-collection-elisp-mode evil-collection-eldoc=20 evil-collection-buff-menu evil-collection annalist evil evil-integration=20 evil-maps evil-commands reveal evil-jumps evil-command-window=20 evil-search evil-ex evil-types evil-macros evil-repeat evil-states=20 evil-core advice evil-common thingatpt rect evil-digraphs evil-vars ring=20 edmacro kmacro undo-tree diff queue doom-themes-ext-neotree=20 doom-gruvbox-theme doom-themes doom-themes-base cl-extra help-mode=20 use-package use-package-ensure use-package-delight use-package-diminish=20 use-package-bind-key bind-key easy-mmode use-package-core finder-inf=20 pcase slime-autoloads info package browse-url url url-proxy url-privacy=20 url-expand url-methods url-history url-cookie url-domsuf url-util=20 mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core=20 cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq=20 byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl=20 tooltip eldoc paren electric uniquify ediff-hook vc-hooks=20 lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd=20 tool-bar dnd fontset image regexp-opt fringe tabulated-list replace=20 newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar=20 rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock=20 font-lock syntax font-core term/tty-colors frame minibuffer cl-generic=20 cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao=20 korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech=20 european ethiopic indian cyrillic chinese composite emoji-zwj charscript=20 charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray=20 cl-preloaded nadvice button loaddefs faces cus-face macroexp files=20 window text-properties overlay sha1 md5 base64 format env code-pages=20 mule custom widget hashtable-print-readable backquote threads dbusbind=20 inotify lcms2 dynamic-setting system-font-setting font-render-setting=20 cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)=20 Memory information:=20 ((conses 16 839697 87675)=20 (symbols 48 58194 3)=20 (strings 32 254832 18309)=20 (string-bytes 1 7559626)=20 (vectors 16 118605)=20 (vector-slots 8 1538617 83734)=20 (floats 8 1343 1501)=20 (intervals 56 9681 4159)=20 (buffers 992 29)) --cab08cb1a0e647cd8ac655fc2077dd4b Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

When starting Emacs in a terminal emulator with 24 = bit color support,
I would like it to take advantage of = this. According to the FAQ
section 5.3, setting the vari= able COLORTERM to truecolor should
result in Emacs using= 24 bit colors. But according to my observations,
this i= s not always true.

Starting Emacs in the= se ways does result in it using true color:
TERM=3Dxterm= -256color COLORTERM=3Dtruecolor emacs -nw
TERM=3Dxterm-d= irect COLORTERM=3D emacs -nw
TERM=3Dxterm-direct COLORTE= RM=3D emacsclient -nw

Starting it in the= se ways does result in it NOT using true color:
TERM=3Dx= term-256color COLORTERM=3D emacs -nw
TERM=3Dxterm-256col= or COLORTERM=3D emacsclient -nw
TERM=3Dxterm-256color CO= LORTERM=3Dtruecolor emacsclient -nw

The = last one is the odd one out. According to my understanding, that
should result in 24 bit color being used, but in practice it does= not.

I verify the color mode by running= M-x list-colors-display and seeing if
the list of retur= ned colors is longer than 256.

Best rega= rds,
Vojt=C4=9Bch Bal=C3=A1k

= In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, = cairo version 1.17.6)
of 2023-01-03 built on 2
Windowing system distributor 'The X.Org Foundation', version 11.0= .12101007
System Description: Arch Linux
=
Configured using:
'configure --sysconfd= ir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib
--loca= lstatedir=3D/var --with-cairo --with-harfbuzz --with-libsystemd
--with-modules --with-x-toolkit=3Dgtk3 'CFLAGS=3D-march=3Dx86-64=
-mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D= _FORTIFY_SOURCE=3D2
-Wformat -Werror=3Dformat-security -= fstack-clash-protection
-fcf-protection -g
-ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Da= uto'
'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,rel= ro,-z,now -flto=3Dauto''

Configured feat= ures:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GS= ETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXM= L2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECC= OMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE
XIM = XPM GTK3 ZLIB

Important settings:
value of $LANG: en_US.UTF-8
locale-coding-syst= em: utf-8-unix

Major mode: Dashboard

Minor modes in effect:
glob= al-tree-sitter-mode: t
which-key-mode: t
= global-flycheck-mode: t
company-posframe-mode: t
global-company-mode: t
company-mode: t
global-git-gutter-mode: t
global-git-commit-mod= e: t
magit-auto-revert-mode: t
projectil= e-mode: t
helm-mode: t
helm-minibuffer-h= istory-mode: t
shell-dirtrack-mode: t
he= lm--remap-mouse-mode: t
async-bytecomp-package-mode: t <= br>
solaire-global-mode: t
doom-modeline-mode= : t
recentf-mode: t
global-evil-collecti= on-unimpaired-mode: t
evil-collection-unimpaired-mode: t=
evil-mode: t
evil-local-mode: t
global-undo-tree-mode: t
undo-tree-mode: t
=
override-global-mode: t
tooltip-mode: t
=
global-eldoc-mode: t
show-paren-mode: t
=
electric-indent-mode: t
mouse-wheel-mode: t =
menu-bar-mode: t
file-name-shadow-mode: = t
global-font-lock-mode: t
font-lock-mod= e: t
blink-cursor-mode: t
auto-compositi= on-mode: t
auto-encryption-mode: t
auto-= compression-mode: t
buffer-read-only: t
= column-number-mode: t
line-number-mode: t
transient-mark-mode: t

Load-path shado= ws:
/home/vojta/.config/emacs/elpa/transient-20230315.15= 20/transient hides /usr/share/emacs/28.2/lisp/transient
=
Features:
(facemenu shadow sort emacsbug= sendmail goto-addr evil-collection-view
view mule-util = misearch multi-isearch image-file image-converter
helm-e= xternal helm-net skeleton vc-mtn vc-hg vc-bzr vc-src vc-sccs
<= div> vc-svn vc-cvs vc-rcs bug-reference winner mail-extr tramp-archive <= br>
tramp-gvfs tramp-cache zeroconf helm-command helm-elisp h= elm-eval
evil-collection-edebug edebug backtrace helm-in= fo evil-collection-vc-git
vc-git display-line-numbers ra= inbow-delimiters flycheck-rust org-appear
flyspell ispel= l mixed-pitch org-indent org-element avl-tree ol-eww
evi= l-collection-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnselect gnus-search eieio-opt evil-collection-= speedbar
speedbar ezimage dframe gnus-art mm-uu mml2015 = mm-view mml-smime smime
dig gnus-sum gnus-group gnus-und= o gnus-start gnus-dbus dbus gnus-cloud
nnimap nnmail mai= l-source utf7 netrc nnoo gnus-spec gnus-int gnus-range
g= nus-win evil-collection-gnus gnus nnheader ol-docview
ev= il-collection-doc-view doc-view jka-compr ol-bibtex ol-bbdb ol-w3m
<= /div>
ol-doi org-link-doi evil-collection-org org ob ob-tangle ob-r= ef 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 oc-= basic bibtex ol org-keys oc org-compat org-macs
org-load= defs evil-collection-calendar cal-menu calendar cal-loaddefs
<= div> time shr kinsoku svg xml dom evil-collection-lua-mode lua-mode
=
terraform-mode hcl-mode dockerfile-mode evil-collection-sh-s= cript
sh-script smie executable haskell-mode haskell-cab= al haskell-utils
haskell-font-lock haskell-indentation h= askell-string
haskell-sort-imports haskell-lexeme haskel= l-align-imports
haskell-complete-module haskell-ghc-supp= ort evil-collection-flymake
flymake-proc flymake warning= s dabbrev haskell-customize flycheck-joker
evil-collecti= on-cider cider tramp-sh cider-debug cider-browse-ns
cide= r-mode cider-find cider-inspector cider-completion cider-profile
cider-eval cider-jar cider-repl-history pulse cider-repl cider-= resolve
cider-test cider-overlays cider-stacktrace cider= -doc cider-browse-spec
cider-clojuredocs cider-eldoc cid= er-client cider-common cider-connection
cider-util cider= -popup sesman-browser nrepl-client nrepl-dict spinner
se= sman vc vc-dispatcher clojure-mode align parseedn parseclj-parser
parseclj-lex parseclj-alist evil-collection-slime slime
evil-collection-apropos apropos evil-collection-outline noutli= ne outline
hyperspec ranger hl-line evil-collection-vdif= f vdiff hydra lv kubel-evil
kubel evil-collection-eshell= em-prompt esh-mode eshell esh-cmd esh-ext
esh-opt esh-p= roc esh-io esh-arg esh-module esh-groups esh-util
evil-c= ollection-yaml-mode yaml-mode evil-collection-vterm vterm
magit-bookmark evil-collection-bookmark bookmark color
= evil-collection-term term disp-table ehelp vterm-module term/xterm xter= m
tree-sitter-langs tree-sitter-langs-build evil-collect= ion-tar-mode
tar-mode evil-collection-arc-mode arc-mode = archive-mode pp
tree-sitter-hl tree-sitter tree-sitter-l= oad tree-sitter-cli tsc tsc-dyn
tsc-dyn-get dired-aux ts= c-obsolete evil-collection-which-key which-key
evil-coll= ection-flycheck flycheck find-func company-posframe posframe
<= div> company-oddmuse company-keywords company-etags etags fileloop gener= ator
evil-collection-xref xref company-gtags company-dab= brev-code
company-dabbrev company-files company-clang co= mpany-capf company-cmake
company-semantic company-templa= te company-bbdb evil-collection-company
company git-gutt= er evil-collection-magit magit-submodule magit-blame
mag= it-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch
magit-clone magit-remote magit-commit magit-sequence magit-= notes
magit-worktree magit-tag magit-merge magit-branch = magit-reset
magit-files magit-refs magit-status magit ma= git-repos magit-apply
magit-wip magit-log which-func evi= l-collection-imenu imenu magit-diff
smerge-mode evil-col= lection-diff-mode diff-mode git-commit
evil-collection-l= og-edit log-edit message rmc puny rfc822 mml mml-sec
evi= l-collection-epa epa derived epg rfc6068 epg-config gnus-util rmail
=
rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail= -utils
gmm-utils mailheader pcvs-util add-log magit-core= magit-autorevert
autorevert magit-margin magit-transien= t magit-process with-editor server
magit-mode transient = magit-git magit-base evil-collection-magit-section
magit= -section crm evil-collection-ripgrep ripgrep helm-projectile
<= div> projectile project lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-u= til
ietf-drums mail-prsvr evil-collection-grep grep evil= -collection-compile
compile ibuf-ext evil-collection-ibu= ffer ibuffer ibuffer-loaddefs
helm-mode helm-misc evil-c= ollection-helm helm-files
evil-collection-image-dired im= age-dired filenotify tramp tramp-loaddefs
trampver tramp= -integration files-x tramp-compat shell pcomplete
evil-c= ollection-comint comint parse-time iso8601 time-date ls-lisp
<= div> helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp=
format-spec ansi-color helm-utils helm-help helm-types = helm
helm-global-bindings helm-easymenu helm-core async-= bytecomp helm-source
helm-multi-match helm-lib async evi= l-collection-neotree neotree
solaire-mode face-remap doo= m-modeline doom-modeline-segments
doom-modeline-env doom= -modeline-core shrink-path rx f f-shortdoc
evil-collecti= on-shortdoc shortdoc text-property-search s dash compat
= compat-29 evil-collection-dashboard dashboard dashboard-widgets recentf =
tree-widget wid-edit ffap all-the-icons all-the-icons-fa= ces
data-material data-weathericons data-octicons data-f= ileicons
data-faicons data-alltheicons evil-collection-u= nimpaired
evil-collection-tabulated-list evil-collection= -tab-bar
evil-collection-simple evil-collection-replace =
evil-collection-process-menu evil-collection-package-men= u
evil-collection-info evil-collection-indent evil-colle= ction-image
image-mode evil-collection-dired dired dired= -loaddefs exif
evil-collection-help evil-collection-elis= p-mode evil-collection-eldoc
evil-collection-buff-menu e= vil-collection annalist evil evil-integration
evil-maps = evil-commands reveal evil-jumps evil-command-window
evil= -search evil-ex evil-types evil-macros evil-repeat evil-states
evil-core advice evil-common thingatpt rect evil-digraphs evil-va= rs ring
edmacro kmacro undo-tree diff queue doom-themes-= ext-neotree
doom-gruvbox-theme doom-themes doom-themes-b= ase cl-extra help-mode
use-package use-package-ensure us= e-package-delight use-package-diminish
use-package-bind-= key bind-key easy-mmode use-package-core finder-inf
pcas= e slime-autoloads info package browse-url url url-proxy url-privacy
=
url-expand url-methods url-history url-cookie url-domsuf url= -util
mailcap url-handlers url-parse auth-source cl-seq = eieio eieio-core
cl-macs eieio-loaddefs password-cache j= son subr-x map url-vars seq
byte-opt gv bytecomp byte-co= mpile cconv cl-loaddefs cl-lib iso-transl
tooltip eldoc = paren electric uniquify ediff-hook vc-hooks
lisp-float-t= ype elisp-mode mwheel term/x-win x-win term/common-win x-dnd
<= div> tool-bar dnd fontset image regexp-opt fringe tabulated-list replace=
newcomment text-mode lisp-mode prog-mode register page = tab-bar menu-bar
rfn-eshadow isearch easymenu timer sele= ct scroll-bar mouse jit-lock
font-lock syntax font-core = term/tty-colors frame minibuffer cl-generic
cham georgia= n 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 emoj= i-zwj charscript
charprop case-table epa-hook jka-cmpr-h= ook help simple abbrev obarray
cl-preloaded nadvice butt= on loaddefs faces cus-face macroexp files
window text-pr= operties overlay sha1 md5 base64 format env code-pages
m= ule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-ren= der-setting
cairo move-toolbar gtk x-toolkit x multi-tty= make-network-process emacs)

Memory info= rmation:
((conses 16 839697 87675)
(symb= ols 48 58194 3)
(strings 32 254832 18309)
(string-bytes 1 7559626)
(vectors 16 118605)
(vector-slots 8 1538617 83734)
(floats 8 1343 150= 1)
(intervals 56 9681 4159)
(buffers 992= 29))
--cab08cb1a0e647cd8ac655fc2077dd4b-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 13:21:33 2023 Received: (at 62528) by debbugs.gnu.org; 29 Mar 2023 17:21:33 +0000 Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phZUL-0006dt-Hg for submit@debbugs.gnu.org; Wed, 29 Mar 2023 13:21:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phZUJ-0006df-G8 for 62528@debbugs.gnu.org; Wed, 29 Mar 2023 13:21:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phZUD-0008D8-Uf; Wed, 29 Mar 2023 13:21:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2NT+8tEzyUzoV7ZvBxYO0YKyf/SSdrtqvHSAGJOSuaA=; b=Cs0lLR+46YPb+vo2pHPZ zsfzkfLGcJqE2JefNL0n78VrN8JsJ0hJJr8axZMQ1rwychKjO08TVgM2pTL9unsKUZLSxPODJvHc0 G71UX0sELl5f4d++JwyF+J1hx0albXQiJ0qqck2Pry4rmv82tUmezsK9FILbXsTcJpRDfaLVotvlo bzuD8x5Cn0SgXvlP5c2sUtNNpQYq6+qP+bFetVwERemb8CtFf94MwLJuvVddflEE+PKI8xTln0zsI s3ZYiZqObd6ErKaJi+8i9KCvAK4LLK+1gX82CXcS9bVaX1QJdLffSGFKeXVblUIvjEX4TPBU1gZQh 6o1lWjJm5P19Qg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phZUD-00035n-4q; Wed, 29 Mar 2023 13:21:25 -0400 Date: Wed, 29 Mar 2023 20:21:33 +0300 Message-Id: <837cuz79sy.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= In-Reply-To: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> (message from =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= on Wed, 29 Mar 2023 17:06:18 +0200) Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62528 Cc: 62528@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 (---) > Date: Wed, 29 Mar 2023 17:06:18 +0200 > From: Vojtěch Balák > > When starting Emacs in a terminal emulator with 24 bit color support, > I would like it to take advantage of this. According to the FAQ > section 5.3, setting the variable COLORTERM to truecolor should > result in Emacs using 24 bit colors. But according to my observations, > this is not always true. > > Starting Emacs in these ways does result in it using true color: > TERM=xterm-256color COLORTERM=truecolor emacs -nw > TERM=xterm-direct COLORTERM= emacs -nw > TERM=xterm-direct COLORTERM= emacsclient -nw > > Starting it in these ways does result in it NOT using true color: > TERM=xterm-256color COLORTERM= emacs -nw > TERM=xterm-256color COLORTERM= emacsclient -nw > TERM=xterm-256color COLORTERM=truecolor emacsclient -nw > > The last one is the odd one out. According to my understanding, that > should result in 24 bit color being used, but in practice it does not. I think you are misinterpreting what the documentation says. COLORTERM=truecolor can only affect Emacs, it cannot affect the display triggered by emacsclient. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 14:48:12 2023 Received: (at 62528) by debbugs.gnu.org; 29 Mar 2023 18:48:13 +0000 Received: from localhost ([127.0.0.1]:54972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phaqC-0000ZO-D1 for submit@debbugs.gnu.org; Wed, 29 Mar 2023 14:48:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phaq9-0000YW-Ti for 62528@debbugs.gnu.org; Wed, 29 Mar 2023 14:48:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phaq4-0000ke-GH; Wed, 29 Mar 2023 14:48:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Y4PoJbnU0ri8LcMJrQKGbd4GUb+KH/9jZCHJ8KwhpDQ=; b=ZBh91zvfrRGqgBjN9c1O M74RNH30CRw+jI+K35GWzfS8B5KW3FgH5Ln4rNdgXFrKZOtSuz0rTo2Cy/Y+WM+I2PCP7yC6YAuG0 HLSuxPpbhZNLve8IjQ3qCwEcB8F8xHKQ1N722/t09V/+VF0vcQ6MVv/HoEKrNgGtT4E+mtBTfRXda HqKg5UnRqp+i3sQjggS7ztpvQJDTmMZIVy5F+rwbJ9KevzLUOclSWwSj/kj/fWkLPGLono1uCrLQJ tuUznelRhqALEHohbHqy0EWv1noMfbbYoosvOU1dbJdIKKA+1aNNCROazcrAJ74hlD/d3IR4lhbuF HddbY/w+icZOKA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phaq4-0006Nk-03; Wed, 29 Mar 2023 14:48:04 -0400 Date: Wed, 29 Mar 2023 21:48:12 +0300 Message-Id: <834jq375sj.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= In-Reply-To: (message from =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= on Wed, 29 Mar 2023 20:42:53 +0200) Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62528 Cc: 62528@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 (---) > Date: Wed, 29 Mar 2023 20:42:53 +0200 > From: Vojtěch Balák > Cc: 62528@debbugs.gnu.org > > > I think you are misinterpreting what the documentation says. > > COLORTERM=truecolor can only affect Emacs, it cannot affect the > > display triggered by emacsclient. > > Why is that the case, if you don't mind me asking? emacsclient does > support 24 bit color, since setting TERM=xterm-direct works. And > because both Emacs and emacsclient support 24 bit color, I would > expect COLORTERM to work for both. COLORTERM should be in the environment of emacs when it starts, not in the environment of emacsclient. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 15:35:20 2023 Received: (at 62528) by debbugs.gnu.org; 29 Mar 2023 19:35:21 +0000 Received: from localhost ([127.0.0.1]:55022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbZo-000218-Ck for submit@debbugs.gnu.org; Wed, 29 Mar 2023 15:35:20 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:43401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phalU-0000No-FZ for 62528@debbugs.gnu.org; Wed, 29 Mar 2023 14:43:20 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6EDE53200990; Wed, 29 Mar 2023 14:43:14 -0400 (EDT) Received: from imap45 ([10.202.2.95]) by compute2.internal (MEProxy); Wed, 29 Mar 2023 14:43:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=balak.me; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1680115394; x=1680201794; bh=sS cK8WjpZoqko28XlKynlW4si2vZ6o9VwhXJmp1j7sc=; b=ssXK4XcPjd5mKobeGu EtfAxF+5/Qg7kBr1xnhwXoO4XoVJBkosR/7Gtvo2GWpy35fN/PiSu/UcPRXAqiAA GZakMSpzFa3BgFtwwmk58Wvh39R84hXV81cPaCQJqKP4Wg5DwEV39ojdyR8ha3gL Tt626Em8zTIT6tkwjhEsx86UIFtEUeR+HuwmTO61/DuaHNtTfPNTFtEc9yZW9X91 1zdc0y35zmKzdDYk5FQtUbag4bxJ8g1fEpAhr8iwe3C3QwU5cmQNdAbynGSkgy/w EhIsqIoBN1QxdsZiDtY5e3+r0KXphetIfVDqk042yq7OUPtCJTC1hnegx5l/qVup eXVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680115394; x=1680201794; bh=sScK8WjpZoqko 28XlKynlW4si2vZ6o9VwhXJmp1j7sc=; b=Oid+2mHGYFMJ0cPhvhTpgOdUxr8CP cS++DRDr0eCmfd3KDBTRdDtG8El32m7vR+RQww08DQex2/ZT4Hsti/FBcuZ7zaYv m1WFUQtw7DUJP+8P5+xdzhyYRseY+rZQJxz4ujUTVdnIt39nWSIyAdwGrF6sIc3u YMS3AbpynDVRjCxGNT3fr7krOHWkEGEagUmRZX3dyrjOlUdCtk+jSRDnKyIdeyYI uBvPvf55BuarVBR5LERYCKAIcjTLe9ihpYnn06FFwNJdGQ/KOeZq/8CQUSl/+8Pj eRQhgkfaw+G+hvIYL1QICP8GJfMqts5hHFsPEgeUl9doNmxEmwAbEP6OQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreerjeenucfhrhhomhepggho jhhtvmgthhcuuegrlhojkhcuoehvohhjthgvtghhsegsrghlrghkrdhmvgeqnecuggftrf grthhtvghrnhepuedtfffhveejgfejtdejheekleduvefgheegueeuveelhffgjefhfffg ffejgfeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epvhhojhhtvggthhessggrlhgrkhdrmhgv X-ME-Proxy: Feedback-ID: ibb6946bb:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A3FDE272007B; Wed, 29 Mar 2023 14:43:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-238-g746678b8b6-fm-20230329.001-g746678b8 Mime-Version: 1.0 Message-Id: In-Reply-To: <837cuz79sy.fsf@gnu.org> References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> Date: Wed, 29 Mar 2023 20:42:53 +0200 From: =?UTF-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= To: "Eli Zaretskii" Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62528 X-Mailman-Approved-At: Wed, 29 Mar 2023 15:35:19 -0400 Cc: 62528@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: -1.7 (-) > I think you are misinterpreting what the documentation says. > COLORTERM=truecolor can only affect Emacs, it cannot affect the > display triggered by emacsclient. Why is that the case, if you don't mind me asking? emacsclient does support 24 bit color, since setting TERM=xterm-direct works. And because both Emacs and emacsclient support 24 bit color, I would expect COLORTERM to work for both. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 03:50:50 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 07:50:50 +0000 Received: from localhost ([127.0.0.1]:55655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phn3a-0007Bd-7Y for submit@debbugs.gnu.org; Thu, 30 Mar 2023 03:50:50 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phn3Y-0007BR-KY for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 03:50:49 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6FBFB5C00A9; Thu, 30 Mar 2023 03:50:43 -0400 (EDT) Received: from imap45 ([10.202.2.95]) by compute2.internal (MEProxy); Thu, 30 Mar 2023 03:50:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=balak.me; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1680162643; x=1680249043; bh=pN mANpDQ+P6RdUhJ0xCIhZsnnD4MTZxdoaDbXLGGr8o=; b=UNIHuDA65JmuvPTLh1 UaQ9c1mZQE+uZu+vzjQj4EA6C2MPDumNRWchCWtMyaIc3Kn63cXvD7vWDhW7OjZ5 KNRbqzlpXwYJU0ml0Fj8fRuU5r6QL8i/0LJHbt2wNbr0EU1i0/v4+m2bKXHSkXb5 svyKoIPnZM0FeBx6rTTkXUWjztw256duj1Hz+HKskFkWT2FDO5Avn2xRLYFD5Uw7 1lu/zprFz50PY4zkkuecouQ8mnoJxtUAa6HLtolbyvwBVcOcFrg2tjj9DUf1qUHl MdlMPHwyT6zTmM2ZLbdrjP+QovNHSzmFPoNpuMqvTxo3t+j+GXbIz4jZ+xT7/q0h eUUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680162643; x=1680249043; bh=pNmANpDQ+P6Rd UhJ0xCIhZsnnD4MTZxdoaDbXLGGr8o=; b=vrPx7npsZyaYmgSMJJebW2pINbWNA AdUZfWU4U5k3Lqpxkiwb6ykG6z11NhDiptHDUsB30YyCSgtIWlYb3ef10GsFxFtU /RmqoEsAL/4iWCLHld56cMX3SZ2sw3QdICxP8EEjShnPMlC3HhmnzBK9Tu144w1F 2NIm8SsIQOCopGuNotBesL7pkNnBkElJekxn3toLdjAaUhD1NjD/J97/FG2+ejZJ 5pGIOI4IaRcS4LiZg/z+wWgmdFkxP5dLGXpHtOSwWOiJISvRyIFylaiPN0l/rNSG q59vW4JrlLu8jNLF4QQUw3YKwOad88v3mUNPseDHB+QXddvByPFGQzniw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehjedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreerjeenucfhrhhomhepggho jhhtvmgthhcuuegrlhojkhcuoehvohhjthgvtghhsegsrghlrghkrdhmvgeqnecuggftrf grthhtvghrnhepuedtfffhveejgfejtdejheekleduvefgheegueeuveelhffgjefhfffg ffejgfeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epvhhojhhtvggthhessggrlhgrkhdrmhgv X-ME-Proxy: Feedback-ID: ibb6946bb:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E81BC272007D; Thu, 30 Mar 2023 03:50:42 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-238-g746678b8b6-fm-20230329.001-g746678b8 Mime-Version: 1.0 Message-Id: In-Reply-To: <834jq375sj.fsf@gnu.org> References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> Date: Thu, 30 Mar 2023 09:49:56 +0200 From: =?UTF-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= To: "Eli Zaretskii" Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62528 Cc: 62528@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: -1.7 (-) > COLORTERM should be in the environment of emacs when it starts, not in > the environment of emacsclient. Oh, that does work. You're right, I misunderstood the documentation. Thank you for clarifying. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 04:51:06 2023 Received: (at 62528-done) by debbugs.gnu.org; 30 Mar 2023 08:51:06 +0000 Received: from localhost ([127.0.0.1]:55740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnzu-0000Lj-5S for submit@debbugs.gnu.org; Thu, 30 Mar 2023 04:51:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnzs-0000Kl-1n for 62528-done@debbugs.gnu.org; Thu, 30 Mar 2023 04:51:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phnzm-0001sn-5a; Thu, 30 Mar 2023 04:50:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bTTlJZahPRbO77gET8K0yd3KHojWRlizTQegxwDgtJQ=; b=ld7w9u5r56BgHfSEcNfn iuys4ggHtbiYp6GStWeD4l6YHNty+6NSWd6iG/pmTIU6rQcQD3ghOhpmreZx0RqQAhp/CIureTNPU PqnOz0O7NS6ewrPfeLq7qF4rRp/pVLYvmOTEWdwWBfgNUr0uuGKa2JQM9xe0oam2yU7rP3hq92YP3 kY612qUO36Q6VgZilBBHM5aMGnUXz+eta+wynCxLKZrp4DSkWYXvIuw8PfJRj78re0kQm5+sJTa7M 9KNk4LS7Rq+NDUXM/W4IVvmWkD6y0S+AjBqYCubvxthCZZZcuscxAXHMFG4UPLCVS0GiVEHYu9FEn ViNjeqfKHB8FyQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phnzl-0005Yq-Mn; Thu, 30 Mar 2023 04:50:58 -0400 Date: Thu, 30 Mar 2023 11:51:08 +0300 Message-Id: <83jzyy62rn.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= In-Reply-To: (message from =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= on Thu, 30 Mar 2023 09:49:56 +0200) Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62528-done Cc: 62528-done@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 (---) > Date: Thu, 30 Mar 2023 09:49:56 +0200 > From: Vojtěch Balák > Cc: 62528@debbugs.gnu.org > > > COLORTERM should be in the environment of emacs when it starts, not in > > the environment of emacsclient. > > Oh, that does work. You're right, I misunderstood the documentation. > Thank you for clarifying. OK, I'm therefore closing this bug. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 04:59:41 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 08:59:41 +0000 Received: from localhost ([127.0.0.1]:55746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pho8D-0000YR-3x for submit@debbugs.gnu.org; Thu, 30 Mar 2023 04:59:41 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:33385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pho8B-0000YA-P5 for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 04:59:40 -0400 Received: by mail-wm1-f48.google.com with SMTP id v20-20020a05600c471400b003ed8826253aso3078329wmo.0 for <62528@debbugs.gnu.org>; Thu, 30 Mar 2023 01:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680166773; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=u3T2fjRJ72VP+fh59axTbw1Y+12RGo555dzC7lePuh0=; b=cWCj77lLYpDLH0R0DR6sUX1nHt8K0J7xCwU36R6d44WXiPMI8CoWnqsUO53ar7sNMp Nr0yhHWqwdOOJE5xiJkYry8rkFCcUfMYUb8xnVlVNezYoL/9UwfF85dNslF9q1GZzXIy wkQm3z2k/kcaK2r++EcTNiU4y4TCcRu309JDYmctlrgbWx8AKIgvF6DBYPKvXpT1c8bz i8dMvKycPLRu0tDPPcfe4mi5AVpEJkRTHeC4UWVtnmAOqTMsaj3KYfykqeWl38lknMpM bJgH7Fu659aOExTj47c+BArGyNA1zJKYGfdbeB60jESZQwwo7dahMe6XbsPFVrij9FA/ wBQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680166773; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u3T2fjRJ72VP+fh59axTbw1Y+12RGo555dzC7lePuh0=; b=L2qXjMOd8mHuUKj0xl2t0+9BqD8IJ61tJq1UhA7ggBf/ctEOiPRZk7OHS4xIMQk33X epC3dDbREsgGn4mRUbkabuGNyxifbzlze3odHe2dy/J5NLcAXivXe1Ct2zJJTODeFgXF q5LuWK8KZBUL3wd88CUD5g3eQ091d2kei8jYKJSwohDt9x3EBXL6tMnhwAutw4lExKzm fRNODsUn+Vle+JQhoiJFZaygUDkUh2f+T58WVvxyCoGBEUVfT4xwFFO0ROD4kq0QprNH FXfBGz2I/U6SjQZan/PuZ+Xg/X6+Ft31FQ2e9VnQIDB3mJc2GMD26FC2DIiEICTjDk2n z/HQ== X-Gm-Message-State: AO0yUKWLu1XsHajN8JhNpG4QcdM0GCremDjU8rtLAm+kfOIoq+8aQwkM VUS/Xh53XZZZJSpd41Z+kPO6hHMo8Qo= X-Google-Smtp-Source: AK7set9D6HyVaWWPs2aUHF3u9dFuEh7KwMbvTz5gA4CmY79vU6AhxvNwumUkG/JAwifQI30j48T2Pw== X-Received: by 2002:a7b:c44b:0:b0:3ed:301c:375c with SMTP id l11-20020a7bc44b000000b003ed301c375cmr17873292wmi.21.1680166773362; Thu, 30 Mar 2023 01:59:33 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id o5-20020a05600c510500b003ef5bb63f13sm5436614wms.10.2023.03.30.01.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 01:59:32 -0700 (PDT) From: Robert Pluim To: "Eli Zaretskii" Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM In-Reply-To: (=?utf-8?Q?=22Vojt=C4=9Bch=09Bal=C3=A1k=22's?= message of "Thu, 30 Mar 2023 09:49:56 +0200") References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> Date: Thu, 30 Mar 2023 10:59:32 +0200 Message-ID: <87wn2ylimj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62528 Cc: =?utf-8?Q?Vojt=C4=9Bch_Bal=C3=A1k?= , 62528@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: -1.0 (-) >>>>> On Thu, 30 Mar 2023 09:49:56 +0200, Vojt=C4=9Bch Bal=C3=A1k said: >> COLORTERM should be in the environment of emacs when it starts, not = in >> the environment of emacsclient. That=CA=BCs because we look it up using `getenv' in init_tty. If we used `egetenv' instead, then we could honour the value of "COLORTERM" sent by emacsclient. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 05:34:37 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 09:34:37 +0000 Received: from localhost ([127.0.0.1]:55773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phog1-0003qb-84 for submit@debbugs.gnu.org; Thu, 30 Mar 2023 05:34:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phofz-0003qN-Ib for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 05:34:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phofu-0001pt-6T; Thu, 30 Mar 2023 05:34:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TBPnwIYzli8njBxrqzJGVI9FHt2MYNiPo0RF1s9TrK0=; b=PH3vD7GO14R5UYIPFOSJ dGrlWOUniyki5y7M/1qvfevgec7Xv3Pi0+fDEUxlO8tL29F454WYQOLsyJYUFhMEpsZIbustwyFmh 9rBjeYM0hJL4bQEaDYAW6xuIKvTArsZixmU5aRxM0vvSQ3SeCCCm07R0GAfhAUrrpLuDy12jWv8+w DlUSW1iin3f4Jj21c7vsOL7+1y/Mno23n7hFVKEWh7W3dnbxYo7+2RrWzVM86pug9xktMZ1TYXs3N YkXOsU22HHqjuzd0KAWnxh/TjaODIwuL5f2ABCbSvMv82TW8CHBjPvZnHPvvPmT9a18Mq8DC9QBMK O4/2mkY7SKOwvw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phoft-000106-FV; Thu, 30 Mar 2023 05:34:29 -0400 Date: Thu, 30 Mar 2023 12:34:39 +0300 Message-Id: <83h6u260r4.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87wn2ylimj.fsf@gmail.com> (message from Robert Pluim on Thu, 30 Mar 2023 10:59:32 +0200) Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> <87wn2ylimj.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62528 Cc: vojtech@balak.me, 62528@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 (---) > From: Robert Pluim > Cc: Vojtěch Balák , > 62528@debbugs.gnu.org > Date: Thu, 30 Mar 2023 10:59:32 +0200 > > >>>>> On Thu, 30 Mar 2023 09:49:56 +0200, Vojtěch Balák said: > > >> COLORTERM should be in the environment of emacs when it starts, not in > >> the environment of emacsclient. > > Thatʼs because we look it up using `getenv' in init_tty. If we used > `egetenv' instead, then we could honour the value of "COLORTERM" sent > by emacsclient. But egetenv would be wrong here, because it looks in process-environment. This is _exactly_ the issue here: emacsclient puts the environment of the parent shell into process-environment, so that it could be inherited by sub-processes, but Emacs itself should _not_ be sensitive to the environment it prepares for sub-processes. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 05:41:52 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 09:41:52 +0000 Received: from localhost ([127.0.0.1]:55806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phon1-000436-J8 for submit@debbugs.gnu.org; Thu, 30 Mar 2023 05:41:51 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:42726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phomz-00042r-Rv for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 05:41:50 -0400 Received: by mail-wr1-f50.google.com with SMTP id e18so18396455wra.9 for <62528@debbugs.gnu.org>; Thu, 30 Mar 2023 02:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680169303; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=U2Zy6lKfeBFixT64qlaPD1F0YliXS1lA8Jq5IjjXhUE=; b=ajxH3lo7T+Dw4p0ajytxxg+FUp0SFTp5Uqa29+Iij6sRBc9WEHjuWV5giQnxh431Ml qF19pGcw0aAI4BYhywMl9KaqyypRW9EIJ5OBsEetR2f1anvHj4LY2lqbWaVv4NkG+E8h TeYMFvBBSYIyWYa5W8wgJnBRDl3lbxweWMxB0HExMIr6uyCLou9PzFppDmwkffLAzvem MjE1Rnt3pUDQ5nkYZNTiHFdABEBaCk9jkiLm/6Fkq1rfmUs9sTGNcSujbIHNedSUBRUt UJSjzb0rGxo7xQNSqyK9mj825pDIQpvISla3XPoyxHiaMgmYc2SQ0EuWw9TqX3Lldbbh VjHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680169303; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U2Zy6lKfeBFixT64qlaPD1F0YliXS1lA8Jq5IjjXhUE=; b=IKG/mQcwqSGYNL5LcUU9ltV785S2uO71uhnq/zcSxHMjbko41IP5qb37JgDiIenVGs 09hS+6zpjk649Sl6wBkBXRvjzJlKZ3O2JBsdM3beyoC1wBvGU8jyCrGmVTP2Ch/XMPLs lhM4O1we5VIc9/rsDOmi5QoLgtKDn9rUD9VUyM8iOdDhDggFJz9WdAPn26x1zlPR4ZEv xzd4RreLaMTxhw9fBC/Du+MtYNqWO1raWamlqyrzOuvamoLYf2k2UCwUh3x6JqgxV3ds UUt3qsGHg7OWid1efMxJWIs0KgPnMNoglwC/KbbzdT2enaUbjhf0fsJ6ObdiDq2gnk26 P9lA== X-Gm-Message-State: AAQBX9cYkW0ZIj4bzGWdRfeU3FUPXYN0tLcJndRq0rtnah57kX2BXKyJ NY9TiWmYDw7wG7Yj63Sha2Kla8d7qXc= X-Google-Smtp-Source: AKy350Z9Id6DVW3fWqd4fCCosEUmn0Ngxl2jpah2XYvs8rneR4mLkp61TQqTv08hwhyH1zwpwa0WHQ== X-Received: by 2002:adf:fd81:0:b0:2c8:9ab8:85f9 with SMTP id d1-20020adffd81000000b002c89ab885f9mr21339442wrr.40.1680169303485; Thu, 30 Mar 2023 02:41:43 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id e7-20020a5d5307000000b002c5a1bd5280sm32383114wrv.95.2023.03.30.02.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 02:41:43 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM In-Reply-To: <83h6u260r4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Mar 2023 12:34:39 +0300") References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> <87wn2ylimj.fsf@gmail.com> <83h6u260r4.fsf@gnu.org> Date: Thu, 30 Mar 2023 11:41:42 +0200 Message-ID: <87o7oalgo9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62528 Cc: vojtech@balak.me, 62528@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: -1.0 (-) >>>>> On Thu, 30 Mar 2023 12:34:39 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: Vojt=C4=9Bch Bal=C3=A1k , >> 62528@debbugs.gnu.org >> Date: Thu, 30 Mar 2023 10:59:32 +0200 >>=20 >> >>>>> On Thu, 30 Mar 2023 09:49:56 +0200, Vojt=C4=9Bch Bal=C3=A1k said: >>=20 >> >> COLORTERM should be in the environment of emacs when it starts, n= ot in >> >> the environment of emacsclient. >>=20 >> That=CA=BCs because we look it up using `getenv' in init_tty. If we = used >> `egetenv' instead, then we could honour the value of "COLORTERM" sent >> by emacsclient. Eli> But egetenv would be wrong here, because it looks in Eli> process-environment. Well yes, that=CA=BCs the whole point Eli> This is _exactly_ the issue here: emacsclient puts the environment= of Eli> the parent shell into process-environment, so that it could be Eli> inherited by sub-processes, but Emacs itself should _not_ be sensi= tive Eli> to the environment it prepares for sub-processes. Normally I=CA=BCd agree with you, but this a grey area: we=CA=BCre creating= a new frame, so having its characteristics depend on information sent by emacsclient makes sense, especially since server.el already goes to the trouble of ensuring that emacsclient=CA=BCs value of COLORTERM is inherited. Would you accept a compromise where we check `getenv', and if the value is empty, check `egetenv'? Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 06:36:11 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 10:36:11 +0000 Received: from localhost ([127.0.0.1]:55848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phpdX-0005XW-1x for submit@debbugs.gnu.org; Thu, 30 Mar 2023 06:36:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phpdS-0005Wx-Nj for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 06:36:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phpdM-0004rz-Se; Thu, 30 Mar 2023 06:35:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hOTf8G6q5LtQlckgHRWU2oQ/mBHS3e2cIHHCp/AYp08=; b=amtTMndoX3xw LE2TMpXeggcnmqzZg+52HHQUJcYUI8x4XOo65zk6mSvcnH2ijjlzDH8Lw4TY6uA6Qk2+c5QTubU8Y eNF70UKZa/17vu7w/tDnjIuWJx7GYKXTXr1v9xk6fJd+HywI+qDysSPUoEke/Ww5dYZpIV0JmM+Nh I2l+8k9Uo99vFSz30u9ad/BLQXkYtw1tdV080wy0G1FZ+iNTUb5P1jVD5V1wOoVjfvG/6B85LH1RM eW55cIRwiiZmiAD0SRxqz50y3pWHDG7iWoZ1MTcOwdzBo2Ub1Dnx8GbOJxCbBZQ2maHLzqtQc+LTf pJxfrUpz/xXwNwpL1s/XYA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phpdL-0001Cm-Hb; Thu, 30 Mar 2023 06:35:56 -0400 Date: Thu, 30 Mar 2023 13:36:06 +0300 Message-Id: <835yai5xwp.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87o7oalgo9.fsf@gmail.com> (message from Robert Pluim on Thu, 30 Mar 2023 11:41:42 +0200) Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> <87wn2ylimj.fsf@gmail.com> <83h6u260r4.fsf@gnu.org> <87o7oalgo9.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62528 Cc: vojtech@balak.me, 62528@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 (---) > From: Robert Pluim > Cc: vojtech@balak.me, 62528@debbugs.gnu.org > Date: Thu, 30 Mar 2023 11:41:42 +0200 > > Would you accept a compromise where we check `getenv', and if the > value is empty, check `egetenv'? Sorry, no. First, because it will not behave differently from just using egetenv to begin with. More importantly, I don't think we want to have such different color capabilities on different frames in the same Emacs session, that will cause many problems we don't want to touch with a 3-mile pole. The fix is easy: set the variable before starting Emacs, so why should we jump through hoops here? From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 08:11:39 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 12:11:39 +0000 Received: from localhost ([127.0.0.1]:55968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phr7y-0002J3-OL for submit@debbugs.gnu.org; Thu, 30 Mar 2023 08:11:38 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:35546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phr7w-0002Io-L8 for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 08:11:37 -0400 Received: by mail-wr1-f49.google.com with SMTP id l27so18847021wrb.2 for <62528@debbugs.gnu.org>; Thu, 30 Mar 2023 05:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680178290; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZsUUEQ40sHB9mLYKaaclhXuUVBbF8/U7feyaa6z5ZrM=; b=QDtGJiBqekJH/SrrAkIg3DwMqZL/x18CMTA2AF6rol1vHTqSFqXiFu3XyxSi6i8iBg M+XgGaPfwpCYbcRYRtXyE+ZWg6HnufYnyJUNj0n7RhTPx8uOw2GosiLhOGWAGMWie5Rn Q3tGvgDM3TT0NQpwfv7dxprvSJspQFMOx9niFxFhwdYbjNcYJDnIdSqKU7xJz/q+5Aii Gb05TZ0YWZAM5TTc7n1692+clvCZGoQFAyVagtPT1z5PjPtE+TcPcsq6xC3cRdi7yQCx FY3hquX/h0vekBEFlM3WXA2ayUPz/kzxgzYKy1UVhl2eYsoUF9dEyj/NSDBPj4BEdexP HneA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680178290; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZsUUEQ40sHB9mLYKaaclhXuUVBbF8/U7feyaa6z5ZrM=; b=EtE2dXbHb/kQpM/p3uakpg3xA7mGypU+uPU0B8qx+eXlv+NIyCioX0WBwPj1MktyuG Bs6v3ReRm4amX3swgwDGgEv98MFpZsewt28ADMoe3bJmy0KuBYB8g/fYZhwlcsk5xDx4 K/mFLC/VyKg6FCL9rR9LFfZSyZQY1yZmqHo9P0VV/fbMJKD/Cq8eN6VxeZkygIVNOjhr fsz+85C0IP7DS97K+Vq4KlcmvnFhioMiSLCvBwLhrKFc5eAd9ZXydUcMB9+vzBhkJxec CNOWDvGi55nKgWnKWHf2xXanHAdYV6cFrIJ0iV89wakyL7PW358B10jand5009bPRi+h TlmA== X-Gm-Message-State: AAQBX9e/S2No1wqlwjIl6YCwiNVpmTgRew/G22f/p21NIZ6X3La+mctB aMWtpElncr8IcBU8joVOgbt8iWC8p64= X-Google-Smtp-Source: AKy350bO8mdGL4yZfk8/HiF6Ae1oXpAfCm5z9P4zsQZqcp1PvcpEapZDnfaoZtwP9z5qJ6Mw/BiJKQ== X-Received: by 2002:a5d:434b:0:b0:2e4:cbce:e9d7 with SMTP id u11-20020a5d434b000000b002e4cbcee9d7mr1909759wrr.6.1680178290331; Thu, 30 Mar 2023 05:11:30 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id t3-20020a5d6903000000b002e105c017adsm9240118wru.44.2023.03.30.05.11.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 05:11:29 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM In-Reply-To: <835yai5xwp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Mar 2023 13:36:06 +0300") References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> <87wn2ylimj.fsf@gmail.com> <83h6u260r4.fsf@gnu.org> <87o7oalgo9.fsf@gmail.com> <835yai5xwp.fsf@gnu.org> Date: Thu, 30 Mar 2023 14:11:29 +0200 Message-ID: <87jzyyl9qm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62528 Cc: vojtech@balak.me, 62528@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: -1.0 (-) >>>>> On Thu, 30 Mar 2023 13:36:06 +0300, Eli Zaretskii said: Eli> More importantly, I don't think we want Eli> to have such different color capabilities on different frames in t= he Eli> same Emacs session, that will cause many problems we don't want to Eli> touch with a 3-mile pole. That=CA=BCs a situation we already have, since those color capabilities are derived from the terminal where emacsclient is invoked anyway. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 10:14:35 2023 Received: (at 62528) by debbugs.gnu.org; 30 Mar 2023 14:14:35 +0000 Received: from localhost ([127.0.0.1]:59151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pht2x-0000Uz-4O for submit@debbugs.gnu.org; Thu, 30 Mar 2023 10:14:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pht2v-0000Uj-2W for 62528@debbugs.gnu.org; Thu, 30 Mar 2023 10:14:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pht2p-0001AP-0x; Thu, 30 Mar 2023 10:14:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=xo8/RS+tEujq86Zv5Ipg1mVa03FwC8KLHuf/P7b25VM=; b=K8w3YRIgQL320b6/y9Nc +hkvLl7PNrTKc5dwfFgzbUfkx4taVzjfrzqv8DeOqEKDaNR2tNRNimTtN9eYCev9a449SYhGzlVVU RKoA1rtzdXkWbp1W9p5C9pgNEZJFgyKgdZLjBg6u1yIhVt810Oe1RCVSFhwlQZpapJf0e5IkICA+A VMeA2DC5S9sd+InqOTRWeW+QDuGUVTHX0w+WQnprvd3vTZbSFZ0CWU9zyA53UUYcKuDqVp0wCQO2J ehRncRwutAxN2hJs+lUSknSb3/F2tFZngEzCrO7Er7YvRvDPj/QoYXFAAtLr0S78kb8y2UuHscepS 8DoWndzDJUUcDQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pht2n-0005Mb-EF; Thu, 30 Mar 2023 10:14:25 -0400 Date: Thu, 30 Mar 2023 17:14:34 +0300 Message-Id: <83pm8q4985.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87jzyyl9qm.fsf@gmail.com> (message from Robert Pluim on Thu, 30 Mar 2023 14:11:29 +0200) Subject: Re: bug#62528: 28.2; Emacsclient doesn't use COLORTERM References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> <837cuz79sy.fsf@gnu.org> <834jq375sj.fsf@gnu.org> <87wn2ylimj.fsf@gmail.com> <83h6u260r4.fsf@gnu.org> <87o7oalgo9.fsf@gmail.com> <835yai5xwp.fsf@gnu.org> <87jzyyl9qm.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62528 Cc: vojtech@balak.me, 62528@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 (---) > From: Robert Pluim > Cc: vojtech@balak.me, 62528@debbugs.gnu.org > Date: Thu, 30 Mar 2023 14:11:29 +0200 > > >>>>> On Thu, 30 Mar 2023 13:36:06 +0300, Eli Zaretskii said: > > Eli> More importantly, I don't think we want > Eli> to have such different color capabilities on different frames in the > Eli> same Emacs session, that will cause many problems we don't want to > Eli> touch with a 3-mile pole. > > Thatʼs a situation we already have, since those color capabilities are > derived from the terminal where emacsclient is invoked anyway. But COLORTERM disregards terminfo, so it's much more dangerous. From unknown Sat Jun 14 04:52:55 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, 28 Apr 2023 11:24:09 +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