Lőrentey Károly writes: > Kenichi Handa writes: >> I think the change is straight forward and not that big. >> But, for the moment, I'm too heavily overloaded to work on >> it. :-( > > I have set aside some time for hacking on this weekend. I'll see if I > can do this, then. Well, I got delayed a bit. Below is my patch for speeding up frame creation by sharing fontsets between frames. It works fine on my system; frame creation feels almost instantaneous again. I think applying it should not mess things up too badly. (An Arch changeset for this patch is available as lorentey@elte.hu--2004/emacs--fontset-cache--0--patch-3.) 2004-10-11 Károly Lőrentey * src/xterm.h (x_output): New member `xic_base_fontname'. (FRAME_XIC_BASE_FONTNAME): New macro. (xic_delete_xfontset): Declare. * src/xfns.c (xic_create_xfontset): Share fontsets between frames based on base_fontname. (create_frame_xic): Set the frame's base_fontname. (xic_delete_xfontset): New function. (free_frame_xic): Use it. Free base_fontname. (xic_set_xfontset): Ditto. * src/xterm.c (xim_destroy_callback): Use xic_delete_fontset.