[comp.sys.next] GNU Emacs front end Version 1.0

stuart@previous.ADS.COM (Stuart Crawford) (06/07/90)

I really like this application, but find that the cursor occasionally
leaves little "pixel droppings" as I move it through the buffer.  The
only solution I've found is to resize the window, but even then the
problem will often re-occur.

I've noticed similar behavior on a NeWS-based front end to GNU Emacs
on a Sun workstation.

Anyone have a solution?
--

mdixon@parc.xerox.com (Mike Dixon) (06/07/90)

this is a documented bug, and only occurs when the window is moved.
the excerpt below is from the Emacs README file...
                                             .mike.

------------------------------------------------------------
Known Bugs:

When the window is moved horizontally, the text cursor will behave in
an erratic manner.  Resizing the window fixes the problem.  This is
due to a bug in the display server in NeXT's 1.0 software release (and
possibly later versions).
--

                                             .mike.

phd_ivo@gsbacd.uchicago.edu (06/07/90)

In article <MDIXON.90Jun6124725@thelonius.parc.xerox.com>, mdixon@parc.xerox.com (Mike Dixon) writes...
 
+this is a documented bug, and only occurs when the window is moved.
+the excerpt below is from the Emacs README file...

Well, even after the window is resized there are all sorts of pixel droppings
on the display. They are not even only occasional, but pretty regular.
Similarly, I occasionally find the cursor not to be on characters, but between
them. ^L gets rid of them, but I still find it unappealing that I never know
whether a ':' is really a '.'. This problem occurs only on the Emacs frontend,
never with the terminal application. Thus, it can potentially be fixed...

Despite these bugs, I wouldn't want to miss having the frontend. I am grateful
to the authors.

/ivo welch	ivo@next.agsm.ucla.edu

mdixon@parc.xerox.com (Mike Dixon) (06/08/90)

curious -- i use the emacs front end extensively and haven't run into
this problem at all.  on the other hand, i don't move the window around
very often, and have made one patch (see below) to get it to use screen
widths for fonts.  what font/size do you use?
------------------------------------------------------------
to patch Emacs to use screen font widths, add these lines:

	/* NXTextFontInfo appears to be broken for screen fonts,
	   so wait until now to get it */
	
    	{	Font *screenfont = [displayFont screenFont];
    		if (screenfont) displayFont = screenfont;
	}

between the call to NXTextFontInfo & the assignment to 'leading' in
EtermView.m 
------------------------------------------------------------
--

                                             .mike.