> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes: 
 Uwe Brauer writes:
> (remove-hook 'write-file-hooks 'x-symbol-write-hook)
> 
> The  x-symbol-write-hook is not removed. 
 `x-symbol-write-hook' doesn't exist in a stock x-symbol.  Do
you mean
 `x-symbol-write-file-hook'? 
Sorry you are right.
 The other possibility I can think of is that write-file-hooks is
 buffer-local, and you need to 
     (remove-hook 'write-file-hooks 'x-symbol-write-hook t)
> I suspect this hook makes editing not-so-small LaTeX files slow,
> when x-symbol-mode is enabled. When I disable x-symbol-mode the
> hooks is still around and I presume that is why the performance is
> still bad. 
 Seems very unlikely it affects speed in general.  It's a
 write-file-hook, so it should only be called when writing a file.  I 
That was my first thought too. But the thing is:
I put 
(define-specifier-tag 'mule-fonts)
(x-symbol-initialize)
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.
I comment out 
;(define-specifier-tag 'mule-fonts)
;(x-symbol-initialize)
I restart xemacs, and I open a Latex file. Now saving is much faster
even faster than before when x-symbol was disabled.
 suppose you could mean long delays for auto-save, which is possible.
And how could it that be prevented?
 Do you use crypt or crypt++? 
Hm they are in my load path, but I can't find any require or load
command in my init buffer, which does not mean much. 
Is there any easy way to know that a specific file has been loaded?
I tried for example to do 
describe-function 
crypt-submit-report (which can be found in crypt.el) 
RET
and the function is not found. 
So I would say no.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta