From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty Date: Fri, 08 Nov 2024 13:11:50 +0100 Message-ID: <87r07lkjqx.fsf@gmail.com> 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="4721"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 08 13:12:53 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 1t9NrB-000146-Dw for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Nov 2024 13:12:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9NqQ-0004dr-R3; Fri, 08 Nov 2024 07:12:06 -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 1t9NqF-0004YW-VX for emacs-devel@gnu.org; Fri, 08 Nov 2024 07:11:59 -0500 Original-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 1t9NqE-0008PY-8d; Fri, 08 Nov 2024 07:11:55 -0500 Original-Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-37d6ff1cbe1so1465519f8f.3; Fri, 08 Nov 2024 04:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731067912; x=1731672712; darn=gnu.org; 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=YAm7wQDfZzLgI483ltISdH77aaNdS5df3r+UiXU4Z2c=; b=j7UBSk8kbqqblOceYVfXSaoXPeQjgs95m7YaA+p0MXcjSYgDivGpow60FMJgnoV/HD IZYDF0cDuOnPu974TwzczVv+11V0gAJbmDw9JpD9fDMwWQ9nriO3S5GpRrqT3KIa+n2X kM+/+Byr6Pe4sfsyamocVW/29l6nFUbn9giEUbeJ55yUahREcohDlfKiAxaNHVgHernE jiNdBpYThCn0LcWSzFvfm05I3nctYMQYdxJhm6qH91K06Vgm/ACI9gWByIgieeughqNS wGUsnEdVYGt2j+QzrxMBZH6hSpjif0u8yTe+Xcj5s71RIV/5mxl7hGNj2WUHZmVs8r9N jNMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731067912; x=1731672712; 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=YAm7wQDfZzLgI483ltISdH77aaNdS5df3r+UiXU4Z2c=; b=ft5Z1wrTE2bo8ouy8n/o1uSc+WyH0MlzdJ8/1d64XEKp7fPpCRsQp71Sxkbi4KhUyd bghWg/I3z9uafIVUlyvK1l38pcPZ5K3W5GPct48o1cf0plLioqSbujWcBBgxW4D5IQR6 6AS/VZLauOTA2WgcW4m8kzX0Ct+MKBh00l7D/w1+Jv7JBIAv3H7hUrOopADUB1ye24KG rLi/wCWbN7IVVLX0WVTE/tInA8jU8afFNgoH7/6F0b0NlRiYcjrFZyQGmccAdjEwkXXm dSU00JyiRYUe+NI9uU/NBDcWcdGESSCXKyTg9hqayZAtpdG1Rpf0E8HJMuf/BCxM5LdR eCqQ== X-Forwarded-Encrypted: i=1; AJvYcCUSZDxlUA8GuPkDN0gNJUuVvP5oTjGwmqnN4QDILhdWwcd3a3y0AthH0zu7+LI+jMs6IDjCigcRPQ71EQ==@gnu.org X-Gm-Message-State: AOJu0YwlhYsn3Ek2zD3zw5v8mL0jQbCjenGfT6hWR7mHLAfKGoREYTXc /mOXN9A5cOPohe1NoHLTm0hiei/hFLTuE/6CAB2KTpIOpmd3iGkFPlvYYQ== X-Google-Smtp-Source: AGHT+IGgrjLfrwLNqmBYO1LOPIyLp0P/WLJw5N8bTL7MyPqI+Gi4ldNIWTTGy3gQewbWgeCpFnP/7g== X-Received: by 2002:a05:6000:2a09:b0:381:f443:21e0 with SMTP id ffacd0b85a97d-381f443256bmr568417f8f.6.1731067911621; Fri, 08 Nov 2024 04:11:51 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:e93a:8e62:e1a0:370b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381eda0411csm4391705f8f.95.2024.11.08.04.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 04:11:51 -0800 (PST) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Fri, 08 Nov 2024 12:49:02 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=rpluim@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-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:325273 Archived-At: >>>>> On Fri, 08 Nov 2024 12:49:02 +0100, Gerd M=C3=B6llmann said: Gerd> 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 variabl= es, >>> 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. >>=20 >> I have another suggestion: remove the support for COLORTERM entirely, >> or at least announce that it is not supported per-terminal. It's hi= gh >> 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 terminal= s, >> but whose terminfo DB did not yet catch up, but we should slowly move >> towards removing that support from Emacs. Gerd> COLORTERM is used right now by popular programs (e.g. iTerm2) on = my Gerd> system (macOS). So doing that is not an option for me. You just need the right terminfo entry for iTerm2. See eg Robert --=20