tuareg
tuareg copied to clipboard
ocamldebug.el load time (cond (window-system)) incompatible with emacs server
In ocamldebug.el there's a conditional on window-system
at load time https://github.com/ocaml/tuareg/blob/c81413b5dc242483b5de92bf47eb07612748d107/ocamldebug.el#L75-L76
If emacs is started with --daemon and tuareg loaded by the user's init.el, and then the user opens a GUI client frame, the conditional will have produced incorrect results.
At the user level this may manifest as "incorrect arguments (overlayp)" process filter error messages, strange slowness when sending commands, and lack of underlining in the source file (perhaps not exhaustive).
In ocamldebug.el there's a conditional on
window-system
at load time
I believe I have now fixed it in master
, thanks.
@monnier Thanks!