XEmacs equivalent of emacs mode line data?
toy.raymond at gmail.com
Sat Aug 21 11:05:29 EDT 2010
On 8/21/10 10:40 AM, Aidan Kehoe wrote:
> Ar an naoú lá déag de mí Lúnasa, scríobh Raymond Toy:
> > Does xemacs have some equivalent of emacs :eval form for mode line
> > data, as mentioned here:
> > <http://www.gnu.org/software/emacs/elisp/html_node/Mode-Line-Data.html>
> > This shows up in slime where currently slime updates the modeline by
> > scanning every buffer to see if it is in slime-mode and updating the
> > modeline appropriately. When there are a dozen buffers or more, slime
> > drastically slows down.
> There isn’t yet. I would be shocked if were absolutely necessary, though;
> does replacing #'slime-recompute-modelines with the below (untested, I
> haven’t used slime much) improve things for you? And yes, byte-compilation
> is the way to go!
This seems to work very well, even without byte-compiling the code.
Thank you very much for this. I'll send it off to the slime guys so
they can incorporate this code into slime.
More information about the XEmacs-Beta