GNU bug report logs - #29583
25.2.50; Allow setting a custom TERM for comint

Previous Next

Package: emacs;

Reported by: Allen Li <vianchielfaura <at> gmail.com>

Date: Tue, 5 Dec 2017 20:41:01 UTC

Severity: wishlist

Tags: fixed

Found in version 25.2.50

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Allen Li <vianchielfaura <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 29583 <at> debbugs.gnu.org
Subject: bug#29583: [PATCH] 25.2.50; Allow setting a custom TERM for comint
Date: Tue, 12 Dec 2017 19:35:47 -0800
[Message part 1 (text/plain, inline)]
On Tue, Dec 12, 2017 at 1:16 AM, Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Allen Li <vianchielfaura <at> gmail.com> writes:
>
> Hi Allen,
>
>> +@vindex comint-terminfo-terminal
>> +Emacs sets the @code{TERM} environment variable to a safe value, but
>> +this value may not reflect the full features of comint.  For example,
>> +color is disabled for some applications that use @code{TERM} to
>> +determine if color is supported.  On systems that use terminfo, you
>> +can configure @code{comint-terminfo-terminal} to a terminal that is
>> +present in your system's terminfo database.
>
> You might mention that some applications will override this. For
> example, Tramp will always use `tramp-terminal-type' (which is
> "dumb"). This is because Tramp will run into problems if color is enabled.
>
> Btw, environment variables in the Emacs manual are emphazised as @env{TERM}.
>
> Best regards, Michael.

Thanks, fixed to use @env.  I've changed it to say that Comint uses
this, rather than Emacs.  Naturally, derived modes may override this
behavior; I don't think it's necessary to point that out unless it
turns out to be a common misconception.
[0001-Add-option-to-configure-comint-TERM.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.