From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#70012: shell-resync-dirs broken on windows Date: Fri, 4 Oct 2024 18:19:44 -0700 Message-ID: References: <86v859hr60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9875"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Sam Steingold , 70012-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 05 03:21:23 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 1swtU2-0002IW-SP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Oct 2024 03:21:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swtTg-0002iS-GX; Fri, 04 Oct 2024 21:21:00 -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 1swtTf-0002iD-B1 for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 21:20:59 -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 1swtTe-0005pw-Rk for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 21:20:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=Jtzhz5IE52JGxiZ9gDcnTf9/zhlVAxXyS7YQuxcOVyw=; b=UxG9DFbCZlTB37LhifuED08MiN4WkWsNQp7E6XmKZnvD8vvnFfYBg+hkTkLmjRtU5Xh8i7AmwZb/bA6x9No5i6OobE4uLOH6uNfLCw+TVCepXjFIa0pUXVEJGdc2VvSZWdlEQtnxSLljMsYwrmGVG5CLxyFJd/Ms+XW8iSax4Z2W/0FlSfnLB+ROrgaUArL5GK7MpZ2HWU9Wpq5KdsMoJIEYxeJu4yqgUCPuhTRmS52D1XE3EAn699knIBS9Yz2FOtGxD9qCtf4CS0ccAWtRWvcV4YTQ337272mOoFiEPf4UcW6kfn47B/SZdolusIkQV7tbNb9FgMHj+oIenujNOA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swtTi-0001zF-MI for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 21:21:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 01:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Mail-Followup-To: 70012@debbugs.gnu.org, stefankangas@gmail.com, sds@gnu.org Original-Received: via spool by 70012-done@debbugs.gnu.org id=D70012.17280912567613 (code D ref 70012); Sat, 05 Oct 2024 01:21:02 +0000 Original-Received: (at 70012-done) by debbugs.gnu.org; 5 Oct 2024 01:20:56 +0000 Original-Received: from localhost ([127.0.0.1]:36982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swtTc-0001yi-Cg for submit@debbugs.gnu.org; Fri, 04 Oct 2024 21:20:56 -0400 Original-Received: from mail-ed1-f47.google.com ([209.85.208.47]:56750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swtTa-0001yT-B8 for 70012-done@debbugs.gnu.org; Fri, 04 Oct 2024 21:20:54 -0400 Original-Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5c5bca6603aso3234598a12.1 for <70012-done@debbugs.gnu.org>; Fri, 04 Oct 2024 18:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728091185; x=1728695985; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=Jtzhz5IE52JGxiZ9gDcnTf9/zhlVAxXyS7YQuxcOVyw=; b=NaR6A21Knhemackz4DcyR1BGRIYwiGggbdtZ10WdSs/aiSwafPZmONdhUZ6tQQKHMb m1XBgHaPun1fhrdFFZj5EJCWLVOiq4TXXhwGuU2gvba9jnWnYLBiJBs/Zq56dYY2k1DF gfyj7wRCBMk3q7QzMBY/2W2qWmX2lBmqkAeRyJY0GounIFHNC+GuRJ4JY3WQsRReFA5o MFHclBMghskvlaDpe1O+yXqsu7R0Uf86c+JvMXavvpKufZ1eFuiFCEXJmnQYYMUx2gHI 0uavCdUJGAaqQlQJ3HcGW7Yl0CwZdqSKUb6c9424WWvoQ2zn/OFKngux3NevkQ8JPnaI Tm4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728091185; x=1728695985; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jtzhz5IE52JGxiZ9gDcnTf9/zhlVAxXyS7YQuxcOVyw=; b=q3qYsrSvw9YD6kOQVhZgLd/z8kw7jwn2MjBXgxwZUNTdnYB7/bspoZcW6mNsfsKFui aXU1C+ONNHtSf5GySkgEWI50L9cfQQigJLXhYbx2ysrSAbV5+bkTzcLqcHWEp/72zWSv o19TAgsHwx+MrTqUivNKvNxgRHMi8XnnPvFxXT5/C6vch6nDilnxRo1f7AivI79k+NaK UbI3MSw6oEM3MaKmLHoWyAK8Cn1ifG4JjtwDjjrdmwY3cIQ0HoENGbiVRgRJ5TkrxvxD TQghUSdj+K3HQ3Cgnvk+P6Olv40v5ZGgdjUV2bwWJAEJf3AMemUaezO63DKHSyi0RP4a P2tg== X-Forwarded-Encrypted: i=1; AJvYcCVgdhmqmE8hHMhexyzxHRGBkKUeDci5KYHTasxHMuLk9/nYMXDC9paPWchrWRr9h5l3qkz6kLLyI+8b@debbugs.gnu.org X-Gm-Message-State: AOJu0YzcoBjhA66VY00nbHX7g1b3s2eB9lIFvsA8Y3AxfsHStmyg+aOz Zfv7TpRmMHf+JAc+f5qrYKAfLygCqDvO6sL4SWvlp72Wm+eA+y/mMvJEESiwU+VFaOtlb2p/JXM CyKaLs5xcbXm2vD5Gw9kVJO1Fqpw= X-Google-Smtp-Source: AGHT+IHTX7Sq6eg0Q/1PlT+MNosCGxfVSj9KQ7XjUsQ+vqC+nCP4nxj/f9lyhapymAvUJCh2iLqDmYrq087S07DKkTo= X-Received: by 2002:a05:6402:40cf:b0:5c5:c059:63c6 with SMTP id 4fb4d7f45d1cf-5c8d2dfb647mr3344785a12.2.1728091184672; Fri, 04 Oct 2024 18:19:44 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 4 Oct 2024 18:19:44 -0700 In-Reply-To: <86v859hr60.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 26 Mar 2024 18:52:07 +0200") 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:292992 Archived-At: Eli Zaretskii writes: > tags 70012 notabug wontfix > thanks > >> From: Sam Steingold >> 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.