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: Lin Sun <sunlin7 <at> hotmail.com>
To: 78306 <at> debbugs.gnu.org
Subject: bug#78306: [PATCH] Skip the non-exists path when loading a file on Windows
Date: Thu, 8 May 2025 00:19:24 +0000
[Message part 1 (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 2 (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 22 days ago.

Previous Next


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