From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#6691: 23.2; Eshell and ^M Date: Sat, 14 Apr 2012 15:48:32 +0800 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 1334389787 10133 80.91.229.3 (14 Apr 2012 07:49:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 07:49:47 +0000 (UTC) Cc: 6691@debbugs.gnu.org, John Wiegley , Lars Magne Ingebrigtsen To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 09:49:46 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 1SIxjt-0003Vj-QA for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 09:49:45 +0200 Original-Received: from localhost ([::1]:52920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIxjs-0006FR-Oo for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 03:49:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIxjp-0006F9-HD for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 03:49:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIxjn-0007Xl-Ne for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 03:49:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIxjn-0007XP-Gr for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 03:49:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIxl7-0003th-K4 for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 03:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Apr 2012 07:51: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.133438984614961 (code B ref 6691); Sat, 14 Apr 2012 07:51:01 +0000 Original-Received: (at 6691) by debbugs.gnu.org; 14 Apr 2012 07:50:46 +0000 Original-Received: from localhost ([127.0.0.1]:57954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIxkr-0003tF-57 for submit@debbugs.gnu.org; Sat, 14 Apr 2012 03:50:45 -0400 Original-Received: from mail-pz0-f42.google.com ([209.85.210.42]:56317) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIxko-0003t6-Qh for 6691@debbugs.gnu.org; Sat, 14 Apr 2012 03:50:43 -0400 Original-Received: by dang27 with SMTP id g27so6128075dan.29 for <6691@debbugs.gnu.org>; Sat, 14 Apr 2012 00:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=DQbUBFA6/44m3e9eQ1ckZfh1jAlksvVNUXxAzCtEpDs=; b=ECiHg152rTysl2ZqguY6Ib7QIc1QatkHIYsFemYvPDvmHa7kIddKvT+hi5RnooTpnr jy/4bIAmZQVA8gjyyKwVUFPhoXzFClaRPFtZ3KUMQDxJb+Qd0tUU4l2nVd7oK4rcdq1g vARtrts3g4YYSyWslS6O3m9q4m7w30B3EnciUwCCzJoMpfHvDMYtoNDp10d86X1TteWV DoXVlgukdMNXy0LY8S07R7y5qwja6tXv+bL9VVGTbFze24ZqjFzlvnfeiHMjMoN3O9IC +i599kSW6wNvbms29UsnKF/wR5CLbdoAD4+/yEkWB7JlYl9QRRs7WG6L9cTLDYVqE7hk iczw== Original-Received: by 10.68.212.163 with SMTP id nl3mr10731224pbc.112.1334389759325; Sat, 14 Apr 2012 00:49:19 -0700 (PDT) Original-Received: from localhost ([111.194.106.191]) by mx.google.com with ESMTPS id q5sm11062078pbp.28.2012.04.14.00.48.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Apr 2012 00:49:17 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= In-Reply-To: <13zkahagk7.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 11 Apr 2012 21:23:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (Mac OS X 10.6.8) 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:59037 Archived-At: On 2012-04-12 09:23 +0800, Glenn Morris wrote: > Are you sure this is related to `eshell-last-output-block-begin'? > IIRC, there are various reports to do with extraneous ^M characters on > Macs (eg with gdb). FWIW, I don't seem to see the problem you describe > on GNU/Linux. I have forgotten much about the reasoning behind the patch. So I am not sure it is the right fix. 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. BTW, why process coding system for input and output are set to utf-8-unix? I bind coding-system-for-read to utf-8 and observe correct output with nearly no ^M, i.e. no need to remove ^M after the fact. Leo