[Bug: 21.5-b28] why fold an 80-char line in an 80-col window?

Stephen J. Turnbull stephen at xemacs.org
Mon Feb 25 18:17:32 EST 2008


Anders J. Munch writes:
 > Stephen J. Turnbull wrote:
 > > I've always wanted to fix this.  Anybody know of reasons why not?
 > > 
 > > Guido van Rossum writes:
 > >  > (*) When is Emacs going to fix the bug where it decides to fold a line
 > >  > that's exactly as wide as the window? This 79 business is really
 > >  > silly, and had to impose on people using other editors.
 > 
 > When at the end of an 80-character line in an 80-column window, where
 > do you paint a block cursor?

Good question, thanks!  I can think of at least three different ways to
handle this, though:

1.  Don't paint a block cursor, do something else.
2.  Always scroll the line to the left as in truncate-lines mode.
3.  Treat it the same way as you would actually inserting a space
    there (ie, left-scroll in truncate-lines mode, wrap otherwise).

 > I wonder how much CPython development takes place on actual physical
 > 80-column terminals. On anything else you just resize the window to
 > show 81 columns.

I don't wonder about such things.  The user is almost always right
about the needs he perceives.  How the developer interprets those
needs in a software solution is different matter, of course.




More information about the XEmacs-Beta mailing list