From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#70012: shell-resync-dirs broken on windows Date: Wed, 27 Mar 2024 19:37:00 -0400 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="28978"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70012@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 00:38:25 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 1rpcqe-0007Ij-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 00:38:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpcqK-0001ca-2t; Wed, 27 Mar 2024 19:38:04 -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 1rpcqI-0001c8-EP for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2024 19:38:02 -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 1rpcqI-00019A-5v for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2024 19:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpcqI-00031s-7b for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2024 19:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Mar 2024 23:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 70012-submit@debbugs.gnu.org id=B70012.171158264611419 (code B ref 70012); Wed, 27 Mar 2024 23:38:02 +0000 Original-Received: (at 70012) by debbugs.gnu.org; 27 Mar 2024 23:37:26 +0000 Original-Received: from localhost ([127.0.0.1]:38531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpcpf-0002xe-3g for submit@debbugs.gnu.org; Wed, 27 Mar 2024 19:37:25 -0400 Original-Received: from mail-ot1-f42.google.com ([209.85.210.42]:42353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpcpa-0002wM-Hx for 70012@debbugs.gnu.org; Wed, 27 Mar 2024 19:37:22 -0400 Original-Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6e68a30e6a1so171447a34.1 for <70012@debbugs.gnu.org>; Wed, 27 Mar 2024 16:37:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711582632; x=1712187432; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vwIv6pSzGaEf8jvEqIi1KqOXvIA/2P2GKkPhPnBVcYU=; b=NBm9GOs6LtO83L3cMeJraOreX3+MVgnvJ8+7H75jvOaJr94s1Id138geNNGUU/Nm+T D6+8PT81REqmiMFL0poLYTt2nhV0pJR9lyyUXLCRNkU68yLBuZkAf8Jd/CYCisz4unqy GO0kmhlL2lGEduRG3CRy/8ix+0oHm2jnxXqhc9rdxXCzIX7h66NbZSULcgXWZ5Fqf0Zs SW97MeBNvbPR+2bL1aFOUUDLbn5M07ukfklX/wQtranHPHHo6s3j9dIZp0ul70tXzFQ+ XzQrYN5e12xBcmEZggmsDTzs44nQBvFkj4geqbK0Xh1tDiO0kDhYYrJrs34vtDp0kH7c rOeg== X-Gm-Message-State: AOJu0YzGvCyl7bPY9hrIDFU8GbxBsphs1KlatkAiQbIw1xlPUAOjVA0u sHCFc2ieoEbUBZ5nOEs1IQzUdNVaFaXSLYsiIS/HCHBhwyW0i8bdAjLijqTybONnEdx61kCrqDs hLagobIpuKZnES1dl+uwdZZXdaw== X-Google-Smtp-Source: AGHT+IEEq4zgJAUaKtaXxjZzk6HSS+oYHXAe/8K+4r8QxjH2cSSPdRh4SWcAD/txoYWypj0ae1gZN2xsMlPOveGOu/w= X-Received: by 2002:a05:6830:1e05:b0:6e6:9625:b07c with SMTP id s5-20020a0568301e0500b006e69625b07cmr321527otr.5.1711582632408; Wed, 27 Mar 2024 16:37:12 -0700 (PDT) In-Reply-To: <86v859hr60.fsf@gnu.org> 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:282166 Archived-At: which bash builds are supported on windows? On Tue, 26 Mar 2024 at 12:52, Eli Zaretskii wrote: > > 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. -- Sam Steingold