bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51426: 29.0.50; [PATCH] Should 'comint-term-environment' be connecti


From: Jim Porter
Subject: bug#51426: 29.0.50; [PATCH] Should 'comint-term-environment' be connection-aware?
Date: Thu, 28 Oct 2021 22:26:31 -0700

On 10/28/2021 9:48 AM, Michael Albinus wrote:
What I'm curious about is whether we shall give more guidance using this
feature. The majority of the users don't know connection-local
variables, your example from the initial message might be instructive
for them.

WDYT?

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.)

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.

Attachment: 0001-Expand-the-documentation-for-connection-local-variab.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]