Hi Michael, I am writing this regarding the following issue on lsp-mode's bug tracker: https://github.com/emacs-lsp/lsp-mode/issues/2375 . The issue is that \r\n are converted to \n but only when connecting to linux from mac. Using (set-process-coding-system result 'no-conversion 'no-conversion) and settinginhibit-eol-conversion to t does not work(or at least this is what was reported by the users). Can you suggest what the issue might be? Let me know if you need more information: Here it is the relevant code which we use for opening the connection: (let* ((final-command (lsp-resolve-final-function local-command)) ;; wrap with stty to disable converting \r to \n (process-name (generate-new-buffer-name name)) (wrapped-command (append '("stty" "raw" ";") final-command (list (concat "2>" (or (when generate-error-file-fn (funcall generate-error-file-fn name)) (format "/tmp/%s-%s-stderr" name (cl-incf lsp--stderr-index))))))) (process-environment (lsp--compute-process-environment environment-fn))) (let ((proc (apply 'start-file-process-shell-command process-name (format "*%s*" process-name) wrapped-command))) (set-process-sentinel proc sentinel) (set-process-filter proc filter) (set-process-query-on-exit-flag proc nil) (set-process-coding-system proc 'binary 'binary) (cons proc proc))) Thanks, Ivan