GNU bug report logs - #70012
shell-resync-dirs broken on windows

Previous Next

Package: emacs;

Reported by: Sam Steingold <sds <at> gnu.org>

Date: Tue, 26 Mar 2024 16:26:02 UTC

Severity: normal

Tags: notabug, wontfix

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70012: closed (shell-resync-dirs broken on windows)
Date: Sat, 05 Oct 2024 01:21:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 4 Oct 2024 18:19:44 -0700
with message-id <CADwFkm=f8-2Dpv_T9DZ9gN2J+XdJ5tB3Ln0_HzE56q9L=31DYg <at> mail.gmail.com>
and subject line Re: bug#70012: shell-resync-dirs broken on windows
has caused the debbugs.gnu.org bug report #70012,
regarding shell-resync-dirs broken on windows
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70012: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70012
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sam Steingold <sds <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: shell-resync-dirs broken on windows
Date: Tue, 26 Mar 2024 12:25:13 -0400
[Message part 3 (text/plain, inline)]
Windows emacs 29.2
Msys2 bash dirs returns something like "/c/foo" for "c:/foo" and
(file-directory-p "/c/foo") returns nil even though "c:/foo" is a directory.
Thus shell-resync-dirs goes into an infinite loop.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Sam Steingold <sds <at> gnu.org>, 70012-done <at> debbugs.gnu.org
Subject: Re: bug#70012: shell-resync-dirs broken on windows
Date: Fri, 4 Oct 2024 18:19:44 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> tags 70012 notabug wontfix
> thanks
>
>> From: Sam Steingold <sds <at> gnu.org>
>> Date: Tue, 26 Mar 2024 12:25:13 -0400
>>
>> Windows emacs 29.2
>> Msys2 bash dirs returns something like "/c/foo" for "c:/foo" and (file-directory-p "/c/foo") returns nil even
>> though "c:/foo" is a directory.
>> Thus shell-resync-dirs goes into an infinite loop.
>
> Sorry, the native Windows build of Emacs is not supposed to support
> MSYS- or Cygwin-specific magic in file names.  We cannot support that
> without significant complications in the low-level code, and even if
> that code can be made to work, users are not supposed to give up
> top-level directories named /x (where 'x' is a letter).
>
> If you want these names supported, try the Cygwin or Cygw32 build
> instead (but I'm not sure even those builds support /c/foo/bar file
> names).
>
> This is not a bug, and we should not even try fixing it.  IOW, using
> MSYS Bash in shell buffers is not supported in the MS-Windows build.

I'm therefore closing this bug report.


This bug report was last modified 231 days ago.

Previous Next


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