From unknown Wed Jun 18 23:09:57 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#74252 <74252@debbugs.gnu.org> To: bug#74252 <74252@debbugs.gnu.org> Subject: Status: 31.0.50; multi-tty;: init_tty using getenv for COLORTERM Reply-To: bug#74252 <74252@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:09:57 +0000 retitle 74252 31.0.50; multi-tty;: init_tty using getenv for COLORTERM reassign 74252 emacs submitter 74252 Gerd M=C3=B6llmann severity 74252 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 03:24:09 2024 Received: (at submit) by debbugs.gnu.org; 8 Nov 2024 08:24:09 +0000 Received: from localhost ([127.0.0.1]:51013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9KHp-0000Qn-8j for submit@debbugs.gnu.org; Fri, 08 Nov 2024 03:24:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:35310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9KHm-0000Qe-3U for submit@debbugs.gnu.org; Fri, 08 Nov 2024 03:24:07 -0500 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 1t9KHl-0008Or-J6 for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2024 03:24:05 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9KHj-0006ME-U9 for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2024 03:24:05 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-37d4d1b48f3so1067327f8f.1 for ; Fri, 08 Nov 2024 00:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731054242; x=1731659042; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=vF5iYU9EUzZWThtJ8BWpC9lKTaOzQ3ssNc0qIbmT7Rw=; b=gnfcDvnISFnF0Wn38mi03iDi0WK0I1jquYDJkSnGyZCFcWE0+XMVe1S5pyBqoX3qf1 Lgm1IAnmz0mLxvs9Pol7mv1Ye+LuwoSv2ybLun5U5gxgzlR74sOOt+RAPAP1mrv7d16s ycgYXXSXjbwfHPS4W6KEUZnTLd9EjqVJjz52lfATqopq007T85+3y7Woo2R3Ia4DQ/sY LH1JEQhhh21hEUIOlXvjBoUPtKB8H0sOJ/iOsuYy+u8NnTlrNsaF8pRIqooNKQPkMoQN ikDp/AOVD6bttnLk0LxErv0DYv8Ii7hmrH82TF18DeUXMUbSFCuo6pzKy18Bb1pFrM2Z 72DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731054242; x=1731659042; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vF5iYU9EUzZWThtJ8BWpC9lKTaOzQ3ssNc0qIbmT7Rw=; b=iEup4AwCw0y8HBnlsi41NMYk9SIMJ89sWC1a9tF1Axbd+w9Lhmv7+a8ThCQdxvDnJK eVgIc7TGtHKI0HiBhgf0EVYrt01Go4Z3e7jyySpCfsVE4EzExGJ6dADRyVf1JmE3xNyR oK/gXNnb1uJI0JGMZOV2w32UhhMdUHbmHNXxahVMptOtjEHIlDwd50Mykb0dRA+MVhlZ seRNiVJ3QRDfuTPqwZopwKE3ZuHtWiaxJSSFjhB07UIsgENqksz5A5O52j9eZrElRiDf j/rM9T0n/9QM95TawJnd5B9TUAGOy8GL8hdnf3i3DoXSzb0nBqftBnWr0bsNg/RimxRt qq4A== X-Gm-Message-State: AOJu0YxryiHA/LvwhjRMp7vPbNrwZPJ8SgD+oZLplhKuIfIxLOjHDpoB lHyZv8t7/8kXsbrXnfs+p1MX4AVa0lY9+Q8q4wQc7MZdDEocZRjZtiMK7w== X-Google-Smtp-Source: AGHT+IGTxDZqmTIIqssRt/lyGYEkbU1bbSqezxyySheBUbNrt2uJXythxCOW5tF3g7Yv99do/OpoMA== X-Received: by 2002:a5d:6da2:0:b0:37d:377d:c7b0 with SMTP id ffacd0b85a97d-381f182edacmr1635491f8f.18.1731054241479; Fri, 08 Nov 2024 00:24:01 -0800 (PST) Received: from pro2 (pd9e36fc2.dip0.t-ipconnect.de. [217.227.111.194]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b054b3fesm54222575e9.17.2024.11.08.00.24.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 00:24:00 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: bug-gnu-emacs@gnu.org Subject: 31.0.50; multi-tty;: init_tty using getenv for COLORTERM X-Debbugs-Cc: Date: Fri, 08 Nov 2024 09:23:59 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=gerd.moellmann@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) Just copying parts of messages from emacs-devel. ---------- I was playing with multi-tty today, and I encountered strange behavior. For example, using 2 terminals that have different capabilties, say different TERM and/or COLORTERM, does not really work. Informal example: I start an emacs server -nw in iTerm (TERM=xterm-256color, COLORTERM=truecolor), then emacsclient --tty in a Terminal window (TERM=xterm, COLORTERM not set) => The Emacs frame in the Terminal window is obviously confused about the terminal's color capabilties. ---------- Something is fishy here. AFAICS, emacsclient sends its environment to the server before it opens a frame in the server, which is done with server-create-tty-frame. (defun server-create-tty-frame (tty type proc &optional parameters) (unless tty (error "Invalid terminal device")) (unless type (error "Invalid terminal type")) (let ((frame (server-with-environment (process-get proc 'env) '("LANG" "LC_CTYPE" "LC_ALL" ;; For tgetent(3); list according to ncurses(3). "BAUDRATE" "COLUMNS" "ESCDELAY" "HOME" "LINES" "NCURSES_ASSUMED_COLORS" "NCURSES_NO_PADDING" "NCURSES_NO_SETBUF" "TERM" "TERMCAP" "TERMINFO" "TERMINFO_DIRS" "TERMPATH" ;; rxvt wants these "COLORFGBG" "COLORTERM") (server--create-frame ;; Ignore nowait here; we always need to ;; clean up opened ttys when the client dies. nil proc `((window-system . nil) (tty . ,tty) (tty-type . ,type) ,@parameters))))) ;; ttys don't use the `display' parameter, but callproc.c does to set ;; the DISPLAY environment on subprocesses. (set-frame-parameter frame 'display (getenv-internal "DISPLAY" (process-get proc 'env))) frame)) The (process-get proc 'env) should contain what emacsclient sent for the enviroment. That apparently doesn't work as expected. Many calls stacks down in make-frame -> ... -> make_terminal_frame -> init_tty Emacs uses C getenv, and that doesn't return what I suspect server-with-environment was intended for. In the case I described, COLORTERM is still truecolor as it was when the server was started. I wonder what is used when Emacs is used as a daemon, hm. Probably getenv returns NULL, at least on macOS/launchd. ---------- > They do, but then they change the settings in the per-terminal > tty_display_info, no? Or am I misreading init_tty? Certainly > > TERM=xterm-mono emacsclient -tty > > gives me a mono emacs. And TERN works because emacsclient picks it up and sends its value as part of the frame creation command to the server. In the server, it is then passed down to make_terminal_frame as a frame parameter which itself uses it for init_tty. A pretty easy fix would be to make the environment that we got from emacsclient anyway another frame parameter. Then init_tty wouldn't have to use getenv to get the value of COLORTERM. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 05:23:39 2024 Received: (at 74252) by debbugs.gnu.org; 8 Nov 2024 10:23:40 +0000 Received: from localhost ([127.0.0.1]:51226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9M9T-0006pI-E2 for submit@debbugs.gnu.org; Fri, 08 Nov 2024 05:23:39 -0500 Received: from [209.85.128.50] (port=55449 helo=mail-wm1-f50.google.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9M9P-0006os-OL for 74252@debbugs.gnu.org; Fri, 08 Nov 2024 05:23:37 -0500 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4315baec69eso17739815e9.2 for <74252@debbugs.gnu.org>; Fri, 08 Nov 2024 02:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731061341; x=1731666141; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=5Sf+JTV2v+3aqBS9hEZBBkp5UoC621XPvngBZpgztQU=; b=bYTx3pcUe5aMn0BglXUC9Gt84mtjrDZrwLcecDHWMsucBvlV524zLVevWi0JSGiTYp lk/tmaqyCcavSkED9eigVzvXsbW5I8CkvDGlkC1avt9+gM4i1tias31LyGV4NOdBgHA3 2hcemlI2mfB61w3851wJRjnndJjNeINxweLXqKv+VRe8eWslahHfcgdpI/uifoxZC2+i 6ojVM7CJJycBLzSOEe+yvErYiHtVmpGxmHYbPCkXrAZvHumxk4Kd69imxrw4jdpgom6C vidCJ7Fqmo5WnTpqLhv4+bTQSn4TpXFgg+O38anU0CLS4QF9Afm7HUXnk1RW/VXX9FyJ J/JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731061341; x=1731666141; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5Sf+JTV2v+3aqBS9hEZBBkp5UoC621XPvngBZpgztQU=; b=goscdG1Da9XVh6utjKEFe0DsjOl3FQ5Bc6WcC/Rxt4F1A3Scl3B9FoZiUVEOQ3BdpP +8P8G0uHelqDz7ezCdNxfNVyCkwPEldyq1tJ8ZHPj6xp9rFeg/cruiNoavm2BjzGirg4 +6EJuq7cRoklveZhSTo8sfIjAyRRYeCz0Fi1j0tPvDWPpKgZeNrdtbjUH1oMzfx1Dz1F nF0idrGw+pZv9YK2Ticgi1BfMPPXHu39NrJtUINuMqZxKNCU+La8SVo2WKXaO1Btg+HB 7+XV7kXGOx1ekvgnPq704XGBMO6gTfQDGtdyveFjs/WR/1Kg4RtP+6H0rDXexB2GEWRl vXCA== X-Gm-Message-State: AOJu0YyWG4yn9V5TVCxov+ZDSAEniB+E/hGeEkDjtjQReKTiW6UlfBhb 5uY7wWi7jbSUuBhHINhL9kfAXThSjSbBxJuKqROA5q66wv9Z39LaoF/IUg== X-Google-Smtp-Source: AGHT+IHsOC2HCgSHVb6Kszlc4uyYf3URqNrG1hoRxl5nmv1I0ycbPkzDH4YgyShDGkzY4LqNwNhbjg== X-Received: by 2002:a05:600c:a4c:b0:431:5f3b:6ae4 with SMTP id 5b1f17b1804b1-432b7509869mr18928245e9.17.1731061341393; Fri, 08 Nov 2024 02:22:21 -0800 (PST) Received: from pro2 (pd9e36fc2.dip0.t-ipconnect.de. [217.227.111.194]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa6c1205sm97535315e9.26.2024.11.08.02.22.19 for <74252@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 02:22:19 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: 74252@debbugs.gnu.org Subject: Re: bug#74252: 31.0.50; multi-tty;: init_tty using getenv for COLORTERM In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Fri, 08 Nov 2024 09:23:59 +0100") References: Date: Fri, 08 Nov 2024 11:22:18 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gerd Möllmann writes: The following patch works perfectly for me (including daemon mode). From 1d729a0bdeef0534c05b5f8358b19c04a814a308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerd=20M=C3=B6llmann?= Date: Fri, 8 Nov 2024 11:05:58 +0100 Subject: [PATCH] multi-tty: fix wrong COLORTERM (bu [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.50 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.50 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.50 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.50 listed in list.dnswl.org] 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 74252 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.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Gerd M=C3=B6llmann writes: The following patch works perfectly for me (including daemon mode). --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-multi-tty-fix-wrong-COLORTERM-bug-74252.patch Content-Description: init_tty >From 1d729a0bdeef0534c05b5f8358b19c04a814a308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerd=20M=C3=B6llmann?= Date: Fri, 8 Nov 2024 11:05:58 +0100 Subject: [PATCH] multi-tty: fix wrong COLORTERM (bug#74252) * src/term.c (init_tty): Use egetenv, not getenv, to pick up emacsclient's environment. --- src/term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/term.c b/src/term.c index 66395ac6077..80a14fa1277 100644 --- a/src/term.c +++ b/src/term.c @@ -4358,7 +4358,7 @@ init_tty (const char *name, const char *terminal_type, bool must_succeed) tty->TN_max_colors = tgetnum ("Co"); -#ifdef TERMINFO +# ifdef TERMINFO { const char *fg = tigetstr ("setf24"); const char *bg = tigetstr ("setb24"); @@ -4383,7 +4383,9 @@ init_tty (const char *name, const char *terminal_type, bool must_succeed) (de-facto standard introduced by tmux) or if requested by the COLORTERM environment variable. */ else if ((tigetflag ("Tc") > 0) - || ((bg = getenv ("COLORTERM")) != NULL + /* Use egetenv, not getenv, here so that we pick up + environment variables sent to us by emacsclient. */ + || ((bg = egetenv ("COLORTERM")) != NULL && strcasecmp (bg, "truecolor") == 0)) { tty->TS_set_foreground = "\033[%?%p1%{8}%<%t3%p1%d%e38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m"; -- 2.47.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 06:47:24 2024 Received: (at 74252) by debbugs.gnu.org; 8 Nov 2024 11:47:24 +0000 Received: from localhost ([127.0.0.1]:51342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9NSW-0002Kn-3t for submit@debbugs.gnu.org; Fri, 08 Nov 2024 06:47:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9NSU-0002KZ-9W for 74252@debbugs.gnu.org; Fri, 08 Nov 2024 06:47:22 -0500 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 1t9NSP-00052n-2x; Fri, 08 Nov 2024 06:47:17 -0500 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=p9lwabKSS6A4Tk08a55i1HfuRdXr/ZY2VhMRvFTVp+A=; b=l0zNG0c/GhfVo7eHbTMU Hu5Y3kteNcvhYN4/mYp8tK6P/W1j6h+XXFtmBlTLvPc9xjstRVrWjYlDMpqOHizlw+/0kiw/DEnye 8V4BIjxpbMN0A2dEuHrVBmJRdL8lH1GSB2xovgE09V2/rIMjlkOj2h5k7BrQb/OIQcf8FWab1t3Xh pGc1IDQJ7+Rm6vYgl42t0tEDr+2ynhDCCgXwULBwigmx4YycYyEcJtDeVG0MDVBaLd54JPi+atWlS F5ZG0bh7P7i5h8UGZdeFrFF5FPprOQrZ71zifKBQNv97RlJlg8DN1/aLOcQZbFLUBl+aSnKjsnkI7 F7c+5X2Ihp+uCw==; Date: Fri, 08 Nov 2024 13:47:15 +0200 Message-Id: <8634k2osl8.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Fri, 08 Nov 2024 11:22:18 +0100) Subject: Re: bug#74252: 31.0.50; multi-tty; : init_tty using getenv for COLORTERM References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74252 Cc: 74252@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: Gerd Möllmann > Date: Fri, 08 Nov 2024 11:22:18 +0100 > > Gerd Möllmann writes: > > The following patch works perfectly for me (including daemon mode). Thanks, but I think this is wrong. process-environment is not supposed to affect how Emacs works, it's supposed to affect only the sub-processes started by Emacs. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 07:01:49 2024 Received: (at 74252) by debbugs.gnu.org; 8 Nov 2024 12:01:49 +0000 Received: from localhost ([127.0.0.1]:51360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9NgS-0002xf-JO for submit@debbugs.gnu.org; Fri, 08 Nov 2024 07:01:48 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:42482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9NgP-0002xR-D1 for 74252@debbugs.gnu.org; Fri, 08 Nov 2024 07:01:46 -0500 Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-37d41894a32so1255457f8f.1 for <74252@debbugs.gnu.org>; Fri, 08 Nov 2024 04:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731067239; x=1731672039; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7PRakhKk09Q2c3ddmWkh87wCAZXn1uOplnpSm/fq8cY=; b=eRg1DiXLVTGPnjB3jfG5toEYFdwG9QgBbhREUZbsntxmds3tu7WvR/cXuh/N3niu9l Q7mooAowPsTXkJoCL970vGrzn0pWmyhegETRR3VL00SQ5nP62eIMfJkUycJilPkr8DEu cgNPLIbAipdviP1I8n2AFbuMjEc5YF7O1scgS8QPaYNH2PEk43+Rs5MOH/C8Upb/Ki+V BlzRqlex0WvHkDVkmiym2ul3vg2WS9DVK11A0zhyc2iwb5aIKcSs6mbSyyqHplf+CLmD zjAcr8vM3aW4/sFz5RcVRWMieqbIt0El9Q1ov4/KEIA2BtCZIov2QaBH8tq6LdcDE8dt dVJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731067239; x=1731672039; h=content-transfer-encoding:mime-version:user-agent: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=7PRakhKk09Q2c3ddmWkh87wCAZXn1uOplnpSm/fq8cY=; b=CgJOoPidCa0ijntlWOaXNi7FeEFhORyxrPjUa3p4k1Iltm3M4ETyjE9bhOzgcPHkqn 56H4ISgZzSfHpaD/c9TGEjMqQKhKWK25yU06f5sdu5AqBnNzbmqV7pR7GTaEYoCYjb5S NwAQbkkSePHb2phhEJ8I9//xXXfuL2Rf1CZ3XhTseKEMj26X1tt4DX47Ruc34yIhcFib UJGUeEV+a+wZq3To7+Bi/W6DejVAZmTE3+CA87rRSXeOMmPcoq9B3/d6mOpShx73hwKJ w3Ya5xulYAqR5b8z6D6HuJSFcr3z/mGfiOJDewy9wRl4tK1aYLYgjieHEq92IdgR8d3j 8fvg== X-Gm-Message-State: AOJu0YzOxEz9wr3YTiQKlglTTvAsAumG7t6/qGNLpvwLiAZ6IbMym9n8 GVuizWyIPizRR7FKMTU6qUMYD0djejCm5bKgGqMLyytMaRBm9++KorYQzg== X-Google-Smtp-Source: AGHT+IFyWv46tpRjo1wUcDRuB+BjUoJvYGWShwpiffzvCv05kvova7cElGukB2UvTvWn5kbc0n3bHQ== X-Received: by 2002:a5d:6d8a:0:b0:381:f0e2:51e4 with SMTP id ffacd0b85a97d-381f1a7ee27mr2062309f8f.14.1731067237145; Fri, 08 Nov 2024 04:00:37 -0800 (PST) Received: from pro2 (pd9e36fc2.dip0.t-ipconnect.de. [217.227.111.194]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed999fe3sm4447095f8f.57.2024.11.08.04.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 04:00:36 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#74252: 31.0.50; multi-tty;: init_tty using getenv for COLORTERM In-Reply-To: <8634k2osl8.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Nov 2024 13:47:15 +0200") References: <8634k2osl8.fsf@gnu.org> Date: Fri, 08 Nov 2024 13:00:35 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) 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: 74252 Cc: 74252@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 (-) Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Date: Fri, 08 Nov 2024 11:22:18 +0100 >>=20 >> Gerd M=C3=B6llmann writes: >>=20 >> The following patch works perfectly for me (including daemon mode). > > Thanks, but I think this is wrong. process-environment is not > supposed to affect how Emacs works, it's supposed to affect only the > sub-processes started by Emacs. I'll close this then (and used it in may Emacs :-)). From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 07:01:54 2024 Received: (at control) by debbugs.gnu.org; 8 Nov 2024 12:01:54 +0000 Received: from localhost ([127.0.0.1]:51363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9NgY-0002xx-0H for submit@debbugs.gnu.org; Fri, 08 Nov 2024 07:01:54 -0500 Received: from mail-wr1-f43.google.com ([209.85.221.43]:49539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9NgW-0002xp-D2 for control@debbugs.gnu.org; Fri, 08 Nov 2024 07:01:53 -0500 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-37d55f0cf85so1362029f8f.3 for ; Fri, 08 Nov 2024 04:01:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731067251; x=1731672051; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=GFmgscar0DYv1CuHUg/BP6y47fE6Oq54X2UOOoC5zY4=; b=Jjppb5Nw3asjuWnavjyy/I1YS14J9jJRXYRbf5qXqymw4kprG9Q6pNSFrKCK9XU7b4 Dp39Zu9RmA1oHZOXvw3scEJVzhExSpEgrlCMr6hxNkAQuTdqgWeITpQT8t8e50Ogs1eA LH0brbc/4dwDfMH/Vx6qRMGSuVQpmJQLo3Y7Szr0PsMZ05t67d7YjKmO/sQOBeI9mPBP nuJ8COWl+JCaUND9zFaomaaB1jtUH2/OjUwt2tQ6CC2v+mjlKhUJlJebm4XxYmyS57yh F1AxJ/QQTA0RglKcsGjDLlaSYB18U8e+qqzr7RS3Z8BeJorkUesIXmd9RNTtAkhya//N 5Grw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731067251; x=1731672051; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GFmgscar0DYv1CuHUg/BP6y47fE6Oq54X2UOOoC5zY4=; b=Q1wgzhkUGaGFhfdIBWIdof/tXuJcatDf716ojLMInTOoiGa+2NKBQ13QUa+9IOdnzB VR74XPYEcr72u7xMEzeduODGN/DHrl4bX9jIG6YDKO3Xmw1D0pf92r9M11mdR/XQ1qtV Nyt0VGpf7waz3RYPV89XPnI23ljWFnyZ8PuwbPzeKqVPiV5W4w3SFhJ2cuE/twQF6eEO 59ZqWOVpVtA/nqjJk9LYnUEz8XR5jpGs3IhnHrOoLBlyvWnGBFPCUcIA84VdMGLLmp/i IHS8J9q/3swnHgnDNRxG0eTMMbP1FWE6kpR8DfBauwiW3FVmEVJTg148yUIGLIOX1c5s IW4A== X-Gm-Message-State: AOJu0Yy91YgzyJnFHoad9cJE/hIgkaroXbXETfFNHBfzAXUTII6cEd/f EhUBVkGbSL53MeWFqhIlxlJ8d2nF4TOdHZNitEQbvgYxgTDr8IbOqnHXew== X-Google-Smtp-Source: AGHT+IEnCMzb/4alsfkxsJiyXGvb0BT4kfIbIOSHgF//gtzIjkCZlbk5KaXoKxFubnM9aLPAJBFOTQ== X-Received: by 2002:a05:6000:2a2:b0:381:ec32:3f71 with SMTP id ffacd0b85a97d-381f183f77dmr2268319f8f.44.1731067251251; Fri, 08 Nov 2024 04:00:51 -0800 (PST) Received: from pro2 (pd9e36fc2.dip0.t-ipconnect.de. [217.227.111.194]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b05c18e0sm62338655e9.28.2024.11.08.04.00.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 04:00:50 -0800 (PST) Date: Fri, 08 Nov 2024 13:00:49 +0100 Message-Id: To: control@debbugs.gnu.org From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Subject: control message for bug #74252 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 74252 31.1 quit From unknown Wed Jun 18 23:09:57 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, 06 Dec 2024 12:24:08 +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