[xmonad] Emacs doesn't redraw screen after resizing font

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Mar 11 23:39:55 EDT 2009

On 2009 Mar 11, at 8:04, Jim Burton wrote:
> Hi, I am using xmonad 0.8 and Gnu Emacs 23.0.60 with the xft font
> backend. I set the font height of the default face to 10pt in my
> .emacs but now when I open the application layout is messed up -- I've
> attached a screenshot. This doesn't happen under GNOME. I can force  
> the
> screen tro be redrawn by cycling layouts, typing M-SPC until
> I get back to the original. In emacs, M-x redraw-display does
> nothing.

My personal experience with both emacs and xemacs is that programmatic  
font changes before the window is realized cause confusion.  (And not  
just in xmonad; a font change in xemacs 22 caused xemacs to open at  
normal size and then incrementally resize itself down to a postage  
stamp, in KDE.)  Suffice it to say that fonts and {,x}emacs don't  
really play all that well together.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090311/72276bac/PGP.bin

More information about the xmonad mailing list