From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#36270: executable-find does not find shell commands on MSYS2 Date: Wed, 19 Jun 2019 21:20:30 +0200 Message-ID: References: <2lef3rrbaa.fsf@fencepost.gnu.org> <83r27qsuox.fsf@gnu.org> <83o92tr1b2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="173973"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36270@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 21:24:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdgBs-000j98-Bb for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 21:24:16 +0200 Original-Received: from localhost ([::1]:41288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgBr-0002gD-7w for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 15:24:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48861) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdg9l-000128-8C for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdg9k-0000OW-1R for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:22:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdg9i-0000JS-3v for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdg9h-000833-Rz for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jun 2019 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36270 X-GNU-PR-Package: emacs Original-Received: via spool by 36270-submit@debbugs.gnu.org id=B36270.156097207530882 (code B ref 36270); Wed, 19 Jun 2019 19:22:01 +0000 Original-Received: (at 36270) by debbugs.gnu.org; 19 Jun 2019 19:21:15 +0000 Original-Received: from localhost ([127.0.0.1]:47430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdg8w-000822-Nv for submit@debbugs.gnu.org; Wed, 19 Jun 2019 15:21:14 -0400 Original-Received: from mail-qt1-f170.google.com ([209.85.160.170]:42712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdg8v-00081o-Tj for 36270@debbugs.gnu.org; Wed, 19 Jun 2019 15:21:14 -0400 Original-Received: by mail-qt1-f170.google.com with SMTP id s15so357980qtk.9 for <36270@debbugs.gnu.org>; Wed, 19 Jun 2019 12:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v3t7ttak4FLX65e9JnXAjVaRjIJ0+Sww7BRDuKGmWc8=; b=dxerEsD5PqhDBrr1o1sglPiUTk64IygYDco3UxhWmeaVHp34GmDpJaheBvlSI2LGTT DX39JETmTPrUtax4VVLL4xrdQCiG42b3VdZlxQTHDPuW6Z+nVWvK+QsH3GJqweE8tyw4 PFiCfTR/U82eMzNuHgRH9X46i2RSt3xxI7ue8mb0xnNuj8wxWb9kmYnX+/0+QBTKjHWP SviHTbX8Sae1rBvxYu8NiV9GCS9s5JpBSiuZwCQkZmEOMsbCAfIPew0n5Tdxi8ZRWmTV jjAraMyTbUFgijdPpI056b1koFoh3gPgv0ZR8Tke0go2/uPTBGAX8+savsed67/AcMSd cxdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v3t7ttak4FLX65e9JnXAjVaRjIJ0+Sww7BRDuKGmWc8=; b=Fxx6oxvECWC4uyQjqr2Zj5uR7gfUAiMyuh1Oxnt9/mZqvEKAiHp5CzF7zuMYfZ5sNp KCLvbpXDv5YDjT1TesGZFjrU7gDzI6muNp+CIhe8ZPtazhWhvK8k7kE4LGt0mX4l6SpE 40fQ6hGWhd7hBleu7pjS5GYzhRLOkmoh8NmNdZrfMnA602FNBJ8cPVNjuvbQ4xQ5DtHn GMT7nFXuA0OY7wBZzjDAab9bw9PfyH2AUFZcCYIjW3bVtpEfR7Q6Qs7Wc4j/rLS2bt1H GaXtdu9yGFAycXOnP8lxYpHUF5nqJPo84TaT/vPG2Nc9gOGzjUbbKSoWBaXexqqi3S1i BPSw== X-Gm-Message-State: APjAAAUSkmgIKKCb7UrM1ULof29KWcmZXgVELINse8xIYMeFCQjWwFgo 3RsmF6gcuZcqkFK6rQe+PiwMVNn78RVbpa8bGsnwLh2m X-Google-Smtp-Source: APXvYqzaNgMliCcFTNC+gmJ/g0+ULQQ01QZn3GZvVniE9oKjRj7qYVLjiKMMU5o8UUnoZ0sVE5WIbY/ISbXKDZ/zPcc= X-Received: by 2002:ac8:376e:: with SMTP id p43mr108688022qtb.354.1560972067143; Wed, 19 Jun 2019 12:21:07 -0700 (PDT) In-Reply-To: <83o92tr1b2.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160859 Archived-At: On Wed, Jun 19, 2019 at 6:24 PM Eli Zaretskii wrote: > Kids down here have a saying: "almost doesn't count" ;-) Err... Don't want to think about the context for *that* ;-) > Exactly. So what would be the point of having a general-purpose API > return files that can be useful only with some methods of running a > program? It will only cause confusion and bug reports. That's an argument about the general-purpose API return these files, not about having a special-purpose API, isn't it? > So to support that, we will need to change sys_spawnve and/or > cmdproxy to detect an extension that appears in PATHEXT, and then > either invoke through cmdproxy or use ShellExecute instead of > CreateProcess. And this is the more complex part of the job. Ok, now I understand. I will look into it, but no promises and of course no hurry. > One non-ugly fix is to use RCS from the ezwinports site. The binaries > there are 32-bit, but I don't think it will make any difference. With your binaries installed the test will pass (haven't tested yet, but seems likely). But that does not solve the issue that someone with a MSYS2 build environment has a working rcs installation, and yet the vc-tests fail. Of course, the thing is that, from Emacs POV, that's not a "working rcs installation" at all...