[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7426: 23.2; term.el: After running stty -opost, printing \n\r insert
bug#7426: 23.2; term.el: After running stty -opost, printing \n\r inserts trailing spaces
Fri, 19 Nov 2010 11:28:56 -0500
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
Thomas Fitzsimmons <address@hidden> 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.