GNU bug report logs -
#13366
24.3.50; emacs 24 slow-down
Previous Next
Reported by: "T. V. Raman" <tv.raman.tv <at> gmail.com>
Date: Sun, 6 Jan 2013 02:41:01 UTC
Severity: normal
Tags: moreinfo
Merged with 13240
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 13366 <at> debbugs.gnu.org (full text, mbox):
> I've been noticing sporadic but painful slow-downs in emacs 24
> tip-of-tree -- but it's hard to pin down.
I've installed the patch below, which should help.
Stefan
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog 2013-02-02 08:41:02 +0000
+++ lisp/ChangeLog 2013-02-03 15:28:10 +0000
@@ -1,3 +1,8 @@
+2013-02-03 Stefan Monnier <monnier <at> iro.umontreal.ca>
+
+ * subr.el (internal--called-interactively-p--get-frame): Avoid filling
+ current-load-list (bug#13366).
+
2013-02-02 Christopher Schmidt <christopher <at> ch.ristopher.com>
* progmodes/compile.el (compilation-error-regexp-alist-alist):
=== modified file 'lisp/subr.el'
--- lisp/subr.el 2013-01-13 01:23:48 +0000
+++ lisp/subr.el 2013-02-03 15:25:47 +0000
@@ -3976,12 +3976,14 @@
;; "static" variables.
(let ((sym (make-symbol "base-index")))
`(progn
- (defvar ,sym
+ (defvar ,sym)
+ (unless (boundp ',sym)
(let ((i 1))
+ (message "Computing base-index")
(while (not (eq (indirect-function (nth 1 (backtrace-frame i)) t)
(indirect-function 'called-interactively-p)))
(setq i (1+ i)))
- i))
+ (setq ,sym i)))
;; (unless (eq (nth 1 (backtrace-frame ,sym)) 'called-interactively-p)
;; (error "called-interactively-p: %s is out-of-sync!" ,sym))
(backtrace-frame (+ ,sym ,n)))))
This bug report was last modified 12 years and 97 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.