From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#7426: 23.2; term.el: After running stty -opost, printing \n\r inserts trailing spaces Date: Fri, 19 Nov 2010 14:22:20 -0500 Message-ID: References: <87eiahp99z.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1290195883 18618 80.91.229.12 (19 Nov 2010 19:44:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 19:44:43 +0000 (UTC) Cc: 7426@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 19 20:44:39 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJWss-0008Tb-67 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 20:44:34 +0100 Original-Received: from localhost ([127.0.0.1]:37782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJWsr-0004k2-Ft for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 14:44:33 -0500 Original-Received: from [140.186.70.92] (port=57061 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJWsk-0004j0-4j for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 14:44:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJWsh-0003RZ-8d for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 14:44:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJWsh-0003RU-6f for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 14:44:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJWRF-0002bK-Nj; Fri, 19 Nov 2010 14:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Nov 2010 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7426 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7426-submit@debbugs.gnu.org id=B7426.12901941519992 (code B ref 7426); Fri, 19 Nov 2010 19:16:01 +0000 Original-Received: (at 7426) by debbugs.gnu.org; 19 Nov 2010 19:15:51 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJWR4-0002b7-TC for submit@debbugs.gnu.org; Fri, 19 Nov 2010 14:15:51 -0500 Original-Received: from mail-qy0-f172.google.com ([209.85.216.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJWR1-0002av-Pq for 7426@debbugs.gnu.org; Fri, 19 Nov 2010 14:15:48 -0500 Original-Received: by qyk7 with SMTP id 7so5163qyk.3 for <7426@debbugs.gnu.org>; Fri, 19 Nov 2010 11:20:55 -0800 (PST) Original-Received: by 10.224.45.130 with SMTP id e2mr1233115qaf.22.1290194455330; Fri, 19 Nov 2010 11:20:55 -0800 (PST) Original-Received: from autumn (bas3-toronto06-2925098028.dsl.bell.ca [174.89.116.44]) by mx.google.com with ESMTPS id l14sm1168123qck.17.2010.11.19.11.20.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Nov 2010 11:20:53 -0800 (PST) In-Reply-To: <87eiahp99z.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 19 Nov 2010 11:28:56 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Nov 2010 14:16:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41757 Archived-At: Chong Yidong writes: > Thomas Fitzsimmons writes: > >> term-vertical-motion expands to vertical-motion and it's that call that >> results in the spaces being inserted in the buffer. >> >> I worked around the issue by removing, after-the-fact, spaces inserted >> by the (vertical-motion 0) call. A more efficient solution would be to >> prevent vertical-motion from inserting the spaces in the first place, >> but that happens deep within Emacs somewhere. I'm hoping a terminal >> expert can suggest where to look. > > That's strange. vertical-motion should not affect the buffer contents; > it only moves point. Yeah, it is strange. Were you able to replicate on your setup the behavior I described?