[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info-lookup slow

From: Andreas Roehler
Subject: Re: info-lookup slow
Date: Sun, 11 Feb 2007 16:40:21 +0100
User-agent: Thunderbird (X11/20060516)

Eli Zaretskii schrieb:
Date: Mon, 05 Feb 2007 11:15:25 +0100
From: Andreas Roehler <address@hidden>

Whereas `emacs-22.0.92' took approximately 10 seconds
with info-lookup to until the prompt "Describe symbol"
was shown, takes up to one minute.

Thank you for your report.

Does the patch below fix it?

(Yet another unnecessary change that created a new bug, sigh...)

Index: lisp/info-look.el
RCS file: /cvsroot/emacs/emacs/lisp/info-look.el,v
retrieving revision 1.54
diff -u -r1.54 info-look.el
--- lisp/info-look.el   21 Jan 2007 03:53:11 -0000      1.54
+++ lisp/info-look.el   10 Feb 2007 11:03:42 -0000
@@ -441,6 +441,7 @@
   (let ((doc-spec (info-lookup->doc-spec topic mode))
        (regexp (concat "^\\(" (info-lookup->regexp topic mode)
                        "\\)\\([ \t].*\\)?$"))
+       Info-fontify-maximum-menu-size
        node trans entry item prefix result doc-found
        (buffer (get-buffer-create " temp-info-look")))
     (with-current-buffer buffer

Ok now with CVS-Emacs, back to ten seconds,

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.

Andreas Roehler


In GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2007-02-11

X server distributor `The X.Org Foundation', version 11.0.60802000
Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: de_DE.UTF-8
 locale-coding-system: utf-8
 default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
 show-paren-mode: t
 tooltip-mode: t
 tool-bar-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 auto-compression-mode: t
 line-number-mode: t
 transient-mark-mode: t

Recent input:
<down-mouse-1> <mouse-1> M-x r e p o r t - e m <tab>

Recent messages:
Loading /usr/local/share/emacs/22.0.93/leim/leim-list.el (source)...done
Loading /home/speck/emacs/leim/leim-list.el (source)...done
Loading /usr/local/share/emacs/site-lisp/egg/leim-list.el (source)...done
Loading /usr/share/emacs/site-lisp/anthy/leim-list.elc...done
Loading /usr/share/emacs/site-lisp/egg/leim-list.el (source)...done
Loading paren...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]