From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#23914: 24.5; tramp-get-remote-path fails with some shells if tramp-own-remote-path is used Date: Sat, 09 Jul 2016 14:23:02 +0200 Message-ID: <87poqngfvd.fsf@linux-m68k.org> References: <87bn28a4nb.fsf@thor.piquan.org> <8737njt51n.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468067073 2305 80.91.229.3 (9 Jul 2016 12:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 12:24:33 +0000 (UTC) Cc: Joel Ray Holveck , 23914@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 14:24:17 2016 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 1bLrIq-0004NL-4i for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 14:24:12 +0200 Original-Received: from localhost ([::1]:50344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLrIp-0008RD-Dq for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 08:24:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLrIj-0008Qw-Bt for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLrIg-0007Bj-5Y for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:24:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLrIg-0007Bf-29 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLrIf-00087s-UW for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2016 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23914 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23914-submit@debbugs.gnu.org id=B23914.146806698731145 (code B ref 23914); Sat, 09 Jul 2016 12:24:01 +0000 Original-Received: (at 23914) by debbugs.gnu.org; 9 Jul 2016 12:23:07 +0000 Original-Received: from localhost ([127.0.0.1]:43300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLrHn-00086H-8e for submit@debbugs.gnu.org; Sat, 09 Jul 2016 08:23:07 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:58082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLrHl-000866-GN for 23914@debbugs.gnu.org; Sat, 09 Jul 2016 08:23:06 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3rmr9M5VgFz3hhtK; Sat, 9 Jul 2016 14:23:03 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3rmr9M3RVzzvkY4; Sat, 9 Jul 2016 14:23:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id EYI-hQzdKrSl; Sat, 9 Jul 2016 14:23:02 +0200 (CEST) X-Auth-Info: iLErooRAfy6j6Co/PHs4AlP7OeNtke1fCylITE5KmRBdhSKdt4qwTQF2x+PPX6Bs Original-Received: from igel.home (ppp-88-217-1-232.dynamic.mnet-online.de [88.217.1.232]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 9 Jul 2016 14:23:02 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 2CDDF2C2DBB; Sat, 9 Jul 2016 14:23:02 +0200 (CEST) X-Yow: .. I don't know why but, suddenly, I want to discuss declining I.Q. LEVELS with a blue ribbon SENATE SUB-COMMITTEE! In-Reply-To: <8737njt51n.fsf@gmx.de> (Michael Albinus's message of "Sat, 09 Jul 2016 13:38:28 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) 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:120676 Archived-At: Michael Albinus writes: > Unfortunately, Posix does not specify how to force a login shell, That's outside the scope of POSIX. > evaluating its ~/.profile and friends. If somebody knows a portable way, > how one could determine the $PATH settings of a login shell, I'll add it > to Tramp happily. Traditionally, the bourne shell acts as a login shell if argv[0] starts with '-', and that's how login(1) does it. Unfortunately, Emacs does not provide a way to alter the value of argv[0] passed to the inferior. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."