A lot of my compilation buffers (M-x compile or M-x grep) mysteriously
die with "exit status 255". I found this very strange, and I tracked
it down to a change in compile-internal recently made by Kirill.
Another syndrom of the change is that compilation buffers begin like
this:
cd /home/srce/hniksic/work/emacs/xemacs-packages/lisp/xemacs-base/
egrep -n 'wget:' *.c /dev/null
^Dzsh: no matches found: *.c
Notice the `^D' (two characters) and the ^H^H sequence of two
control-h characters. It doesn't happen all the time, but it's very
annoying. This patch fixes it, but I don't know enough about this
code to judge if this is an XEmacs bug, or Kirill somehow missed a
Unix process support subtlety.
--- compile.el.orig Tue Apr 28 11:38:50 1998
+++ compile.el Tue Apr 28 11:39:11 1998
@@ -660,7 +660,8 @@
command)))
(set-process-sentinel proc 'compilation-sentinel)
(set-process-filter proc 'compilation-filter)
- (process-send-eof proc)
+ ;; Causes problems; please investigate before using:
+ ;(process-send-eof proc)
(set-marker (process-mark proc) (point) outbuf)
(setq compilation-in-progress
(cons proc compilation-in-progress)))
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
A radioactive cat has eighteen half-lives.