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: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78306: closed ([PATCH] Skip the non-exists path when loading
 a file on Windows)
Date: Sat, 24 May 2025 13:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 24 May 2025 16:08:25 +0300
with message-id <861pse17hy.fsf <at> gnu.org>
and subject line Re: bug#78306: [PATCH] Skip the non-exists path when loading a file on Windows
has caused the debbugs.gnu.org bug report #78306,
regarding [PATCH] Skip the non-exists path when loading a file on Windows
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[0001-Skip-the-non-exists-path-when-loading-a-file-on-Wind.patch (text/x-patch, attachment)]
[Message part 6 (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.


This bug report was last modified 22 days ago.

Previous Next


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