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#71762: `(project-files (project-current))` with `project-vc-extra-root-markers` doesn't work on Windows. Date: Sat, 29 Jun 2024 23:09:12 -0700 Message-ID: References: <86wmmd9onm.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="23994"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71762-done@debbugs.gnu.org, Siyuan Chen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 30 08:11:48 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 1sNnmt-00063p-U2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jun 2024 08:11:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNnmD-00057z-Dk; Sun, 30 Jun 2024 02:11:05 -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 1sNnmC-00056x-2r for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 02:11:04 -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 1sNnmB-0003ao-Pi for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 02:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNnmB-0002aJ-EL for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 02:11:03 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2024 06:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71762 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 71762@debbugs.gnu.org, stefankangas@gmail.com, chansey97@gmail.com Original-Received: via spool by 71762-done@debbugs.gnu.org id=D71762.17197278219819 (code D ref 71762); Sun, 30 Jun 2024 06:11:03 +0000 Original-Received: (at 71762-done) by debbugs.gnu.org; 30 Jun 2024 06:10:21 +0000 Original-Received: from localhost ([127.0.0.1]:54668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNnlV-0002YJ-2x for submit@debbugs.gnu.org; Sun, 30 Jun 2024 02:10:21 -0400 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:57471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNnlS-0002Y3-CU for 71762-done@debbugs.gnu.org; Sun, 30 Jun 2024 02:10:18 -0400 Original-Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-57d07464aa9so2136713a12.2 for <71762-done@debbugs.gnu.org>; Sat, 29 Jun 2024 23:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719727753; x=1720332553; 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=uGeoSnPwlTczQGW3TtKPO2gvOQ95suFz8S8y6NO36Kk=; b=Q+4H/WtD3oIe4iFr5z7cxg5wbVZTg/463J/rJJXSz8YZx72YIAgUwyJbJLa1DXU1GJ qJ51Rqh5mHeQvM8eEIteOdq3RhIbz9+c4Ig8PtRTRKQ+vEdpwMyhogwJgB1RY3jeLbvQ 2sBBwzra+1z/IFLYgScspplPDT76gB3MASYQXiWwu/W7+4lzEVTy17f+rgEcbwJDGRbB FF5E1CKWZy8UCquaGMfu+h2hcztE8dKy7dYnoI42QJ/M6SzgSbZNtvixN3ZygSfWeRex pT5eRxILL0OPle3XsY0Citw7ECDq9vWKjdNSdyoHR+f3TuVFxghWvK5g+nPb+GPbV5mr e7mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719727753; x=1720332553; 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=uGeoSnPwlTczQGW3TtKPO2gvOQ95suFz8S8y6NO36Kk=; b=t9oHfhdWQxGR4EnBXHZTLWs6gxTEITp61xG/fIONy7jS8B7fJkK0OuVV71R7ejcDFe xz/snSdSiDfio1elt02GhUzU4X9ufULvFbbHPOxypN07j7Sfd0u0tqZFNMGKrm454xYq x/UnuiM75/RR9DSfu2AUctjaWN6ekyp2HCP95x2iABq2511qjoPPh30a7CE0oZVZ0KfQ zO/0ADUx0pGp+M/yFjKnvzTH1H3Zn46gjcqKI73BctgPfBwoK3V58W3IEbi/Mn/OsIT7 F1VEX0HTThsrhTZaLK7k2ljjKV9tK78RBzpItcQLSLPuOEAeQDbsbUCyJSRXB2yQsyZO magw== X-Forwarded-Encrypted: i=1; AJvYcCXOwZAlzOmFmgiX4gpT2z9lnTRxOCdWf23ghh9psER5H00Z1GcT96g+behXaHWDRIXrHGnJQdAgfPsSN2NKvVKMy01SQ4Pkm5wafg== X-Gm-Message-State: AOJu0YzxlYC0blSInkD2ZKU/gYCnHI7QLEoaAOGozFGyT8A4qvU8nS/K AKe3qA0V0ZOFXHgj47ewRFEyZogFUIjld99bZTWrT75Kq6dUnbYLu924/IPQupsAYThUG0TVcpC 7KnEnlDjvKPnn9NWVjBbOySQacMs= X-Google-Smtp-Source: AGHT+IG343JUzDr6qFCjBEp5QEnBNTFbelz9CzXVsMwY4DNol9pXpEQMDkChSsm3/Mgfm3nuiKRyGciOjSlC6iuPYl8= X-Received: by 2002:a05:6402:2554:b0:578:67db:7529 with SMTP id 4fb4d7f45d1cf-5879eaff6e9mr1759134a12.4.1719727752819; Sat, 29 Jun 2024 23:09:12 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 29 Jun 2024 23:09:12 -0700 In-Reply-To: <86wmmd9onm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Jun 2024 15:45:33 +0300") 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:288165 Archived-At: Eli Zaretskii writes: > tags 71762 notabug > thanks > >> From: Siyuan Chen >> Date: Tue, 25 Jun 2024 08:04:48 +0800 >> >> Anyway, setting `(setq find-program (purecopy "C:/msys64/usr/bin/find.exe"))` makes the above example work >> at the moment. > > That's one possible solution. Another is to rearrange your system's > PATH so that the directory C:\msys64\usr\bin comes _before_ the > C:\WINDOWS\system32, where you have the stock Windows find.exe (which > is a program for a completely different purpose and with completely > different command-line syntax). > > Byw, the "msys64" part of the directory where you have find.exe seems > to hint that it is an MSYS port, not a native Windows/MinGW port. If > that is indeed so, my recommendation is to install a native find.exe > and use that instead, as MSYS ports could have subtle > incompatibilities with a native Windows Emacs. > >> Perhaps all NTEmacs users should set the 3 options: grep-program, find-program, xargs-program. > > These variables already exist, so I'm not sure what you are suggesting > here. > > In general, the only "problematic" program is find.exe, because > Windows comes only with that. The other two programs must be > installed, and so there's no danger of Emacs invoking the wrong one. > > I see no Emacs bug here, just an issue of configuring your system > and/or Emacs correctly. I'm therefore closing this bug report.