From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#19870: 24.4.90; tramp sets bad PAGER, commands which reference it fail Date: Sun, 15 Feb 2015 16:22:30 +0100 Message-ID: <874mqn42tl.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1424013808 21123 80.91.229.3 (15 Feb 2015 15:23:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 15:23:28 +0000 (UTC) Cc: 19870@debbugs.gnu.org To: Richard Lowe Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 15 16:23:17 2015 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 1YN12S-0000l8-Ie for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 16:23:16 +0100 Original-Received: from localhost ([::1]:35706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN12R-0003QY-L3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 10:23:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN12J-0003PP-PG for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 10:23:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN12E-0002vS-Qf for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 10:23:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN12E-0002vM-Mm for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 10:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YN12E-0002Hv-DE for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Feb 2015 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19870-submit@debbugs.gnu.org id=B19870.14240137618759 (code B ref 19870); Sun, 15 Feb 2015 15:23:02 +0000 Original-Received: (at 19870) by debbugs.gnu.org; 15 Feb 2015 15:22:41 +0000 Original-Received: from localhost ([127.0.0.1]:44836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN11s-0002HA-R2 for submit@debbugs.gnu.org; Sun, 15 Feb 2015 10:22:41 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:56362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN11p-0002Gw-TU for 19870@debbugs.gnu.org; Sun, 15 Feb 2015 10:22:38 -0500 Original-Received: from detlef.gmx.de ([93.209.72.177]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lskr7-1XPmUo2HqT-012Kli; Sun, 15 Feb 2015 16:22:31 +0100 In-Reply-To: (Richard Lowe's message of "Sat, 14 Feb 2015 23:56:26 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:1tGzDHBIL285+p/qMH9VgXxoi991J2Hqg+R37ea6YZ8me7C5npz Zsf+BMyt4T4Hz4tZYx1ch8TJAnTub5eV3O4DHMq7Wce18P6GlMGWNFMhB2uNCkhVRe4OVwO oQgxVjit5GEPz7Np1B3WYuPWiWanY5eth3McN26amI0BZgWitn79epV9xOarPF/ZGSS9M3E 17l9eMtU/mFypSMdXlc1Q== X-UI-Out-Filterresults: notjunk:1; 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:99434 Archived-At: Richard Lowe writes: > It's not clear to me whether the change quoted above is somehow flawed, > or whether the setting of PAGER in `tramp-remote-process-environment' is > flawed. I think the setting is to workaround the fact that if the RHS > of the assignment in `tramp-remote-process-environment' is empty, we > won't actually do anything (which seems a bit weird, given the number of > variables in there that will be ignored), and the new code quoted above > results in more faithfully quoting things, triggering the bug. J=C3=A9r=C3=A9my Compostella has already published a patch on the Tramp mai= ling list. I've committed it to the emacs-24 branch of the repository; could you please check whether it is OK? Thanks, and best regards, Michael. PS: due to a problem of the different branches on my laptop, I've committed it also to the master branch by accident. Hope there is no trouble when merging.