GNU bug report logs - #19390
25.0.50; `package-activate' is too slow

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Mon, 15 Dec 2014 17:36:01 UTC

Severity: normal

Found in version 25.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 19390 <at> debbugs.gnu.org (full text, mbox):

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 19390 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#19390: 25.0.50; `package-activate' is too slow
Date: Wed, 17 Dec 2014 08:47:57 -0200
[Message part 1 (text/plain, inline)]
On 17 Dec 2014 00:41, "Dmitry Gutov" <dgutov <at> yandex.ru> wrote:
> +  (let* ((old-dir-re (concat "\\`"
> +                             (regexp-quote (file-truename
package-user-dir))
> +                             "/" (regexp-quote (symbol-name name))))
> +         (filtered-history (cl-loop for entry in load-history
> +                                    for file = (car entry)
> +                                    when (string-match-p old-dir-re file)
> +                                    collect (file-name-sans-extension
file)))

This will fail if the previously loaded version wasn't installed in the
package-user-dir,  which, again, is the case for built-in packages. This
also includes manually installed packages, which we may or may not care
about supporting.
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.