tuareg icon indicating copy to clipboard operation
tuareg copied to clipboard

ocamldebug.el load time (cond (window-system)) incompatible with emacs server

Open SkySkimmer opened this issue 5 years ago • 2 comments

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).

SkySkimmer avatar Jul 02 '19 08:07 SkySkimmer

In ocamldebug.el there's a conditional on window-system at load time

I believe I have now fixed it in master, thanks.

monnier avatar Jul 09 '19 21:07 monnier

@monnier Thanks!

Chris00 avatar Jul 10 '19 10:07 Chris00