GNU bug report logs -
#7952
24.0.50; crash in find_interval
Previous Next
Reported by: Romain Francoise <romain <at> orebokech.com>
Date: Tue, 1 Feb 2011 12:34:02 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #82 received at 7952 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Thanks, but will that solution work when start-process is not
> available (MS-DOS)? I'm not sure (I think compilation-filter is not
> run in that case).
Good point. This problem isn't limited to grep. For the synchronous
case, compilation-start should probably run compilation-filter-hook
after call-process returns. WDYT?
*** lisp/progmodes/compile.el 2011-05-08 05:17:17 +0000
--- lisp/progmodes/compile.el 2011-05-08 20:25:38 +0000
***************
*** 1623,1630 ****
--- 1623,1632 ----
;; regardless of where the user sees point.
(goto-char (point-max))
(let* ((inhibit-read-only t) ; call-process needs to modify outbuf
+ (compilation-filter-start (point))
(status (call-process shell-file-name nil outbuf nil "-c"
command)))
+ (run-hooks 'compilation-filter-hook)
(cond ((numberp status)
(compilation-handle-exit
'exit status
This bug report was last modified 14 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.