Red Hat Bugzilla – Bug 447385
screen gets corrupted with space characters
Last modified: 2013-03-03 17:59:22 EST
Description of problem:
with fedora9 and emacs (maybe a more general gnome-terminal issue), the terminal
screen will get corrupted with space characters. Basically occasionally (though
couldn't reproduce just now), while doing control-f to move the cursor across a
word boundry, the space between words will be replaced by a white cursor square
(I use gray-on-black color scheme for gnome-terminal). If I hit contrl-l to
redraw the terminal contents, the square disappears.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 310864 [details]
picture of emacs running in terminal with a couple examples of space corruption
I am also seeing this happen in emacs. It only happens when emacs is run out
of a terminal. (E.g. with the command "emacs -nw".) I see the space
corruption randomly in the course of typing any text. It is not just when
"Me too". Here's some more details:
* A inverse space or character appears (seemingly) randomly as I type.
* C-l to force a redraw cleans it up.
* Only happens with 'emacs -nw' (i.e. not with X).
* Changing my $TERM does not seem to help
* Running emacs under 'screen' makes the problem go away (obviously not a fix,
but it might help suggest what is going wrong).
I can confirm this happens on F10 as well.
I've noticed that if I type something in emacs and get the space corruption, copy the space corrupted text, and then paste it into something like a textarea in firefox... the corrupted spaces turn into tabs chars.
(In reply to comment #5)
> I've noticed that if I type something in emacs and get the space corruption,
> copy the space corrupted text, and then paste it into something like a textarea
> in firefox... the corrupted spaces turn into tabs chars.
I can confirm this. The inverted spaces copy and paste as tabs.
I can confirm all of the above statements still happen on Fedora 10:
yup, still seeing it in f10.
I think this is an emacs bug/misbehavior.
This page discusses WhiteSpace which replaces BlankMode, if you get all the way down to the section "TAB & Display Table" it has a suggested entry for your .emacs file:
'((space-mark ?\ [?\xB7] [?.]) ; space
(space-mark ?\xA0 [?\xA4] [?_]) ; hard space
(newline-mark ?\n [?\xB6 ?\n] [?$ ?\n]) ; end-of-line
Adding this to my .emacs proved an effective workaround for my problem. I am not, however, sure that I would consider this a proper solution. YMMV.
hello, there's a new version 23.1 in Fedora 11 and rawhide:
this bug seems to be gone there: do you see it happening there, too?
Given enough months, I will get around to this, but I'm actually procrastinating the f10-f11 upgrade. Probably it would be better if one of the others that sees this CC because they confirmed it, can try to verify the new version. Otherwise, given sufficient time, I will eventually. It should be fun rewiring those few neurons that have learned to hit ctrl-l so automatically that I barely consciously notice it anymore.
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.