From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Trouble passing variables into shell blocks on windows Date: Tue, 23 Jun 2015 10:50:44 +0200 Message-ID: <86k2uubyfv.fsf@example.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Johan W. Klüwer writes: > Thank you for the information -- I suppose the cygwin version of emacs may > be the only viable option. Still that seems like quite a big change, > swapping emacs versions, just for this particular feature. > > 2015-06-15 10:12 GMT+02:00 Rainer M Krug : >> Johan W. Klüwer writes: >>> I'm having difficulties passing org variables into shell source blocks. >>> This is using Windows 7 and Cygwin with bash shell. For instance, the >>> following >>> >>> #+BEGIN_SRC sh :var x="." >>> ls $x >>> #+END_SRC >>> >>> fails with the error message (as displayed in emacs) I dunno what's the real impact of that, but pay attention that the "sh" language has been renamed "shell" quite a long time ago (more than one year IIRC). Best regards, Seb -- Sebastien Vauban