"William Sobel" writes: > I am having some trouble with pesky ^M's when any process is called > as a subprocess of emacs. I do not have this problem in shell-mode > because comint take care of it. > > I have built 19.34 myself and I am wundering if I have missed any > obvious build options. I have looked at the FAQ and have tried a > rebuild and can not figure out if this ever worked correctly or > not. This is a known problem when compiling 19.>=31 with MSVC++4.2. There is a temporary workaround for this, following. It only has problems when a process outputs a ^Z in a buffer. A better solution is forthcoming in 19.35, due out somewhen. diff -c "c:/users/md5i/tmp/emacs-19.32/src/nt.c.old" "c:/users/md5i/tmp/emacs-19.32/src/nt.c" *** c:/users/md5i/tmp/emacs-19.32/src/nt.c.old Fri Aug 09 21:56:25 1996 --- c:/users/md5i/tmp/emacs-19.32/src/nt.c Mon Aug 12 13:52:21 1996 *************** *** 1891,1897 **** /* make pipe handles non-inheritable; when we spawn a child, we replace the relevant handle with an inheritable one. */ ! rc = _pipe (phandles, 0, _O_NOINHERIT); if (rc == 0) { --- 1891,1897 ---- /* make pipe handles non-inheritable; when we spawn a child, we replace the relevant handle with an inheritable one. */ ! rc = _pipe (phandles, 0, _O_TEXT | _O_NOINHERIT); if (rc == 0) { -- Michael Duggan (md5i@schenley.com)