From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: How to use org mode shell with ssh? Date: Fri, 23 Sep 2016 12:49:58 +0200 Message-ID: References: <87eg4c8gfs.fsf@yandex.com> <87lgykrq3x.fsf@yandex.com> <874m58yokc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c18ffbe4b970c053d2a8b69 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnO3o-0008O5-OV for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 06:50:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnO3i-0002ml-LT for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 06:50:27 -0400 Received: from smtp2.supelec.fr ([160.228.120.31]:46651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnO3i-0002mB-BY for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 06:50:22 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.supelec.fr (Postfix) with ESMTP id A232380194 for ; Fri, 23 Sep 2016 12:50:19 +0200 (CEST) Received: from smtp2.supelec.fr ([127.0.0.1]) by localhost (smtp2.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AHpsNW_sOXDu for ; Fri, 23 Sep 2016 12:50:19 +0200 (CEST) Received: from mail-ua0-f180.google.com (mail-ua0-f180.google.com [209.85.217.180]) by smtp2.supelec.fr (Postfix) with ESMTPSA id 3FE4880116 for ; Fri, 23 Sep 2016 12:50:19 +0200 (CEST) Received: by mail-ua0-f180.google.com with SMTP id 107so33462659uah.2 for ; Fri, 23 Sep 2016 03:50:19 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Xi Shen Cc: Nick Dokos , "emacs-orgmode@gnu.org" --94eb2c18ffbe4b970c053d2a8b69 Content-Type: text/plain; charset=UTF-8 2016-09-23 10:32 GMT+02:00 Xi Shen : > Hi, > > On my Windows system, I have Cygwin setup, with Emacs as part of the > Cygwin installation. > Cygwin Emacs is not a native Emacs (AFAIK). The difference is in the way it groks pathnames and other stuff like the default shell. I also setup my Cygwin environment to use zsh. I started my Emacs from this > zsh environment. I think that's where org inherited this setting. > > I think when org execute my block, it some how assumed that it should use > the same shell at the remote end. > The portion of code I pointed out does not make sense to me and it may be responsible for your problem. Fabrice --94eb2c18ffbe4b970c053d2a8b69 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-09-23 10:32 GMT+02:00 Xi Shen <davidshen84@gmail.com><= /span>:
Hi,

On my Windows system, I have Cygwin setup, with Emacs as part of the= Cygwin installation.

Cygwin Em= acs is not a native Emacs (AFAIK). The difference is in the way it groks pa= thnames
and other stuff like the default shell.

I also setup my Cy= gwin environment to use zsh. I started my Emacs from this zsh environment. = I think that's where org inherited this setting.

I think when org execute my block, it some how assumed that it should us= e the same shell at the remote end.

=
The portion of code I pointed out does not make sense to me and it may= be responsible for your problem.

Fabrice=C2=A0
--94eb2c18ffbe4b970c053d2a8b69--