From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#51426: 29.0.50; [PATCH] Should 'comint-term-environment' be connection-aware? Date: Fri, 29 Oct 2021 10:21:14 +0200 Message-ID: <87k0hwgs1x.fsf@gmx.de> References: <69264ece-bb7f-4db1-f461-dacd33db2402@gmail.com> <87cznqev5g.fsf@gmx.de> <2c3dffbc-9af0-f318-15bc-cce91a106898@gmail.com> <8735olwp95.fsf@gmx.de> <94c1e53f-98cb-8891-77d9-81f3c401149e@gmail.com> <878rydxfgl.fsf@gmx.de> <5cbecece-e982-6362-9eac-1610f00f4929@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34270"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51426@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 29 10:22:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mgN9R-0008cQ-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Oct 2021 10:22:13 +0200 Original-Received: from localhost ([::1]:58430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgN9P-0003oh-TR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Oct 2021 04:22:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgN9G-0003oS-Fp for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2021 04:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgN9G-0007Rc-4b for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2021 04:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgN9F-0004tb-OK for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2021 04:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Oct 2021 08:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51426 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51426-submit@debbugs.gnu.org id=B51426.163549568718772 (code B ref 51426); Fri, 29 Oct 2021 08:22:01 +0000 Original-Received: (at 51426) by debbugs.gnu.org; 29 Oct 2021 08:21:27 +0000 Original-Received: from localhost ([127.0.0.1]:53965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgN8g-0004sh-SW for submit@debbugs.gnu.org; Fri, 29 Oct 2021 04:21:27 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:56191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgN8c-0004sQ-PT for 51426@debbugs.gnu.org; Fri, 29 Oct 2021 04:21:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1635495675; bh=dBjDWb1Rikra2nYTunWiuFXHfSxlegPkPWE7zjFLugU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=aK6sWlYARREWvD2UGfFOrIrxB5HiWKUPtTC3no9d1fcuxavB08pmhgcopSHdxReny 8gkModywgfNom29qQXn3Wk7pCffzILagj3wVSbeOa90AXMxh7jkK1AImftkTZ+UK0s rREq0rEqS21tqwbiY0cBGvuOLajD+uHuckRjoHt4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.156.73]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MGQj7-1mRljS2E0L-00GuBM; Fri, 29 Oct 2021 10:21:15 +0200 In-Reply-To: <5cbecece-e982-6362-9eac-1610f00f4929@gmail.com> (Jim Porter's message of "Thu, 28 Oct 2021 22:26:31 -0700") X-Provags-ID: V03:K1:MSwmFNV5GU35I6fNQWO3vgVZDcHiMYUtRyMj3trRiWM3YhCZIhP n6H0L4isWV9R0oCQFLux1TchgvlqTbd8avYBM/AiuA6gKIfeIDIB1x28jJKGcPausFARadO MMm9G+frfPE4tH6KnpM8NRU9Ycdumn0x/nC/vo5jGzdTLGKLL1qLGyJxdCv9Ug2AAvwru9Z yicWsOR/CUAPuy/U+KECQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:kDFO9bOmQLk=:KOTuUAvU4aEEX3Q8cAypjj JoT5bzBZBwR3cCSASFhtxlFBf4ymm1gYRTdqF66XINfCXHBInY1JiYirC0CAwvPt3O5T1qSFy gFn47A2nlc36ddqtWUQO58YANWh4oEMffkbu6AS5KLPA7r+LDiTKlfRyw0LtqNi4Bgc2kPlCl N+fgh6cdp0V8N26KQjtGScSrXe8uBLToh953A7F8OCNlGYbAzVWJD7en4MCc4tiXmOejQjsT9 JjeyjcRa2Qtb6fdYyXhcLwriI87niEo5VfSn5EeN+NxQ54pDDeL7stxv7ny3fWwqjsoAbNtfw 7CywitakvxfO2F/CPhXBD7fLMTZe27GVRBBXdHRIqzUB5C69jIamrGGa72CHy34qGKZoBl+zb QC63DBBlD7zO+BUEU3C66w4KcMC7+RL/YgwViM/wRh34bucKie1AEOl0KAC7XDLYxMnGsoZQj gTFe5yZtoHZL7PUtVSzIj23ME/6srEn3Stx5T8NRIuVnzpo3RZB4c3LX8ll8DA0W50aoRIIbM VIslryc2z9z5L7/HJuq8TDJUaku5XGvkYlbRaM7JcM/EQfKJ3mnZfxYxs+meiCpLc7a6GpieL R6o4/zDKya3tw/TGpYivgiLWPFQZFHukEaH9q2T1bdpPlgCcUPeohzIzOjM9D/pQbvNMnUEal jDP3w17K/BoKkoaQm8lIN8goB6XjhAyY3kevool3lIqpJBLGRM5f1BIr/NfbaELCcV26ipXWz YUJDscDVJEQHjGbWAC/J5YoVSVNcdeibnNW7EqJzCAb/vco/8pX3S7aFOGV0HXV2tVA7HUcQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218537 Archived-At: Jim Porter writes: Hi Jim, > Sure, that seems like a good idea. I expanded the example in the > section on "Per-Connection Local Variables" to show setting > `system-uses-terminfo'. Hopefully this will point people in the right > direction, and make it more apparent that > `connection-local-set-profiles' lets you set multiple profiles for a > connection, not just one. (That's documented in the Emacs Lisp manual, > but I think it would be helpful to show it in the Emacs manual as > well.) Thanks. However, you don't show the second setting, comint-terminfo-terminal. Is it obvious to the reader that this shall be changed as well? > Perhaps it would make sense to mention this in the Tramp manual too, > such as under the section "Running shell on a remote host". On the > other hand, setting `system-uses-terminfo' connection-locally only > applies to Emacs 29+, so it might make that section more confusing to > include it there. People might expect it to work on older versions of > Emacs as well. I believe we can leave it as it is. There are other connection-local variables, understood by Tramp, and not mentioned in the Tramp manual. Best regards, Michael.