From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41646: Startup in Windows is very slow when load-path contains many Date: Sun, 13 Oct 2024 18:56:01 +0300 Message-ID: <86cyk4t2su.fsf@gnu.org> References: <86jzedy84g.fsf@gnu.org> <86r08luqsq.fsf@gnu.org> <86frp1unvu.fsf@gnu.org> <86y12stv24.fsf@gnu.org> <86set0th9d.fsf@gnu.org> <86iktwt49w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, 41646@debbugs.gnu.org, stefankangas@gmail.com, monnier@gnu.org To: Lin Sun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 13 17:57:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t00xu-0001mR-NJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Oct 2024 17:57:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t00xe-0004Yr-Gp; Sun, 13 Oct 2024 11:56:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t00xa-0004YT-F7 for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2024 11:56:46 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t00xa-00034Y-79 for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2024 11:56:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=pt2qnbbVIa9s62VMAgAYOfXEyTq4SWNSx0jAf7bwMBE=; b=uRqpnVGwX2vr0/cTWhcZJSlG2PUPic59kVhhnTBVk5tkWyXA+52zl/10fgdwLLP+w/imvpdMzksX9D9oJKDmxPTCwiDnAH7YNS409BaHTMAeOnbRhSIaEHU/IYMEFoWGqrUsQ55goO8By/TusEXV2XEnx4ttSYJIBqhrsyQaezcd9YTyLI/nKgs+FcQ8jNps8iaizoxT0sbRPK5y+RnPt2ILLTTrkkLdRlCkPG+3c6QBkMcBjdNtos4h93ZDmda2GBTEEhYRnRwAi6ntIRehK7bYmYg7BsgrQFDxNxPuzE1v7ybREdUekGHo89epCPr4jZ5CM5THkU62Is6MpMJy1Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t00xp-0002Qr-Jx for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2024 11:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Oct 2024 15:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed Original-Received: via spool by 41646-submit@debbugs.gnu.org id=B41646.17288350149336 (code B ref 41646); Sun, 13 Oct 2024 15:57:01 +0000 Original-Received: (at 41646) by debbugs.gnu.org; 13 Oct 2024 15:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:52165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t00xi-0002QW-53 for submit@debbugs.gnu.org; Sun, 13 Oct 2024 11:56:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t00xf-0002QH-8c for 41646@debbugs.gnu.org; Sun, 13 Oct 2024 11:56:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t00xJ-00033v-IP; Sun, 13 Oct 2024 11:56:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=pt2qnbbVIa9s62VMAgAYOfXEyTq4SWNSx0jAf7bwMBE=; b=PEIjZEKIBKwCBpwVUG9U Uc4pv0hcNS/Tsza7VEfpogSmJ84obWaST/f3boPfMkcZuy1ySZJoIhuSKvgUZk2fjhl9kArKnoHL4 YqG5jFKKub0fAhV+m/T3UWKjei8r6yLlCShiTcXbgUHBX4F2NQtb1OPcjcXxAf5MTxyAW3mZrC13W XgEIlTgI1HRj6ZwJ4EhSJBpnpbiSJpBwZ6Lrgn0abQUQJcGLdzjrd7n821ZWhPbikiQn/grbGJIfI 8TOIuQhIa7YhTrBVK6nZpBg8XCVJpgL2juaC8VO+Q7loSEeo6infm0DjN2NdeL/4nHq+QMcaSCdeq bUeVZOmqfSFgog==; In-Reply-To: (message from Lin Sun on Sun, 13 Oct 2024 15:43:39 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293534 Archived-At: > From: Lin Sun > Date: Sun, 13 Oct 2024 15:43:39 +0000 > Cc: stefankangas@gmail.com, acorallo@gnu.org, 41646@debbugs.gnu.org, > monnier@gnu.org > > On Sun, Oct 13, 2024 at 3:24 PM Eli Zaretskii wrote: > > > > Is it possible to extend filecache.el to cover this use case as well? > > For example, by adding to filecache.el the ability to save the cache, > > and perhaps also the ability to collect the cached files by hooking > > into 'load'? > It's doable but I'm not sure how to maintain the feature-->filepath > maps to cover both file system changes and user preferred exec-path > order, or if it could break the user experience? Sorry, I don't understand: what does exec-path have to do with this? I thought this was about speeding up loading of Lisp files at startup?