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 19:39:28 +0300 Message-ID: <86a5f8t0sf.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> <86cyk4t2su.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="3514"; 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 18:40:01 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 1t01dQ-0000fQ-6t for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Oct 2024 18:40:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t01dE-0000Bo-Kz; Sun, 13 Oct 2024 12:39:49 -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 1t01dC-0000BO-J1 for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2024 12:39: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 1t01dC-0006vi-8W for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2024 12:39: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=e25Z2HhVtVdbIjAXeW+7V+EvQC3MLF2XTX4S0fBC6zI=; b=qUTawpKHEFi17FARlTX4qE57R2q6a50MozWMKQ968J6G8blXqQeC5qF120cFMHi+Mzz8JXX5lLi3fXLZIsLyJq3yh6n9qtM3m3HG9dDgPgqKUxTvRsQihk9F80b0qiHzm96TNLa0JIA+x8v9mAdxH6RZ4F+Px0x9M7kj8j59HGip04TopuzobDdo8DT25HKi3KPkIBms+9b0Xn6h/kTlG84Kmd/80u+FQchrcesrBj1kgXzhv6hUBa9G0RNwX1hTEoc2hjU/dMoX5eptyX0Mx2WUQ4lFpyNsAe11r5Vhnkz8sGCzkkBMIM/Cp3NHMlzNjVKe+pCScGZmSD4xAwiAqw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t01dR-0004YI-Ko for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2024 12:40: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 16:40: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.172883760017485 (code B ref 41646); Sun, 13 Oct 2024 16:40:01 +0000 Original-Received: (at 41646) by debbugs.gnu.org; 13 Oct 2024 16:40:00 +0000 Original-Received: from localhost ([127.0.0.1]:52223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t01dP-0004Xx-JP for submit@debbugs.gnu.org; Sun, 13 Oct 2024 12:39:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t01dK-0004Xi-UW for 41646@debbugs.gnu.org; Sun, 13 Oct 2024 12:39:57 -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 1t01cy-0006tK-GO; Sun, 13 Oct 2024 12:39:33 -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=e25Z2HhVtVdbIjAXeW+7V+EvQC3MLF2XTX4S0fBC6zI=; b=rbiOu3iFJ3dhG+76sMZI F8cYk3nSJDQsE5l/eZfhaFXjneu9uF2xZu560Rq/0TaLf4yI6509sMPEAXvPQ6ok6Jju5giPQ/7Fk 8ZT9hGrcZnSMISS9haaAPQaYYsZNs+Sb9sDS2LTMfY8SwVI7JTZ3QFrtCKzrL0Mtwct/vlXMrDUTI JHoR/IiyUy6r1Eda59z/mD+OEfh+riJfy9fmvX5WezNd4ar12kDC3xvH6yXRgMZD4CJZqgGRIIzBL ztDlexKvW7lt74Cq35qj8KFzeoAkiZU5Q060qERC/JgUXqs8gcbBCRK9MtCZcspnjQihc4LO6r1EY R+Ypm00Lk14q3g==; In-Reply-To: (message from Lin Sun on Sun, 13 Oct 2024 16:03:16 +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:293540 Archived-At: > From: Lin Sun > Date: Sun, 13 Oct 2024 16:03:16 +0000 > Cc: stefankangas@gmail.com, acorallo@gnu.org, 41646@debbugs.gnu.org, > monnier@gnu.org > > On Sun, Oct 13, 2024 at 3:56 PM Eli Zaretskii wrote: > > > > > From: Lin Sun > > > > > > 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? > Sorry I mean the `load-path' (not the exec-path), my typo. Thanks OK, but please elaborate on the difficulty, because I don't think I understand it.