From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows Date: Fri, 13 May 2022 14:25:10 +0200 Message-ID: <874k1twrfd.fsf@gnus.org> References: <20220513.002244.1042559713148422728.yasu@utahime.org> <878rr6ycaa.fsf@gnus.org> <20220513.023530.164806185269303998.yasu@utahime.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 55386@debbugs.gnu.org To: Yasuhiro Kimura Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 13 14:31:17 2022 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 1npURu-0005Hb-2l for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 14:31:14 +0200 Original-Received: from localhost ([::1]:48934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npURs-0003mC-Jz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 08:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npUMs-0000DZ-U3 for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 08:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npUMs-00071E-KI for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 08:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npUMs-0006bD-FY for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 08:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2022 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55386 X-GNU-PR-Package: emacs Original-Received: via spool by 55386-submit@debbugs.gnu.org id=B55386.165244473425318 (code B ref 55386); Fri, 13 May 2022 12:26:02 +0000 Original-Received: (at 55386) by debbugs.gnu.org; 13 May 2022 12:25:34 +0000 Original-Received: from localhost ([127.0.0.1]:43091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npUMD-0006Zy-1a for submit@debbugs.gnu.org; Fri, 13 May 2022 08:25:34 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npUMB-0006Zj-S8 for 55386@debbugs.gnu.org; Fri, 13 May 2022 08:25:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7Lbennf26XFVYLaW95/y58cLFsy1pP1NEgDs17WMbRk=; b=mvZ12ZBZS6+wXDU+G0t6FOzP/W MPi1cAJiROXE6hwjNYTIjT9QHjXaLf6+64VoK/B+0aPgTQ0in47AUiravDIdF8O4iGoyISYjkT+DS ySB3ktRSfjPxjtTIYVzkaZcZxYtVqk7fRAwRE7cZERV32Sj984n/Vf6mlVOjeU7EsfCU=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npUM3-0000TU-66; Fri, 13 May 2022 14:25:13 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWhHy+el0itrKM7 ISH///94VleDAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFDQs5F7dB4g4AAAFvSURBVDjLdZNrtsMg CIRJ3EDQDQS6AQ3739vlYdS0uf7oOeXrzChQgO3cMVNmO7Qz6MnEDCcQiDR0cu4nOEHW8q5ABA0A Hw42ypDB6yIGsjsZYNiONEEXAKL+vgvEQ3r9MhAC9ntRGHHDO6ExW3w4hTYEO3ORHALwtJ6wqY1c Z3eaoB6USVo4MeIC9sIicHg/0EgHG5RM+ulvQGz5zoAj610NJNG6ShaABjaRovWSb6Dv8eim7cQi 5RpAKkC0QQEOUONpMQDNkAafBdRoj3kJkFbVINXZZxUEmPlyd/SzgAppGZkATzAFBtCLadZjlF0x 3iD3JiHogDoYd7oUNB3XF9Bs0pEA2yIuQCesgLPuXoIKq8KBrejaJ8vQARg40jfAjH19nkC4+RLP no8MGuvzDL+WvXoAeWziCq4F2BK+Aot5dJfG15oegKfBffA/4P8snccPaNYQav9YfV5Ac/BiVT3k C9SRXn4V0Sp5yQjwB4D5mi5LfRUoAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTEzVDExOjU3 OjIzKzAwOjAwEvfPUQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0xM1QxMTo1NzoyMyswMDow MGOqd+0AAAAASUVORK5CYII= X-Now-Playing: Joe Jackson's _Mike's Murder_: "Zemeo" In-Reply-To: <20220513.023530.164806185269303998.yasu@utahime.org> (Yasuhiro Kimura's message of "Fri, 13 May 2022 02:35:30 +0900 (JST)") 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" Xref: news.gmane.io gmane.emacs.bugs:232127 Archived-At: Yasuhiro Kimura writes: > insert-file-contents("/usr/bin/find: paths must precede expression: `with-editor.el'") > check-declare-scan("/usr/bin/find: paths must precede expression: `with-editor.el'") > check-declare-files("/usr/bin/find: paths must precede expression: `with-editor.el'" "/usr/bin/find: possible unquoted pattern after predicate `-name'?") > apply(check-declare-files ("/usr/bin/find: paths must precede expression: `with-editor.el'" "/usr/bin/find: possible unquoted pattern after predicate `-name'?")) > check-declare-directory("~/Work/Emacs/with-editor/lisp/") [...] > But when I directly evaluated check-declare-directory from *scratch* > buffer, I executed emacs from command prompt of Windows. And in this > case there is neither find.exe nor grep.exe in my PATH directories. So > check-declare-directory fails differently. And I wrongly reported it > as the bug of Emacs. Actually if I execute emacs from shell of MSYS2, > then steps of original bug report mail results in expected behavior. > > I don't know why above build error happens. But probably it is bug of > the elisp applications in question. So I'll report it to the author > of them. There does seem to be an issue in `check-declare-directory' in Emacs under Windows, though -- find is complaining about syntax errors in the "find" command we're constructing. Eli, does `check-declare-directory' work for you on some Lisp directory on Windows? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no