GNU bug report logs - #78306
[PATCH] Skip the non-exists path when loading a file on Windows

Previous Next

Package: emacs;

Reported by: Lin Sun <sunlin7 <at> hotmail.com>

Date: Thu, 8 May 2025 00:25:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lin Sun <sunlin7 <at> hotmail.com>
Subject: bug#78306: closed (Re: bug#78306: [PATCH] Skip the non-exists
 path when loading a file on Windows)
Date: Sat, 24 May 2025 13:09:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78306: [PATCH] Skip the non-exists path when loading a file on Windows

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78306 <at> debbugs.gnu.org.

-- 
78306: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78306
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Lin Sun <sunlin7 <at> hotmail.com>
Cc: michael_heerdegen <at> web.de, monnier <at> iro.umontreal.ca,
 78306-done <at> debbugs.gnu.org
Subject: Re: bug#78306: [PATCH] Skip the non-exists path when loading a file
 on Windows
Date: Sat, 24 May 2025 16:08:25 +0300
> Date: Sat, 24 May 2025 05:25:27 -0700
> From: Lin Sun <sunlin7 <at> hotmail.com>
> Cc: monnier <at> iro.umontreal.ca, michael_heerdegen <at> web.de,
>  78306 <at> debbugs.gnu.org
> 
> On May 24, 2025 1:46 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>  Any progress with this?  Should we close this bug? 
> 
> One non-existing dir will be used during boot startup, no harmful there; and on my local, several non-existing
> dirs were added into load path by an external package management, I created a PR for it.
> 
> Please feel free to close this ticket, thank you.

Thanks, done.

[Message part 3 (message/rfc822, inline)]
From: Lin Sun <sunlin7 <at> hotmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Skip the non-exists path when loading a file on Windows
Date: Thu, 8 May 2025 00:19:24 +0000
[Message part 4 (text/plain, inline)]
Emacs will searching file with a suffix even the dir is not exists.
For example, (add-to-list 'load-path "/path-not-exists"), then (require 'debug) will lead searching the debug.dll/debug.elc/debug.el under the "/path-not-exists" on windows.

This patch will distinguish the non-exists-dir to skip the unnecessary file operations.
[Message part 5 (text/html, inline)]
[0001-Skip-the-non-exists-path-when-loading-a-file-on-Wind.patch (text/x-patch, attachment)]

This bug report was last modified 21 days ago.

Previous Next


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