> would you please use M-x > report-emacs-bug so we can see The bug does not occur if `comint-inhibit-carriage-motion' is not `nil'. And this value is not output by `report-emacs-bug'. The `comint' version is upstream one.