I actually noticed this with 21.4.1 as well. Also, this may not have
always been a problem. It may have started recently; I only gradually
became aware of it.
Basically, xemacs is slow to respond to x events. I can move my mouse
around inside the window and peg my cpu. Expose events take several
seconds to finish. Highlighting in the occur buffer always lags my
mouse. The slowness doesn't occur until I load cc-mode. For
instance, I have a seperate xemacs process dedicated to Gnus. That
xemacs never gets "slow".
I'm not sure what all is relevant information to give. I'm running a
fairly up-to-date debian woody system. I did the configure
--with-msw=no --with-athena=3d --with-png --with-jpeg --with-tiff. I
have to do the --with-msw=no because I have wine installed and xemacs
always tries to compile the win32 version. I think debian has some
strange policy about the xaw stuff. As such, let me list what xaw
stuff I have installed:
ii libxaw6 4.0.3-4 X Athena widget set library (version 6)
ii libxaw7 4.0.3-4 X Athena widget set library
ii libxaw7-dev 4.0.3-4 X Athena widget set library development file
ii xaw3dg 1.5-7 Xaw3d widget set
ii xaw3dg-dev 1.5-7 Xaw3d widget set development package
From my .xemacs/init.el I have this (plus more; not sure what all to
include):
(add-hook 'font-lock-mode-hook
(lambda () (if (> (buffer-size) 7000) (turn-on-lazy-lock))))
(setq list-matching-lines-whole-buffer t) ;occur matches whole buffer
(defun dka-c-mode-settings ()
(interactive nil)
"Function to setup all of my c-mode and c-mode-common stuff"
(make-local-variable 'require-final-newline)
(make-local-variable 'indent-tabs-mode)
(setq require-final-newline t)
(setq fume-display-in-modeline-p "non-nil, non-t")
(setq imenu-sort-function 'imenu--sort-by-name)
(imenu-add-to-menubar "Functions")
(if (or (string-match "TTPro_Ver" (buffer-file-name))
(string-match "HelpDesk" (buffer-file-name))
(string-match "TestTrack" (buffer-file-name)))
(progn
(make-local-variable 'backup-inhibited)
(setq compile-command "time cons -t ../")
(setq backup-inhibited t))
(setq compile-command "make -k"))
(setq indent-tabs-mode nil)
(c-add-style "dka" dka-c-style t)
(c-set-style "dka")
)
(add-hook 'c-mode-common-hook 'dka-c-mode-settings)
--
(__) Doug Alcorn (mailto:doug@lathi.net
http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.