From: Stefan Monnier <monnier@iro.umontreal.ca>
To: raman <tv.raman.tv@gmail.com>
Cc: 13366@debbugs.gnu.org
Subject: bug#13366: 24.3.50; emacs 24 slow-down
Date: Sun, 03 Feb 2013 10:30:19 -0500 [thread overview]
Message-ID: <jwva9rlmn55.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87txqv3uhn.fsf@gmail.com> (raman's message of "Sat, 05 Jan 2013 18:39:32 -0800")
> 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@iro.umontreal.ca>
+
+ * subr.el (internal--called-interactively-p--get-frame): Avoid filling
+ current-load-list (bug#13366).
+
2013-02-02 Christopher Schmidt <christopher@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)))))
next prev parent reply other threads:[~2013-02-03 15:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-06 2:39 bug#13366: 24.3.50; emacs 24 slow-down raman
2013-02-03 15:30 ` Stefan Monnier [this message]
2013-02-06 14:27 ` Stefan Monnier
2013-02-06 15:25 ` T. V. Raman
2013-02-06 15:58 ` Stefan Monnier
[not found] ` <CADkJX2j6+ZDpN=GSoUJS6SCEh4OGO13YOR-EsUJPVrzpW2xKag@mail.gmail.com>
2013-02-17 4:19 ` Stefan Monnier
2013-02-17 16:29 ` T. V. Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwva9rlmn55.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=13366@debbugs.gnu.org \
--cc=tv.raman.tv@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.