Richard M. Heiberger wrote:
>>One thing that I at the moment have commented out is setting of 
>>process-coding-system-alist, because I do not understand when it is 
>>needed.
> 
> 
> cygwin bash, when running inside an emacs *shell* buffer, must use 
> 'undecided-unix
> or it won't work.
> 
> Here is an annotated transcript:
> 
> 
> 
> ## my normal setting is  'undecided-unix
> /cygdrive/c/HOME/rmh/hh$ date
> Wed Nov 23 15:11:42 EST 2005
> 
> ## M-: (set-buffer-process-coding-system 'undecided-dos 'undecided-dos)
> /cygdrive/c/HOME/rmh/hh$ date
> : command not found
> ## what happened above is that CR LF was sent to bash.  It died on the CR.
> 
> ## restore normal behavior
> ## M-: (set-buffer-process-coding-system 'undecided-unix 'undecided-unix)
> /cygdrive/c/HOME/rmh/hh$ date
> Wed Nov 23 15:12:23 EST 2005
> /cygdrive/c/HOME/rmh/hh$ 

The same happening here:

[EMAIL PROTECTED] ~ $ uname -a
CYGWIN_NT-5.0 spma33 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown
unknown Cygwin

(eval emacs-version)
"22.0.50.1"

> Some Windows programs running inside a comint buffer require 
> 'undecided-windows.

Cordially, Ismael
-- 
Dropping science like when Galileo dropped his orange

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to