From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18940: 24.4; vc-hg does not disable pager, leading to hangs (at least with tramp) Date: Sun, 16 Nov 2014 16:08:47 -0500 Message-ID: References: <030C5AEB-C009-4995-B153-6EECD44802C8@fb.com> <87y4rkhdt6.fsf@gmx.de> <87y4rf2jtx.fsf@gmx.de> <87r3x6eq8w.fsf@gmx.de> <87mw7rtnxg.fsf@gmx.de> <83a93rduz4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416172171 19185 80.91.229.3 (16 Nov 2014 21:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2014 21:09:31 +0000 (UTC) Cc: 18940@debbugs.gnu.org, Michael Albinus , dpittman@fb.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 16 22:09:24 2014 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 1Xq74U-0004My-3E for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 22:09:22 +0100 Original-Received: from localhost ([::1]:45079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq74S-0000ji-R5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 16:09:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq74I-0000jc-NJ for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 16:09:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xq74B-0004pb-1q for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 16:09:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq74A-0004pX-Uu for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 16:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xq74A-0004nZ-Hu for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 16:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Nov 2014 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18940-submit@debbugs.gnu.org id=B18940.141617213018427 (code B ref 18940); Sun, 16 Nov 2014 21:09:02 +0000 Original-Received: (at 18940) by debbugs.gnu.org; 16 Nov 2014 21:08:50 +0000 Original-Received: from localhost ([127.0.0.1]:35620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq73y-0004n9-6O for submit@debbugs.gnu.org; Sun, 16 Nov 2014 16:08:50 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:42263) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq73w-0004n1-90 for 18940@debbugs.gnu.org; Sun, 16 Nov 2014 16:08:49 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUIAGA2ZVSnWBqE/2dsb2JhbABbgw6KYssMBAICgRwXAQEBAQEBfIQDAQEDAVYjBQsLNBIUGA0kiEsJ0QQBAQEBBgEBAQEekRQHhEsFjAupDYI2gWQfgnsBAQE X-IPAS-Result: AsUIAGA2ZVSnWBqE/2dsb2JhbABbgw6KYssMBAICgRwXAQEBAQEBfIQDAQEDAVYjBQsLNBIUGA0kiEsJ0QQBAQEBBgEBAQEekRQHhEsFjAupDYI2gWQfgnsBAQE X-IronPort-AV: E=Sophos;i="5.07,380,1413259200"; d="scan'208";a="97144194" Original-Received: from 167-88-26-132.cpe.teksavvy.com (HELO pastel.home) ([167.88.26.132]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Nov 2014 16:08:47 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 57C727AB8; Sun, 16 Nov 2014 16:08:47 -0500 (EST) In-Reply-To: <83a93rduz4.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Nov 2014 17:29:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:96136 > Maybe I'm missing something, but what's wrong with let-binding > process-environment? Nothing wrong with it. The problem is that Tramp ignores those let-bindings because it fails to propagate this environment to its remote sub-processed. `tramp-sh-handle-process-file' really needs to compare process-environment with (default-toplevel-value 'process-environment) to infer the env-vars that have been added via let-binding and then propagate those to the remote sub-process. Stefan