From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong 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 11:28:56 -0500 Message-ID: <87eiahp99z.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290185151 31891 80.91.229.12 (19 Nov 2010 16:45:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 16:45:51 +0000 (UTC) Cc: 7426@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 19 17:45:46 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 1PJU5q-0000du-KF for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 17:45:46 +0100 Original-Received: from localhost ([127.0.0.1]:38702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJU5p-0001Nw-VR for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 11:45:46 -0500 Original-Received: from [140.186.70.92] (port=48175 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJU5A-00013D-8X for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:45:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJU58-000657-NA for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:45:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJU58-000652-L8 for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2010 11:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJTko-0008MA-0r; Fri, 19 Nov 2010 11:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong 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 16:24: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.129018383032116 (code B ref 7426); Fri, 19 Nov 2010 16:24:01 +0000 Original-Received: (at 7426) by debbugs.gnu.org; 19 Nov 2010 16:23:50 +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 1PJTkb-0008Lx-9k for submit@debbugs.gnu.org; Fri, 19 Nov 2010 11:23:49 -0500 Original-Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJTka-0008Ls-CC for 7426@debbugs.gnu.org; Fri, 19 Nov 2010 11:23:48 -0500 Original-Received: from furball (dhcp128036014113.central.yale.edu [128.36.14.113]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id oAJGStJb022758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 Nov 2010 11:28:55 -0500 Original-Received: by furball (Postfix, from userid 1000) id 397CD160854; Fri, 19 Nov 2010 11:28:56 -0500 (EST) In-Reply-To: (Thomas Fitzsimmons's message of "Wed, 17 Nov 2010 15:00:57 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Nov 2010 11:24:02 -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:41752 Archived-At: 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.