zsh-workers
 help / color / mirror / code / Atom feed
From: Gary Oberbrunner <garyo@genarts.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Zsh 4.0.4 and Emacs 21.1 in Windows XP
Date: Fri, 08 Feb 2002 10:20:12 -0500	[thread overview]
Message-ID: <3C63ECAC.7000607@genarts.com> (raw)
In-Reply-To: <000001c17348$9794de80$21c9ca95@mow.siemens.ru>

In November, the following exchange occurred:

I wrote:

>>I'm trying to use Zsh 4.0.4 on Windows XP with Emacs 21.1 in
>>shell-mode.

 >>Everything works OK except zsh thinks all my input has an extra CR
 >>at the end of each line.  So in order to do a 'ls' I have to do 'ls;'
 >>and then it does the ls properly and then gives me an error 'zsh:
 >>command not found: ^M'.  If I just type ls<CR> I get 'zsh: command not
 >>found: ls^M'.  I've turned off all my .z* scripts and it didn't make

Andrej Borsenkow replied:

> Have you compiled Emacs under Cygwin? (I assume, you have Cygwin
> environment as zsh definitely does not work under native Win32). I
> vaguely remember there were problems (Xemacs is supposed to work
> though).


Then after that I submitted a patch which would strip CRs off the end of 
input lines, so it would work for me.  Well, I finally got enough time 
to track it down.  It had nothing to do with cygwin bin mode, and 
nothing really to do with zsh.  (I could make it happen with other 
shells too.)  And my bogus patch is unnecessary.

It turns out it was caused by the expression (standard-display-european) 
in my .emacs file; once I removed that and just used 
(set-explicit-shell-file-name "/path/to/zsh.exe") I was fine.  I am SO 
HAPPY now -- my beloved zsh, in emacs, on Windows and Irix and Linux, 
all working beautifully!

I know this is a little off topic, but I just wanted to get it into the 
archives in case anyone else had this problem.

-- Gary Oberbrunner


  parent reply	other threads:[~2002-02-08 15:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-21 19:59 Gary Oberbrunner
2001-11-22 11:26 ` Borsenkow Andrej
2001-11-23  2:38   ` Gary Oberbrunner
2001-11-23  6:05     ` Borsenkow Andrej
2001-11-23 15:48       ` Gary Oberbrunner
2001-11-23 22:09         ` Gary Oberbrunner
2001-11-23 21:21   ` Gary Oberbrunner
2001-11-26  7:32     ` Borsenkow Andrej
2001-11-26 15:31       ` Gary Oberbrunner
2002-02-08 15:20   ` Gary Oberbrunner [this message]
2001-11-22 11:35 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C63ECAC.7000607@genarts.com \
    --to=garyo@genarts.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).