Subject: Re: bug#1973: Bug in simple.el (Emacs version 22.2.1)

From: "Stefan Monnier" <[email-masked]>
Date: Thu, 22 Jan 2009 16:30:47 -0500

> So the shell mode used in interactive shells (started with M-x shell) is
> enhanced somehow to handle ^Ms?

It's actually done in comint-mode rather than just in shell-mode.
See comint-carriage-motion.  Note that it's an approximation of the
actual semantics of ^M in a terminal, because comint-mode doesn't
actually provide the usual semantics of a terminal.

> Note that Kevin Rodgers does not observe the same behaviour:
>  http://article.gmane.org/gmane.emacs.bugs/24348

I'm not sure what he's referring to.

        Stefan