GNU bug report logs - #1973
Bug in simple.el (Emacs version 22.2.1)

Previous Next

Package: emacs;

Reported by: Sebastian Tennant <sebyte <at> smolny.plus.com>

Date: Tue, 20 Jan 2009 20:50:02 UTC

Severity: normal

Merged with 2103

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sebastian Tennant <sebyte <at> smolny.plus.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#1973: Bug in simple.el (Emacs version 22.2.1)
Date: Thu, 22 Jan 2009 23:15:11 +0000
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.