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:22:59 +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="175418"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36270@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 21:24:36 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 1hdgCC-000jYF-0w for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 21:24:36 +0200 Original-Received: from localhost ([::1]:41294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgCB-0003N2-07 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 15:24:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49239) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgBf-0002Sk-Jn for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdgBe-0003Fj-L9 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdgBe-0003Ff-Hq for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdgBe-00086B-CP for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 15:24:02 -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:24:02 +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.156097222231103 (code B ref 36270); Wed, 19 Jun 2019 19:24:02 +0000 Original-Received: (at 36270) by debbugs.gnu.org; 19 Jun 2019 19:23:42 +0000 Original-Received: from localhost ([127.0.0.1]:47434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdgBK-00085a-5x for submit@debbugs.gnu.org; Wed, 19 Jun 2019 15:23:42 -0400 Original-Received: from mail-qk1-f181.google.com ([209.85.222.181]:40166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdgBI-00085N-Nq for 36270@debbugs.gnu.org; Wed, 19 Jun 2019 15:23:41 -0400 Original-Received: by mail-qk1-f181.google.com with SMTP id c70so280682qkg.7 for <36270@debbugs.gnu.org>; Wed, 19 Jun 2019 12:23:40 -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=DDbDg6U1UeQNagnAqwMkIWaHRqK6q6LDpfEdOMJFD70=; b=ek7Zu5KtP3H9DA60fgF3iOy2g7Xj8CloqaxNH0YnUfrPyDBcpJSiT7OC+wgjVdWuSr xzwx9rMlMlRWou/q8lxDnBQB+xHSQLdGPTVpYkZr/iqRYzuMO3siaKdg7h/UJgNZooIf +m/Y2NCJXBxQa7O+l6SScAzz8BlnBshK0xABT9ZIJQ5CRGe09kSL3lXhiJ9Y2IyYU8HA aiRllmNEVJtmzFP4WrrIMekEy8N6mRfuUKo7AZpcjPYOxDBFy6d1m+//7E17wTiHyALc 0X1WOlwGunh+WxkmN2WBmHhFU0b73wzE3YT9XFS3HtRgz76+nzniSxDsSVCyIA48X+u2 hmdg== 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=DDbDg6U1UeQNagnAqwMkIWaHRqK6q6LDpfEdOMJFD70=; b=HD5g43eHasms0se3zaoWf4EnuKhnwrasWqbrjigTPLJXKKymd+8NwNA9FtTbUgcec0 Aeou9HfdNTtwn+EVJRgFq5mzGiw0WfzngPg4iYP9ScEzbx/iFVoXbA2ajzmhqnd/qAWl qddU81JfJNeJSIUzfbe6vRy2PJL/jACB6M831/XzfPCmjZ6mOO1WenKGRszGqmyd1TZ/ sWJ40xYFNdhDVeUmo+NvYs3UwMvflVS8b2Ivz7eYV4kH1s3zeCcwcHKAVvsgqNFC3Xnd lnQXRrF40HWr7AZrD3V96xAhWrAH5HPizT5BCWhs2FeS1PAeaLFaTuxprrHFBikZn8Md u+Bw== X-Gm-Message-State: APjAAAW01JSFS0YtdcgB4DkO8HaklB+fnURgWdA82L/Gay1/DY2Ix1HT wWCqMgcUx64gTxjTkcGuY5L+vKWvM62L6K+Xysg= X-Google-Smtp-Source: APXvYqxaOsFxBcHPzPs3abeuY7fI3O+qtuONJQlabugErPjKBQtvF1NaXalUuFFMedrsCp6AW3qKGmHAgfZxizVHdt0= X-Received: by 2002:a37:ea0c:: with SMTP id t12mr32432394qkj.117.1560972215169; Wed, 19 Jun 2019 12:23:35 -0700 (PDT) In-Reply-To: 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:160860 Archived-At: On Wed, Jun 19, 2019 at 7:44 PM Andy Moreton wrote: > I use the following advice in a Windows build of emacs to get shell > scripts working for Cygwin. MSYS2 should be similar, with a suitable > setting for `shell-file-name': That seems useful, thanks. Though there's no error checking at all, isn't it? You try to execute a command, and if it is not executable from `executable-find' POV, off to the shell it goes...