From: Chong Yidong <cyd@stupidchicken.com>
To: Thomas Fitzsimmons <fitzsim@fitzsim.org>
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 11:28:56 -0500 [thread overview]
Message-ID: <87eiahp99z.fsf@stupidchicken.com> (raw)
In-Reply-To: <m3wroben46.fsf@fitzsim.org> (Thomas Fitzsimmons's message of "Wed, 17 Nov 2010 15:00:57 -0500")
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.
next prev parent reply other threads:[~2010-11-19 16:28 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 [this message]
2010-11-19 19:22 ` Thomas Fitzsimmons
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eiahp99z.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=7426@debbugs.gnu.org \
--cc=fitzsim@fitzsim.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.