From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#29583: [PATCH] 25.2.50; Allow setting a custom TERM for comint Date: Tue, 12 Dec 2017 10:16:10 +0100 Message-ID: <87efo071d1.fsf@gmx.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513070247 30714 195.159.176.226 (12 Dec 2017 09:17:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 09:17:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29583@debbugs.gnu.org To: Allen Li Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 12 10:17:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOggg-0007Ex-EG for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Dec 2017 10:17:18 +0100 Original-Received: from localhost ([::1]:57320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOgge-0003kP-3Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Dec 2017 04:17:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOggV-0003iw-Cy for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2017 04:17:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOggQ-0005bi-Dt for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2017 04:17:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48993) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOggQ-0005bP-B1 for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2017 04:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOggP-0006q7-TS for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2017 04:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Dec 2017 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29583 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29583-submit@debbugs.gnu.org id=B29583.151307018026232 (code B ref 29583); Tue, 12 Dec 2017 09:17:01 +0000 Original-Received: (at 29583) by debbugs.gnu.org; 12 Dec 2017 09:16:20 +0000 Original-Received: from localhost ([127.0.0.1]:57674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOgfk-0006p2-3M for submit@debbugs.gnu.org; Tue, 12 Dec 2017 04:16:20 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:65417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOgfh-0006oj-8q for 29583@debbugs.gnu.org; Tue, 12 Dec 2017 04:16:17 -0500 Original-Received: from detlef.gmx.de ([178.20.94.179]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ln7wj-1eyXmZ3bCv-00hLL8; Tue, 12 Dec 2017 10:16:10 +0100 In-Reply-To: (Allen Li's message of "Tue, 5 Dec 2017 14:08:08 -0800") X-Provags-ID: V03:K0:9qJSZUUeMM9LUUkeGLmliaWQv65RHBmotQUkoX8Vfy+ScOvGdXB PXXp7BU09wEgdJ524cSDr+t6PSQ5SXbUGtaukrNgqkuzQCOOvBCZSGDNn/L/m1sNnIaKKkF 1TmhSAHAoVUqlS0Mfk024tYCyk17GyYHRP7RUsd1TRn0+cFJn5zmMt3l2VOXvSjX7M2XlBY foxsDZ+MHGW+Yguyl+aXA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ixaB/XNkxCs=:8HYRWIoYJHYfXQ/UAYdEW9 +2HHSUwR0yh6N1lLH4ZDLFi06NAgfz+NhM5ROEyzNZaAtOBm1b7425QFdahLWOkhAkkCYyvkf TIeX9KWTZ2YPmyJ9eQSGCUXuVsJt0/I+XXIkm9yQxMVgk103/kvj8lUyP3jXvMqsqqiknTl33 NzjTvFw59AHu9XdCZFJXsGfnW6vKP8KsY+3RtSlp8oryxtFvmNFe9sf0PRBkMjqGuSW6wdB70 SSVJa0lYx1bOdkmVT9Cwn+6VMsyo3I5G3xDssWgfzidmqONMYdK5Qwdlm7bn0j7a3JziMP123 XK7CIhVOgxUVfE4/3N/1Fm5bsXG7i9+AKu7cFsInNNutZDhEL7h1sfTsbR2NarWYRBIjxKzJ7 CpjRAkTnbOG9MwuaL/bRiqAbIwvr2e8Q5ACPq7tMWtw/9j9ztPN+2GX854GbgGjzQY4vi20lG UUHxUDEKxxduZAPjfBgAigyPUXvQbNAC8drsMiQu5SePKV3awihfJy6LbeVHC/cPFdTE6vgqP EPY+Uw+62clWHFwnKz8H323RvUNOzP9BzsBsiebuUMOrrLjiBPd58/sPgg7CcMLeLFeIkoKfm 0Tr5rF0WjUtzHifYoXCfKcq3PHf2rSBtEToC0IgvqB0fl9XCjY7W0DwYI3piRPuj9Qbd0SeUs NRW+akcSj4GhNeoaO749krL8n7flEyaOkIz9S4ko/sp2XXc0y8vGWs/uRxJY9XYfEA3pZdY89 lT4BV2jdoeUNXvWR305YFRRbJEwAzuIbNp/OByeT/N9o2u7/LLnoZekZG0WxY65THREsdhZi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140974 Archived-At: Allen Li 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.