GNU bug report logs -
#1973
Bug in simple.el (Emacs version 22.2.1)
Previous Next
Full log
Message #75 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Quoth "Stefan Monnier" <monnier <at> iro.umontreal.ca>:
>> 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.
Hmm... interesting. I hadn't noticed the comint-carriage-motion
function before.
So Shell mode (in buffer *shell* for instance) is actually Comint mode
masquerading as Shell mode whereas buffer *Async Command Output* is
plain Shell mode, not masquerading as anything?
>> 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.
His *Async Command Output* buffer does _not_ display ^M chars when he
issues calls to shell-command with arguments ending "&".
Seb
--
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap
This bug report was last modified 15 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.