8 Dec 2010 19:28
Re: bizarre hangs with mh-e; how to avoid odd characters?
Bill Janssen <janssen <at> parc.com>
2010-12-08 18:28:34 GMT
2010-12-08 18:28:34 GMT
So, I found out what was going on with my very slow displays of some messages and folder lists. I build GNU Emacs with X11 from source on OS X to read my mail with. Turns out I didn't have pkg-config configured properly to find the X11 fontconfig program, so it was running without the Emacs 23 client-side font support. Emacs in that case will iterate through all the server-side fonts it can find to see if any of them define the glyph it wants to render. That's what was taking all the time. So, the key is to re-build Emacs with fontconfig support, and the secret to doing that properly is to (1) make sure you download, build, and install pkg-config (it's not on Macs by default); and (2) set the PKG_CONFIG_PATH environment variable to something like "/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig" before configuring emacs. With Emacs 23.1 and later, that should give you fontconfig/libxft support, and Emacs will just iterate over the fonts found through that mechanism (client-side) to find those glyphs. My speed problems seem to have disappeared. Bill ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com
.
> i recently splurged and installed an SSD drive (in my mac laptop). now
> my scan times are down to around a second. quite a difference!
That's definitely the wave of the future and will likely be my next
drive too.
Cheers!
RSS Feed