GNU bug report logs - #5845
load-library vs. list-load-path-shadows

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 6 Apr 2010 13:37:02 UTC

Severity: normal

Tags: fixed

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 5845 <at> debbugs.gnu.org
Subject: Re: bug#5845: load-library vs. list-load-path-shadows
Date: Tue, 16 Jan 2018 16:32:11 -0500
[Message part 1 (text/plain, inline)]
On Tue, Jan 16, 2018 at 12:25 PM, Ken Brown <kbrown <at> cornell.edu> wrote:
> On 1/16/2018 10:54 AM, Noam Postavsky wrote:
>>
>> Should we just use case-insensitive compare for `windows-nt' systems?
>> The idea of using "the same heuristics" as `load' sounds nice, but as
>> far as I can tell, `load' just queries the file system directly. Doing
>> the same in `load-path-shadow-find' is far too slow (raises execution
>> time from 0.38s to 5.64s, and that's without any packages adding to
>> the load-path).
>
>
> Would it help to use file-name-case-insensitive-p?

Ah, good point. How about the attached?
[v2-0001-Handle-case-insensitive-filenames-for-load-path-s.patch (application/octet-stream, attachment)]

This bug report was last modified 7 years and 180 days ago.

Previous Next


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