GNU bug report logs - #7426
23.2; term.el: After running stty -opost, printing \n\r inserts trailing spaces

Previous Next

Package: emacs;

Reported by: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>

Date: Wed, 17 Nov 2010 20:00:03 UTC

Severity: normal

Found in version 23.2

Done: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7426 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Cc: 7426 <at> debbugs.gnu.org
Subject: Re: 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
Thomas Fitzsimmons <fitzsim <at> fitzsim.org> 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.




This bug report was last modified 9 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.