From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty Date: Fri, 08 Nov 2024 12:49:02 +0100 Message-ID: References: <8634k3qpie.fsf@gnu.org> <87r07nl2gf.fsf@gmail.com> <868qtup0s5.fsf@gnu.org> <867c9eosvc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33247"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: monnier@iro.umontreal.ca, rpluim@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 08 12:49:28 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t9NUV-0008YW-JZ for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Nov 2024 12:49:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9NUD-0007UF-Uf; Fri, 08 Nov 2024 06:49:10 -0500 Original-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 1t9NUC-0007U7-Po for emacs-devel@gnu.org; Fri, 08 Nov 2024 06:49:08 -0500 Original-Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9NUA-0005AR-Kw; Fri, 08 Nov 2024 06:49:08 -0500 Original-Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2fb5111747cso20353951fa.2; Fri, 08 Nov 2024 03:49:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731066544; x=1731671344; darn=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=GZg3qb7yyloWGg6qKgOGJ24WNaNMRDnH7qljrOUx+1o=; b=EG/OX1BLKjnWobdJLp8mCJfvYyfMoIB8uz0qj0TY0zcuy74VaUycCTUD4aRvWwgeEn t83tM83VTW3TLMsSqUBlKz51HyPWJ54oxQO2HZc44se1OR1admyiY1NmDABD7p1UcEZ9 2r+Mxhv/mkKr4NaeobS4AMJlX/9mOpc5UZCig3W/ZoVLlujNFL5BMF9EtctidAfKmLzv pdxs+gsxsDwg+TZ75FNVfK95z0KPFb0AyN8Q0OZLpvrLMzvijAJsAWt5aEBwxs7XE6V6 8+bBvQ6fXNTgorVpKp9XN7FP4yra/vtGDu49ZXsncJMUQQ2iiPGJlROP8TyLI9pPf6BM NPjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731066544; x=1731671344; 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=GZg3qb7yyloWGg6qKgOGJ24WNaNMRDnH7qljrOUx+1o=; b=S9bErQ0ecJmWrvwPtE3vhW/OxM6CuVZg2VZRoALo25tWkFJ22LbffgNuiS5EpMsGPI B+lSr24Ozb9dOqXyyMwkiR9E/OGPFB1wCzarhYBo6dSjU5R2Xwj12OOMuKrkQMSglbmj qtY7H6n8NwzUNCDz9mqspukelAEGU9fSc/GCv9Zg/GVN8RHK70/Wmul9LkhBec3TzeO4 ktSvEcKxB361dRny5BYQ/wQHKUCQMiv13VCsCZT9DtPKOTS0r1z3kNv83gkT3UEr6YHJ dQvEnWQ6v/+EisIilRP4sBtb16KScXN0PREmlEHk88KFmZsDz5S/Rmtk5VmdKw7s6VBQ hHng== X-Forwarded-Encrypted: i=1; AJvYcCUoqqZEhOJQ3Rg/HXuc3tMQsDXVK64i46U6YniEDSthK2CbqIymFkbXeqLUFfshs9PwfQWWCAgnfjcFSQ==@gnu.org X-Gm-Message-State: AOJu0YzSxbgCgOhI0wSMDWNI1+8xgSp+9YaTN7vIAjGC1goaev+S/1wK l0ra2pFyqZnYNwxuevaT3FUo+jcMe/zjSmB7HB7awCuiRNFDBJ7AlUz+cA== X-Google-Smtp-Source: AGHT+IG23JKmOP6GV29KI85a5jNdpweZWTWARO7STH08KCjcBlP0Fo0X+yXx2UzurTa3HWimYhL9wQ== X-Received: by 2002:a2e:9549:0:b0:2fb:6465:3198 with SMTP id 38308e7fff4ca-2ff201e6deamr12735581fa.5.1731066543552; Fri, 08 Nov 2024 03:49:03 -0800 (PST) Original-Received: from pro2 (pd9e36fc2.dip0.t-ipconnect.de. [217.227.111.194]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa5b5b2dsm95827785e9.1.2024.11.08.03.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 03:49:03 -0800 (PST) In-Reply-To: <867c9eosvc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Nov 2024 13:41:11 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=gerd.moellmann@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325270 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: Stefan Monnier , rpluim@gmail.com, >> emacs-devel@gnu.org >> Date: Fri, 08 Nov 2024 10:16:05 +0100 >>=20 >> I wouldn't try to "fix" the general handling of environment variables, >> if that's even possible, which I kind of doubt as you do, I think. I'd >> just replace the getenv("COLORTERM") with some lookup of COLORTERM in >> what emacsclient sent to the server. > > I have another suggestion: remove the support for COLORTERM entirely, > or at least announce that it is not supported per-terminal. It's high > time terminals that support true color have their terminfo entries > fixed and up-to-date. We supported COLORTERM during the transition > period, as a temporary kludge, to help people who had those terminals, > but whose terminfo DB did not yet catch up, but we should slowly move > towards removing that support from Emacs. COLORTERM is used right now by popular programs (e.g. iTerm2) on my system (macOS). So doing that is not an option for me.