[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
From: |
Thomas Fitzsimmons |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Chong Yidong <cyd@stupidchicken.com> writes:
> Thomas Fitzsimmons <fitzsim@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.
Yeah, it is strange. Were you able to replicate on your setup the
behavior I described?