From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Doherty, Daniel" Newsgroups: gmane.emacs.help Subject: Re: Can't Stop Tramp from invoking my login fish shell Date: Sun, 8 Jan 2017 06:02:24 -0600 Message-ID: References: <874m19ajrv.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1483886950 3785 195.159.176.226 (8 Jan 2017 14:49:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2017 14:49:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 08 15:49:05 2017 Return-path: Envelope-to: geh-help-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 1cQEmM-0000DS-W3 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2017 15:49:03 +0100 Original-Received: from localhost ([::1]:33643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQEmR-0001Y6-Ei for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2017 09:49:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQCBn-0003po-4m for help-gnu-emacs@gnu.org; Sun, 08 Jan 2017 07:03:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQCBm-0005D6-1d for help-gnu-emacs@gnu.org; Sun, 08 Jan 2017 07:03:07 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:37274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQCBl-0005Cu-RJ for help-gnu-emacs@gnu.org; Sun, 08 Jan 2017 07:03:05 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id t79so85572132wmt.0 for ; Sun, 08 Jan 2017 04:03:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddoherty.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0klKCfq/jggGvXp9dfNYQ7htmQAsIMAhAzlOPZt7ZEY=; b=jNEBMyRo/S9AvSK3HTHpoTURtIunwwRsMr9GGW048BuGIVBNQVLVHV8+OxCMr5jy7r kvntnIqIr5uTmlZkM+UwrZ/6KvQJcQ7qSTZFrr8Jbq5ssv36rd/+y/bd/IDbiaCu6pkP 6hT3X53wLZaTLyjOkE5Jl+hovSqQA3LB8Po6s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0klKCfq/jggGvXp9dfNYQ7htmQAsIMAhAzlOPZt7ZEY=; b=rdrxMb+aoMjxNswsFo8mhOjQndx83aNt10qg3XjJEaUTyquzBrjEv32lA8XFno9s/r nA5g3t5aIzSec79e1jlQQA0BF8fK513bvrLqxs7PzxQ28wlmrCxTqegeNdFa40Nji2J2 WUSA6aBtDusJSCvF8+ww/ZoBXlqxpcmXmq+cnm39JivObTdKgENcwMAgZ62sw5WrJGsY fYzQYAyzCYRSmXWr4i00aLZaQ90f1SG4+yKqtiEzJJP4JAFVeQYoK18fM0nYkrDvGzZk W0yLnvYiR+sHg3/XJ1egZeMPZYFeSwZMtnldnCaPBC2OEsF8GBCYVfRfHuIwEwzam5jg VUNA== X-Gm-Message-State: AIkVDXLmzxSl57GzACjMlWtzRNMfNggdcWKbtYoxeH8+CeDH0Tx7PJ0iUol5Cuem1MsFJzntUO2JaAsXZWDOHA== X-Received: by 10.223.178.9 with SMTP id u9mr8358311wra.110.1483876984675; Sun, 08 Jan 2017 04:03:04 -0800 (PST) Original-Received: by 10.28.154.198 with HTTP; Sun, 8 Jan 2017 04:02:24 -0800 (PST) In-Reply-To: <874m19ajrv.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d X-Mailman-Approved-At: Sun, 08 Jan 2017 09:48:35 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112059 Archived-At: Michael, You nailed it! I had seen suggestions to set explicit-shell-file-name, but not shell-file-name. Problem went away after setting this in my init.el. Many thanks. ==================================================== Daniel E. Doherty Law Offices of Daniel E. Doherty 7300 W. 110th Street, Suite 930 Overland Park, KS 66210 913.338.7182 (Phone) 913.338.7164 (FAX) ded-law@ddoherty.net On Sun, Jan 8, 2017 at 5:11 AM, Michael Albinus wrote: > ded@ddoherty.net writes: > > > All, > > Hi, > > > The error message pops up in a *temp* buffer, which goes away when I > type anything in it, but it says something like this: > > > > Unsupported use of && ... > > fish: scp -p -q -r ... && echo tramp_exit_status 0 || echo > tramp_exit_status 1 > > This construct isn't used anymore since Tramp 2.3.0. You could switch > either to the development version of Emacs 26, or install the recent > Tramp 2.3.1. > > > I have tried setting explicit-shell-file-name to "/bin/bash" and > > setting SHELL environment variable to "/bin/bash" with setenv when > > tramp is loaded. > > Internally, Tramp calls `start-process-shell-command'. Binding > `shell-file-name' to "/bin/bash" might help (not tested). > > Best regards, Michael. >