Eli Zaretskii schrieb:
Date: Sun, 11 Feb 2007 16:40:21 +0100
From: Andreas Roehler <[EMAIL PROTECTED]>
CC: [email protected], Stefan Monnier <[EMAIL PROTECTED]>,
Richard Stallman <[EMAIL PROTECTED]>
Ok now with CVS-Emacs, back to ten seconds,
thanks.
However, looking up symbol `defun' for example after
prompt took still 38 seconds. As this command isn't
called often, I can live with - just to mention it.
Thanks for following up.
I think the change below should fix this remaining problem as well:
2007-02-17 Eli Zaretskii <[EMAIL PROTECTED]>
* info-look.el (info-lookup): Bind Info-fontify-maximum-menu-size
to nil to speed up lookup of the symbol in index nodes.
Index: lisp/info-look.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/info-look.el,v
retrieving revision 1.55
diff -u -r1.55 info-look.el
--- lisp/info-look.el 10 Feb 2007 11:12:42 -0000 1.55
+++ lisp/info-look.el 17 Feb 2007 11:59:07 -0000
@@ -353,8 +353,11 @@
suffix (nth 3 (car doc-spec)))
(when (condition-case error-data
(progn
- (Info-goto-node node)
- (setq doc-found t))
+ ;; Don't need Index menu fontifications here, and
+ ;; they slow down the lookup.
+ (let (Info-fontify-maximum-menu-size)
+ (Info-goto-node node)
+ (setq doc-found t)))
(error
(message "Cannot access Info node %s" node)
(sit-for 1)
It's fine now. Just a few seconds. Thanks.
__
Andreas Roehler
GNU Emacs 22.0.93.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2007-02-18 on kiste
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug