From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#6691: 23.2; Eshell and ^M Date: Sat, 14 Apr 2012 10:22:47 +0200 Message-ID: References: <13zkahagk7.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334391828 22194 80.91.229.3 (14 Apr 2012 08:23:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 08:23:48 +0000 (UTC) Cc: 6691@debbugs.gnu.org, Lars Magne Ingebrigtsen , John Wiegley To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 10:23:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SIyGo-0000TO-8Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 10:23:46 +0200 Original-Received: from localhost ([::1]:55254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIyGn-00016t-AE for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 04:23:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIyGj-00016d-PU for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 04:23:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIyGh-0002DD-W6 for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 04:23:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIyGh-0002D1-Sf for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 04:23:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIyI1-0004gb-Lw for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 04:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Apr 2012 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6691 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6691-submit@debbugs.gnu.org id=B6691.133439185117941 (code B ref 6691); Sat, 14 Apr 2012 08:25:01 +0000 Original-Received: (at 6691) by debbugs.gnu.org; 14 Apr 2012 08:24:11 +0000 Original-Received: from localhost ([127.0.0.1]:57969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIyHC-0004fJ-CY for submit@debbugs.gnu.org; Sat, 14 Apr 2012 04:24:11 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:43315) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIyH9-0004fB-Bl for 6691@debbugs.gnu.org; Sat, 14 Apr 2012 04:24:08 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VV8411t7mz3hhc4; Sat, 14 Apr 2012 10:22:41 +0200 (CEST) Original-Received: from linux.local (ppp-93-104-151-58.dynamic.mnet-online.de [93.104.151.58]) by mail.mnet-online.de (Postfix) with ESMTPA id 3VV8413XZvz4KK6c; Sat, 14 Apr 2012 10:22:41 +0200 (CEST) Original-Received: by linux.local (Postfix, from userid 501) id 615B71E52D6; Sat, 14 Apr 2012 10:22:47 +0200 (CEST) X-Yow: Yow! I want my nose in lights! In-Reply-To: (Leo's message of "Sat, 14 Apr 2012 15:48:32 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59039 Archived-At: Leo writes: > The known fact is if I remove eshell-handle-control-codes from > eshell-output-filter-functions, then I can observe outputting ^M in both > GNU/Linux and OSX. > > So I think eshell-handle-control-codes might be where the problem is. The point of eshell-handle-control-codes is to handle ^M (and other control chars) like a terminal does. (That its implementation is pretty inefficient is different issue.) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."