Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 70012) by debbugs.gnu.org; 26 Mar 2024 16:52:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 12:52:24 2024 Received: from localhost ([127.0.0.1]:34796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpA2C-0005eq-8Z for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 12:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rpA2A-0005eD-BQ; Tue, 26 Mar 2024 12:52:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rpA24-0001RW-SY; Tue, 26 Mar 2024 12:52:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=75ljAGkjPEIIGHJmUgwONL8MNoOsY1y6l2D70B6A5dQ=; b=OVSDoFFIbAb+ 8DqSM1Cc0eRemp/lcKzZ4ZVkSegjiqO79QOhsy0uVYCfM8AO3I+23j1DSZa9VWdmD/mxGkIAYtW1w 7lv1K+FGSKFVPWwkluT214A4QGChicnAPXQzdNZCsNJ+UPpg//VVw75qutLgWz5WvM//rGr3cHHOn IFSBpqXBTnQHjfDzKZsKk3ij76XbPVc00JMxThG50iAVM/sgO9GyK6OPKV0jDRP54pko1W6ljJ+2a z/8VSWwk5UKyl798aqMBWF8wBFF/Y+xOBx35Ws7vREIQ3NlWPWE8sH+eX+WfZYxedxmh2rFXO59cw PaDGxCd4HKSdaRurmqHgvw==; Date: Tue, 26 Mar 2024 18:52:07 +0200 Message-Id: <86v859hr60.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Sam Steingold <sds@HIDDEN> In-Reply-To: <CAFsbZ7aUawc=7wy5G0Hiv_1mx4w8m9Tiyx3Ozk8jmmUGNSPGaA@HIDDEN> (message from Sam Steingold on Tue, 26 Mar 2024 12:25:13 -0400) Subject: Re: bug#70012: shell-resync-dirs broken on windows References: <CAFsbZ7aUawc=7wy5G0Hiv_1mx4w8m9Tiyx3Ozk8jmmUGNSPGaA@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70012 Cc: 70012 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 70012 notabug wontfix thanks > From: Sam Steingold <sds@HIDDEN> > 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.
bug-gnu-emacs@HIDDEN
:bug#70012
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 26 Mar 2024 16:25:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 12:25:38 2024 Received: from localhost ([127.0.0.1]:34770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rp9cI-0004V8-KE for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 12:25:38 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sam.steingold@HIDDEN>) id 1rp9cE-0004UP-HL for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 12:25:37 -0400 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 <sam.steingold@HIDDEN>) id 1rp9c8-0000EL-Uk for bug-gnu-emacs@HIDDEN; Tue, 26 Mar 2024 12:25:28 -0400 Received: from mail-oo1-f49.google.com ([209.85.161.49]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <sam.steingold@HIDDEN>) id 1rp9c7-0003C2-Mo for bug-gnu-emacs@HIDDEN; Tue, 26 Mar 2024 12:25:28 -0400 Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-5a470320194so2985060eaf.3 for <bug-gnu-emacs@HIDDEN>; Tue, 26 Mar 2024 09:25:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711470326; x=1712075126; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lovqG3TbV9JPMens8eUNjJ+ouJtOvZp6dtqs/S7qkYM=; b=pVgVCfAQG2pdguh6KCIMFev2buPaOg6cb21rj/V6GR787jbU7a9emKmzb6+9YRkxbN ue7vPzwtGr6897x+RoIxHgTYpM1x1QMPyMc/56wTIYOfl5JW5zaoZ2UicFVA5FIH7Pz2 3WaYfZIrbwYCiDvza1mtgvi8YWS0CtPOsFbt+Fc1iZdAVJv+iO3t/R/Ua+388bbb8ux8 ZNxrkhiRoORgzekCUcz8YbVTgjHIlVlS4A/gCXxdzTVgy2JweXvamXgG/HoPb38vx8Jk IsXhTV8t0Wp3S/Z++cwnwJ2YExcY8mIy5Iwb6Yypvw7779l1XceULLpxiZsQl4YRe3nT IcqA== X-Gm-Message-State: AOJu0YznqQJZqx1+re1XsjRK6T4zaR2kFaPxmi+OC+kZ2h/tSOWffQ33 SE4MuY1LIqX90TviVEBo4qVf6y/qL1dGUN1oSyxGIxN+ikUSXAUvaslyDxJHMshRP5SmuN47w8I pi8wYaZaL1nkeNXsk/sutVDyDxz7qYn8= X-Google-Smtp-Source: AGHT+IFf+ZaKBZg7j4cSQB3gZ7XSpQTRFrURiFUAsEYxoCBnTPL13l/lC9hvpPumwsdwhg2MBlUs5PSfw3fTJGB2X/0= X-Received: by 2002:a05:6820:1b13:b0:5a4:71b3:d090 with SMTP id bv19-20020a0568201b1300b005a471b3d090mr10348503oob.5.1711470325884; Tue, 26 Mar 2024 09:25:25 -0700 (PDT) MIME-Version: 1.0 From: Sam Steingold <sds@HIDDEN> Date: Tue, 26 Mar 2024 12:25:13 -0400 Message-ID: <CAFsbZ7aUawc=7wy5G0Hiv_1mx4w8m9Tiyx3Ozk8jmmUGNSPGaA@HIDDEN> Subject: shell-resync-dirs broken on windows To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="000000000000d16d16061492bc7d" Received-SPF: pass client-ip=209.85.161.49; envelope-from=sam.steingold@HIDDEN; helo=mail-oo1-f49.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 inf [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sam.steingold[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) --000000000000d16d16061492bc7d Content-Type: text/plain; charset="UTF-8" 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. --000000000000d16d16061492bc7d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Windows emacs 29.2<div dir=3D"auto">Msys2 bash dirs retur= ns something like "/c/foo" for "c:/foo" and (file-direc= tory-p "/c/foo") returns nil even though "c:/foo" is a = directory.</div><div dir=3D"auto">Thus=C2=A0shell-resync-dirs goes into an = infinite loop.</div></div> --000000000000d16d16061492bc7d--
Sam Steingold <sds@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#70012
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.