From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#15775: 24.3.50; "WARNING: terminal is not fully functional" in Comint and Eshell Date: Fri, 01 Nov 2013 05:58:15 +0400 Message-ID: <87sivgq3wo.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383271153 17730 80.91.229.3 (1 Nov 2013 01:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2013 01:59:13 +0000 (UTC) To: 15775@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 02:59:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vc414-0003sy-9V for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2013 02:59:14 +0100 Original-Received: from localhost ([::1]:59999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc413-0006uK-Rv for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2013 21:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc40w-0006oW-Ru for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vc40s-0001ro-K0 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:59:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc40s-0001rk-Gh for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vc40s-0003Zo-7T for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2013 01:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15775 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138327112313717 (code B ref -1); Fri, 01 Nov 2013 01:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Nov 2013 01:58:43 +0000 Original-Received: from localhost ([127.0.0.1]:56010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vc40Y-0003ZB-I6 for submit@debbugs.gnu.org; Thu, 31 Oct 2013 21:58:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54634) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vc40W-0003Yt-Ph for submit@debbugs.gnu.org; Thu, 31 Oct 2013 21:58:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vc40N-0001pU-5a for submit@debbugs.gnu.org; Thu, 31 Oct 2013 21:58:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc40N-0001pK-2n for submit@debbugs.gnu.org; Thu, 31 Oct 2013 21:58:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc40I-0006av-S8 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:58:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vc40E-0001oV-GR for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:58:26 -0400 Original-Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:62074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc40E-0001oR-91 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 21:58:22 -0400 Original-Received: by mail-la0-f52.google.com with SMTP id ev20so1204410lab.39 for ; Thu, 31 Oct 2013 18:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=HeDizdCVwoobjiNyJDHuTpN+fZ/VODQNT/adPDj4fq4=; b=jEhKUg9yzgRtRAO/gVkEyfrxLPi3E/tYJbJMSo0eADEb7FUF7IBoZgNi0Yw/jr5MFB oVoyz+O7AdOjC+1VZYd68cVXevj+H22/LrWjqmY0vuWdKTMXwXV10mUqTMH41kDyvtvo XRpcQIorTQdL78RzSP4laz0oLn8OqI7qSZ5nsjCZ62VzRQBJlgSNg8Opte1wlvjBkh+q RG8gRxeUyFehyiMTbtboRWJDYm5C6GhGhyuwozF3fG5teA8wakaWRCJd5qFwvtFDpYrn MidP1zbjMilAQgct98fecQZH6A9pNN5NQl9Pqoo2W8ymZvLDJQg3oSw/xBpi592/Auu2 fzGQ== X-Received: by 10.112.53.198 with SMTP id d6mr325881lbp.47.1383271100489; Thu, 31 Oct 2013 18:58:20 -0700 (PDT) Original-Received: from axl ([178.252.98.87]) by mx.google.com with ESMTPSA id e4sm4690476lba.15.2013.10.31.18.58.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 31 Oct 2013 18:58:19 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79842 Archived-At: It has been a somewhat common problem with calling external processes from Emacs. Some references: http://david.rothlis.net/emacs/customize_general.html#shell https://github.com/nonsequitur/inf-ruby/issues/33 https://github.com/dgutov/robe/issues/9 The common recommendation is to change the PAGER environment var, and it works, but why isn't Emacs doing it by default (like with TERM, for example)? Can packages just go ahead and set it, without having to leave it to users? Should they limit the change only to buffers they work with? I looked at how that could be done with Comint (and a mode deriving from it), but `make-comint' creates a new buffer, so it's not like I can change the local value of `process-environment' before the external process is launched. In GNU Emacs 24.3.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2013-10-30 on axl Bzr revision: 114852 monnier@iro.umontreal.ca-20131030012836-rxvpx3me7vn7gnkw Windowing system distributor `The X.Org Foundation', version 11.0.11303000 System Description: Ubuntu 13.04