From: Thomas Fitzsimmons <fitzsim@fitzsim.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 7426@debbugs.gnu.org
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 [thread overview]
Message-ID: <m3tyjdce4z.fsf@fitzsim.org> (raw)
In-Reply-To: <87eiahp99z.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 19 Nov 2010 11:28:56 -0500")
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?
next prev parent reply other threads:[~2010-11-19 19:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 20:00 bug#7426: 23.2; term.el: After running stty -opost, printing \n\r inserts trailing spaces Thomas Fitzsimmons
2010-11-19 16:28 ` Chong Yidong
2010-11-19 19:22 ` Thomas Fitzsimmons [this message]
2010-11-20 23:58 ` Thomas Fitzsimmons
2013-03-23 16:37 ` Thomas Fitzsimmons
2015-09-13 0:26 ` Thomas Fitzsimmons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3tyjdce4z.fsf@fitzsim.org \
--to=fitzsim@fitzsim.org \
--cc=7426@debbugs.gnu.org \
--cc=cyd@stupidchicken.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).