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?= <gerd.moellmann@gmail.com> Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty Date: Fri, 08 Nov 2024 13:29:42 +0100 Message-ID: <m27c9d29jd.fsf@gmail.com> References: <m24j4jjrp6.fsf@gmail.com> <8634k3qpie.fsf@gnu.org> <87r07nl2gf.fsf@gmail.com> <m25xoyyw8y.fsf@gmail.com> <868qtup0s5.fsf@gnu.org> <m2bjyq9jca.fsf@gmail.com> <867c9eosvc.fsf@gnu.org> <m2ttci0wup.fsf@gmail.com> <87r07lkjqx.fsf@gmail.com> 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="36456"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii <eliz@gnu.org>, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Robert Pluim <rpluim@gmail.com> Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 08 13:30:43 2024 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> 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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1t9O8P-0009Cv-9u for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Nov 2024 13:30:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-devel-bounces@gnu.org>) id 1t9O7Z-00083T-DQ; Fri, 08 Nov 2024 07:29:49 -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 <gerd.moellmann@gmail.com>) id 1t9O7X-00083L-KT for emacs-devel@gnu.org; Fri, 08 Nov 2024 07:29:47 -0500 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <gerd.moellmann@gmail.com>) id 1t9O7W-0001Yk-4h; Fri, 08 Nov 2024 07:29:47 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539fe76e802so2177107e87.1; Fri, 08 Nov 2024 04:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731068983; x=1731673783; 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=fDg7Z+bjmUhLq04KISyEX3OfaWIz4MPXFUcm9jG3psM=; b=hQzue4GqpX7c1pck05is27vNyEDq5OwUP15+nUk+Jf72ylqB4T7gunjaZ4FOWHdxud /60Imh2L1wd+XpRh4wuVet9VbhPcZh9fEZEYBjkdRBfvUFLalR1ZC9eI1XZVwYsv5bbN 4TOmN33OXw//ZF9hHVrzWWrqd0FZtzUVemyvzPUZAANjjLckrlRN6ZmSyExFOB5vw6gj qqjI350IxcnFeWSrEzpBFTIqnSHvZ50H8B+XLjxZmF+iHYXWlQ+LXkVZVWW39pAienyH ZdylwFMCgGogkC3PpjOIOWtDzZEUJPMucVfBwuKKpISYgfYb4rHhkeal/qDqueZbZIR0 LcIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731068983; x=1731673783; 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=fDg7Z+bjmUhLq04KISyEX3OfaWIz4MPXFUcm9jG3psM=; b=BCls5gFmdyxJ14MvxRIYmGCvsGu2vtpqdPH+Q6Mua+R6hzLVRHX3juq78sIxQSiPN5 5jYgWGxFf+i0Had25ux4si5yIxcv0/Yxx2gXugKLSIawAuuppOgvh2RJKMeBv9b8s+w5 Lfiadn8GRxornmwNVbHfyty1q1WCOW5Ym/+/XbJGJ94jRr+kQJWvbIn6BwB5hDNnk58C mFBrj1bw1BQNZ7mtgKzAHkmIWtEL4hBPHLgrtMiAxk2Of5qRDrJGPh+dB8SRGyg7VrLF 8PekO61SqnjqnH8vRphMfOjFh3YcGLuHPCjv3ln2Xw/RwjMzfoO8VajPJ2bfCDtT+cPY GHRA== X-Forwarded-Encrypted: i=1; AJvYcCXXORhy4AAn/aUcoIfpkdj/rj1HQseG76eihPmzADrWXMkOMtceq06aRZjGpHRaTBD65DQusczqBUx/Qg==@gnu.org X-Gm-Message-State: AOJu0YzxzFBPOk4bpzkbRv4LUDSETmlz2aukgM2Wa9lt26E73k2bD97i 23pmy6F1qRxDIVjBc3jM1gshmHktGdEkBjcmRvTVbMbUBSyINvUavbZKoQ== X-Google-Smtp-Source: AGHT+IGGqtoVaQudrYSzUYiIWAh844ZI9Qqgq9i/Uq+BU3Uvmn8T9gjIaoafIDHuBN09i+PDxQxWzQ== X-Received: by 2002:a05:6512:ac4:b0:538:9e40:94b with SMTP id 2adb3069b0e04-53d862d398dmr1550155e87.19.1731068983233; Fri, 08 Nov 2024 04:29:43 -0800 (PST) Original-Received: from pro2 (pd9e36fc2.dip0.t-ipconnect.de. [217.227.111.194]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381eda05f89sm4508128f8f.98.2024.11.08.04.29.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 04:29:42 -0800 (PST) In-Reply-To: <87r07lkjqx.fsf@gmail.com> (Robert Pluim's message of "Fri, 08 Nov 2024 13:11:50 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x132.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." <emacs-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=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:325274 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/325274> Robert Pluim <rpluim@gmail.com> writes: >>>>>> On Fri, 08 Nov 2024 12:49:02 +0100, Gerd M=C3=B6llmann <gerd.moellma= nn@gmail.com> said: > > Gerd> Eli Zaretskii <eliz@gnu.org> writes: > >>> From: Gerd M=C3=B6llmann <gerd.moellmann@gmail.com> > >>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 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 varia= bles, > >>> 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 COLORTER= M in > >>> what emacsclient sent to the server. > >>=20 > >> I have another suggestion: remove the support for COLORTERM entire= ly, > >> 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 termin= als, > >> but whose terminfo DB did not yet catch up, but we should slowly m= ove > >> towards removing that support from Emacs. > > Gerd> COLORTERM is used right now by popular programs (e.g. iTerm2) o= n my > Gerd> system (macOS). So doing that is not an option for me. > > You just need the right terminfo entry for iTerm2. See eg > > <https://emacs.stackexchange.com/questions/32506/conditional-true-color-2= 4-bit-color-support-for-iterm2-and-terminal-app-in-osx> > Thanks, I know how to work around that. It's just another thing that could work OOTB, but doesn't.