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


View this message in rfc822 format

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 19390 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#19390: 25.0.50; `package-activate' is too slow
Date: Tue, 16 Dec 2014 22:40:07 -0200
[Message part 1 (text/plain, inline)]
On 16 Dec 2014 21:55, "Stefan Monnier" <monnier <at> iro.umontreal.ca> wrote:
>
> >> Do you remember the scenario where you saw that?  Normally, the
> >> load-history contains the file names using the directory names that
> >> appear in load-path, so while they're not "canonical",
> > Actually, it seems to me that load-history does contain canonical names.
> > At least, when the file being loaded is a symlink, the resulting record
in
> > load-history contains the path of the file it points to.  Same for a
real
> > file in a symlinked dir.
>
> Hmm... OK, then that would explain why he needed to use file-truename.

Actually, this means I may have overused file-truename. If load-history
already stores canonical names, then we only need to call truename on the
return value of find library, not on the elements of load-history.

If nobody else checks, I'll check tomorrow when I get a chance.
[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.