Uwe Brauer writes:
>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
> Uwe Brauer writes:
>> In my init file. I open a Latex file, x-symbol is enabled. Saving is
>> slow on large file. I disable x-symbol (x-symbol is a minor mode),
>> saving is faster.
> Yes, that would be expected.
Why?
Unlike preview-latex which uses display properties to "overlay" the
TeX output on the Emacs window, x-symbol actually replaces buffer
content. In order to save the content in a way useful to any other
program (such as TeX) it must translate back to the original. This is
a relatively slow process, and I would imagine for a file of 50 or 100
KB with many x-symbols in it, it could take several seconds on a
slow-ish machine.
I finally solved this problem: I had some functions (which tried to
avoid x-symbol 8bit saving, which in turn does not work well with vc) in
another hook, which somehow initialized x-symbol again
Yeah, I noticed that. The x-symbol on my load-path is hacked up
trying to avoid the patch, and errored out when I switched the mode
on. But after that some hook kept trying to reinitialize x-symbol and
the quickest way to get it to go away was to kill XEmacs.
It does not work well with mule (nor with vc).
I guess the issue with vc is related to x-symbol's write-file-hook
function, and with Mule of course it has this specialized charset that
no coding-system knows about.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta