GNU logs - #55386, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Yasuhiro Kimura <yasu@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 May 2022 15:27:02 +0000
Resent-Message-ID: <handler.55386.B.165236919123797 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 55386 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.165236919123797
          (code B ref -1); Thu, 12 May 2022 15:27:02 +0000
Received: (at submit) by debbugs.gnu.org; 12 May 2022 15:26:31 +0000
Received: from localhost ([127.0.0.1]:41979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npAhy-0006Bk-SP
	for submit <at> debbugs.gnu.org; Thu, 12 May 2022 11:26:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:53586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yasu@HIDDEN>) id 1npAhw-0006Bd-Pt
 for submit <at> debbugs.gnu.org; Thu, 12 May 2022 11:26:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37206)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yasu@HIDDEN>) id 1npAhw-0004g4-Kc
 for bug-gnu-emacs@HIDDEN; Thu, 12 May 2022 11:26:28 -0400
Received: from gate.home.utahime.org ([111.108.18.121]:56167)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yasu@HIDDEN>) id 1npAht-0002Nz-Tf
 for bug-gnu-emacs@HIDDEN; Thu, 12 May 2022 11:26:28 -0400
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org
 [192.168.174.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)
 (No client certificate requested)
 by gate.home.utahime.org (Postfix) with ESMTPS id AA93220122;
 Fri, 13 May 2022 00:26:18 +0900 (JST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org;
 s=maybe2019112701; t=1652369178;
 bh=7DoTKAlyNBXnY7Se2G9mQuBlgFLhxBbpfSp+9y1Tv5c=;
 h=Date:To:Subject:From;
 b=Vd8cZISOXmhhQek5U5eleNqDEIs3CUQekLHzo5UnWjmDf9hsD8qR7ahqcP1vaEgTA
 hXwGeqmcP820yur/aDq3UhDZ3X8JZVtkZl+llnydRMl0LOpGe8TMjgg25a4DTBxKiS
 P9/C8MBJc359UmnaDJRJSiWO9NXXF/4uUnSmZKy1PXHdaWBt+cAYENcszFeOwbAhFh
 lxVivOTv09QpyqMyxoOUyKX+pHXBQuaw2PJsn3DzJVhpKwrbMZ9YqHn3f90AdehbrD
 wYRjRaGDlDrIW2vJBv9lz5PanPbjDH33jdKtpAGWDJ+/6sK34H8ojcc8iphoUABi7h
 cLRAeJpkOe1EQ==
Received: from localhost (half.home.utahime.org [192.168.174.12])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (P-384))
 (No client certificate requested)
 by eastasia.home.utahime.org (Postfix) with ESMTPSA id E32C930988;
 Fri, 13 May 2022 00:26:17 +0900 (JST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.105.0 at eastasia.home.utahime.org
Date: Fri, 13 May 2022 00:22:44 +0900 (JST)
Message-Id: <20220513.002244.1042559713148422728.yasu@HIDDEN>
From: Yasuhiro Kimura <yasu@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 29.0.50
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Content-Transfer-Encoding: base64
Received-SPF: pass client-ip=111.108.18.121; envelope-from=yasu@HIDDEN;
 helo=gate.home.utahime.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)

W0hvdyB0byByZXByb2R1Y2UgdGhlIHByb2JsZW1dDQoNCjEuIGNkIEM6L1VzZXJzL3lhc3UvVGVt
cA0KMi4gZ2l0IGNsb25lIGh0dHBzOi8vZ2l0LnNhdmFubmFoLmdudS5vcmcvZ2l0L2VtYWNzLmdp
dA0KMy4gU3Rhcn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gOCA3MzcyMjcgMjMzNTApDQogKGZsb2F0cyA4
IDI1NCAxNTkpDQogKGludGVydmFscyA1NiA3NTggMjI4KQ0KIChidWZmZXJzIDk5MiAxMykpDQo=




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Yasuhiro Kimura <yasu@HIDDEN>
Subject: bug#55386: Acknowledgement (29.0.50; check-declare-directory
 doesn't work on Windows)
Message-ID: <handler.55386.B.165236919123797.ack <at> debbugs.gnu.org>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
X-Gnu-PR-Message: ack 55386
X-Gnu-PR-Package: emacs
Reply-To: 55386 <at> debbugs.gnu.org
Date: Thu, 12 May 2022 15:27:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 55386 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
55386: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55386
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 May 2022 15:58:02 +0000
Resent-Message-ID: <handler.55386.B55386.165237103527131 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Yasuhiro Kimura <yasu@HIDDEN>
Cc: 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165237103527131
          (code B ref 55386); Thu, 12 May 2022 15:58:02 +0000
Received: (at 55386) by debbugs.gnu.org; 12 May 2022 15:57:15 +0000
Received: from localhost ([127.0.0.1]:41999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npBBi-00073W-Uq
	for submit <at> debbugs.gnu.org; Thu, 12 May 2022 11:57:15 -0400
Received: from quimby.gnus.org ([95.216.78.240]:54782)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1npBBg-00073J-Qj
 for 55386 <at> debbugs.gnu.org; Thu, 12 May 2022 11:57:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=62kvhQOaUFkEOE4B61mmAxtYvyMlXpinpKxbkWhtuSc=; b=ohYrGdbYSXfgAtek109+5JvLan
 IOcuIbexSuz2zqnP4tOlP50mVoWQ9GWDYsH9xo3CcrR5QMY6v6cBlPyvlxswqBZO1zMmTqc/Rjlq5
 Zp45VaQvxiLq9QTgbqcTQbZNpiTPS7c4vHZdFRW0H5Z1j4CjwVklPD4heI26UdNOBj4I=;
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 <larsi@HIDDEN>)
 id 1npBBW-0006cr-V1; Thu, 12 May 2022 17:57:05 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWcf21jV1RMOzoi
 Gx/////yDuoyAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFDA83FXh5YRUAAAG3SURBVDjLdZSNtewg
 CIRxKxBSAUMFwf57e4Pmx71nn2c3MXwKiowiT1P+W59dU3vtwn5vvbHXzXCPkdasiy6ghheoEri6
 qWovwPc0q8LFLeAKtcwyNQ7hK7whBtgIhnBEb9qcIDkQAyOADEGim3+gOjLqh1ENEkmbW4ER0zTB
 IAjVE3YD3IB/rSjmx7LYGlAgUlpeA59WYBBg+q/gO4ACsY2+XWVkfPvJCTIwviPAFhh/A68Ya7//
 Bd8ItXPMLerfSTwtPr1ru5b5AFzLm8t+Scrr122bghekxTWzPo4djA2E3J0x0/762mLEc3xM0Raj
 bNepZLpuMWoGi0WNh+DbjGsFLKpZay+I++mswB087eQ5R/8BBnhC+QvkEcAvcFaJCyK/zVXwXLVU
 JmKu8/JDIzRUjip/5qAkYNORdOW58UmhNO621BRzRvNLxZ1iZbjPPEGwi6ZLlNRiCU6rUrPqVTln
 uKvx05c8l+sSNVNNrcELlFB6N7p25iqd+1QwrWLNzIuxL2s7nQqua4FCS0alDzHLcmNT73OXLoCd
 ksqrYK1f+yfnDp1XAmMojpJq9KDcmZ44edvIPxk4ooy4NTjiAAAAJXRFWHRkYXRlOmNyZWF0ZQAy
 MDIyLTA1LTEyVDE1OjU1OjIxKzAwOjAw70z1QgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0x
 MlQxNTo1NToyMSswMDowMJ4RTf4AAAAASUVORK5CYII=
X-Now-Playing: R.E.M.'s _Murmur_: "9-9"
Date: Thu, 12 May 2022 17:57:01 +0200
In-Reply-To: <20220513.002244.1042559713148422728.yasu@HIDDEN> (Yasuhiro
 Kimura's message of "Fri, 13 May 2022 00:22:44 +0900 (JST)")
Message-ID: <878rr6ycaa.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Yasuhiro Kimura <yasu@HIDDEN> writes: > [How to
 reproduce
 the problem] > > 1. cd C:/Users/yasu/Temp > 2. git clone
 https://git.savannah.gnu.org/git/emacs.git
 > 3. Start Emacs with 'emacs -Q' > 4. Type '(check-declare-directory
 "C:/Users/y [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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 (---)

Yasuhiro Kimura <yasu@HIDDEN> writes:

> [How to reproduce the problem]
>
> 1. cd C:/Users/yasu/Temp
> 2. git clone https://git.savannah.gnu.org/git/emacs.git
> 3. Start Emacs with 'emacs -Q'
> 4. Type '(check-declare-directory "C:/Users/yasu/Temp/emacs/lisp")'
>    and C-j.

[...]

> Debugger entered--Lisp error: (file-error "Opening input file" "Invalid a=
rgument" "c:/Users/yasu/=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C=E8=A6=
=8B=E3=81=A4=E3=81=8B=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93 - \"^[ \11]*(decl=
are-funct...")
>   insert-file-contents("=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C=E8=
=A6=8B=E3=81=A4=E3=81=8B=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93 - \"^[ \11]*(d=
eclare-function\"")
>   check-declare-scan("=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C=E8=A6=
=8B=E3=81=A4=E3=81=8B=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93 - \"^[ \11]*(decl=
are-function\"")
>   check-declare-files("=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C=E8=
=A6=8B=E3=81=A4=E3=81=8B=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93 - \"^[ \11]*(d=
eclare-function\"")
>   apply(check-declare-files "=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=
=8C=E8=A6=8B=E3=81=A4=E3=81=8B=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93 - \"^[ \=
11]*(declare-function\"")

check-declare-directory is just a wrapper around `find', and I'm surprised
that this even vaguely works on Windows:

(defun check-declare-directory (root)
[...]
  (let ((files (process-lines-ignore-status
                find-program root
                "-name" "*.el"
                "-exec" grep-program
                "-l" "^[ \t]*(declare-function" "{}" "+")))

If you run this "manually", what does it output?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 May 2022 16:44:02 +0000
Resent-Message-ID: <handler.55386.B55386.16523738208290 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.16523738208290
          (code B ref 55386); Thu, 12 May 2022 16:44:02 +0000
Received: (at 55386) by debbugs.gnu.org; 12 May 2022 16:43:40 +0000
Received: from localhost ([127.0.0.1]:42101 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npBue-00029e-CA
	for submit <at> debbugs.gnu.org; Thu, 12 May 2022 12:43:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33194)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1npBuc-00029P-7b
 for 55386 <at> debbugs.gnu.org; Thu, 12 May 2022 12:43:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40638)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npBuW-00063h-Hp; Thu, 12 May 2022 12:43:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=tJqSnTZcHUQE9N1MSImuNO7UXJVKxIqp6qMDlVsXmuU=; b=WKIkDQbcOrkrzRi95Ekg
 jZtKFAQWalVJIi34aBDl/pHoGElZStxSFWMXcmf+oLAny6ycrnCCELv4428TyKkVA5kC/OiY9DM+Q
 qByhNMQmIDlce6+KcvKnaM2w+iIVrSV8WlPDHL98Fmdlonkff0y37tplSoFfLQ1Gq8HeHwVdUuNcA
 J2SdgFeyd6gIU8EsZKjkNkgklpWSRZIUmSg9uPZrSco7k52BCDdrI5L/C/yJlTIruJsLA5FOF/B6I
 or9g3KYnJaVoHY29U4BkCKxINFyx01ttL9pB2egg3kcSREYPOVUHQgR8MyQmxAwLmS6KQdoWnBqc6
 BXtsuUei56293w==;
Received: from [87.69.77.57] (port=2450 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npBuW-000150-16; Thu, 12 May 2022 12:43:32 -0400
Date: Thu, 12 May 2022 19:43:36 +0300
Message-Id: <835ymapupz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <878rr6ycaa.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 12 May 2022 17:57:01 +0200)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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 (---)

> Cc: 55386 <at> debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Thu, 12 May 2022 17:57:01 +0200
> 
> > Debugger entered--Lisp error: (file-error "Opening input file" "Invalid argument" "c:/Users/yasu/ファイルが見つかりません - \"^[ \11]*(declare-funct...")
> >   insert-file-contents("ファイルが見つかりません - \"^[ \11]*(declare-function\"")
> >   check-declare-scan("ファイルが見つかりません - \"^[ \11]*(declare-function\"")
> >   check-declare-files("ファイルが見つかりません - \"^[ \11]*(declare-function\"")
> >   apply(check-declare-files "ファイルが見つかりません - \"^[ \11]*(declare-function\"")
> 
> check-declare-directory is just a wrapper around `find', and I'm surprised
> that this even vaguely works on Windows:

Why are you surprised?

> (defun check-declare-directory (root)
> [...]
>   (let ((files (process-lines-ignore-status
>                 find-program root
>                 "-name" "*.el"
>                 "-exec" grep-program
>                 "-l" "^[ \t]*(declare-function" "{}" "+")))
> 
> If you run this "manually", what does it output?

Here, it produces a long list of *.el files.

The string "ファイルが見つかりません" translates from Japanese as
"File not found".  So I suspect the OP doesn't have a port of GNU Find
on Path before the Windows program of the same name (which does
something completely different), or maybe the version of Find or Grep
the OP has don't support non-ASCII characters encoded in the OP's
locale's codepage.

Basically, that command tries to tell us that some (or all) of the
files were not found.

I wonder whether it could be a good idea to replace the find/grep
command by something that traverses the files in Lisp, like
dired-do-search or somesuch?  This would resolve any problems with
file names and incompatible versions of Find and Grep.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Yasuhiro Kimura <yasu@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 12 May 2022 17:37:02 +0000
Resent-Message-ID: <handler.55386.B55386.165237699722461 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: larsi@HIDDEN
Cc: 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165237699722461
          (code B ref 55386); Thu, 12 May 2022 17:37:02 +0000
Received: (at 55386) by debbugs.gnu.org; 12 May 2022 17:36:37 +0000
Received: from localhost ([127.0.0.1]:42209 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npCjs-0005qD-GG
	for submit <at> debbugs.gnu.org; Thu, 12 May 2022 13:36:36 -0400
Received: from gate.home.utahime.org ([111.108.18.121]:44505)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yasu@HIDDEN>) id 1npCjq-0005q0-B7
 for 55386 <at> debbugs.gnu.org; Thu, 12 May 2022 13:36:35 -0400
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org
 [192.168.174.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)
 (No client certificate requested)
 by gate.home.utahime.org (Postfix) with ESMTPS id A124320124;
 Fri, 13 May 2022 02:36:30 +0900 (JST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org;
 s=maybe2019112701; t=1652376990;
 bh=6tgVCLklXNIsKFHdnr5zt6yvaDdiHbaN8N01K0pDo8A=;
 h=Date:To:Cc:Subject:From:In-Reply-To:References;
 b=Fzfayan/AljBH1JjfwUCIvTEiEr95a2x8w9Bskedr3PT5g7C/PHjxxfkatKvj3gXr
 gqCfKrjqaxchw5cXph7aNqPiG6dh2AXtFKqkzCGoGnLm9Dk3KZebLOoSyfqFGVw5dQ
 QTolK5utvDUo1Dc0ZZWkXoNkga4PxHjcQIez92sS8mJwy/1ypOzcQoXxmfc6rwyBfB
 xIzrgDT1c/DVEO4Bpq+/ZJMxPCFyMCYBKlqvBpXS23q1wuYJKc440qbTfF0OKTnxNx
 5XPxT8ANTK8W74j8hsngQXlTA84nQw+Abl/t3GtRdDZKzUIS+qcLv1V0nQzaS+2ocQ
 e6b7oJpEmAe1w==
Received: from localhost (half.home.utahime.org [192.168.174.12])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)
 (No client certificate requested)
 by eastasia.home.utahime.org (Postfix) with ESMTPSA id CBDFE30A24;
 Fri, 13 May 2022 02:36:29 +0900 (JST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.105.0 at eastasia.home.utahime.org
Date: Fri, 13 May 2022 02:35:30 +0900 (JST)
Message-Id: <20220513.023530.164806185269303998.yasu@HIDDEN>
From: Yasuhiro Kimura <yasu@HIDDEN>
In-Reply-To: <878rr6ycaa.fsf@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 29.0.50
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
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: -1.0 (-)

From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Date: Thu, 12 May 2022 17:57:01 +0200

> check-declare-directory is just a wrapper around `find', and I'm surprised
> that this even vaguely works on Windows:
> 
> (defun check-declare-directory (root)
> [...]
>   (let ((files (process-lines-ignore-status
>                 find-program root
>                 "-name" "*.el"
>                 "-exec" grep-program
>                 "-l" "^[ \t]*(declare-function" "{}" "+")))
> 
> If you run this "manually", what does it output?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no

Thanks for reply. And sorry, it seems I misunderstood the problem. At
first I faced the error of check-declare-directory when I tried to
build and install some 3rd party elisp applications. Recently they
start to use the function at their build process and it causes build
error as following.

(MINGW64)yasu@half[1018]% make lisp
make[1]: Entering directory '/c/Users/yasu/Work/Emacs/with-editor/lisp'
Compiling with-editor.el
 Creating with-editor-autoloads.el
 Checking function declarations

Error: file-error ("Opening input file" "Invalid argument" "c:/usr/bin/find: paths must precede expression: `with-editor.el'")
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x10a1f18ad911994>))
  debug-early-backtrace()
  debug-early(error (file-error "Opening input file" "Invalid argument" "c:/usr/bin/find: paths must precede expression: `with-editor.el'"))
  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/")
  eval((check-declare-directory default-directory) t)
  command-line-1(("--eval" "(setq with-editor-emacsclient-executable nil)" "-L" "../../compat" "-L" "../../vterm" "-L" "." "--eval" "(check-declare-directory default-directory)"))
  command-line()
  normal-top-level()
Opening input file: Invalid argument, c:/usr/bin/find: paths must precede expression: `with-editor.el'
make[1]: *** [Makefile:14: check-declare] Error 127
make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/with-editor/lisp'
make: *** [Makefile:25: lisp] Error 2
(MINGW64)yasu@half[1019]%  

In this case I executed make.exe from shell of MSYS2. So find.exe and
grep.exe of MSYS2 are used.

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.

Best Regards.

---
Yasuhiro KIMURA




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 May 2022 12:22:02 +0000
Resent-Message-ID: <handler.55386.B55386.165244447324814 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165244447324814
          (code B ref 55386); Fri, 13 May 2022 12:22:02 +0000
Received: (at 55386) by debbugs.gnu.org; 13 May 2022 12:21:13 +0000
Received: from localhost ([127.0.0.1]:43086 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npUID-0006SA-Fc
	for submit <at> debbugs.gnu.org; Fri, 13 May 2022 08:21:13 -0400
Received: from quimby.gnus.org ([95.216.78.240]:36416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1npUIB-0006Rx-0m
 for 55386 <at> debbugs.gnu.org; Fri, 13 May 2022 08:21:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=mqcrTn9RC4+XocxVsvG8PmJ5wXqfvHV/sSnFIrXG+KE=; b=dGPyJIndMduZ8ERRQfn0Bx1Wyp
 fab1tKKWwAMQ+tjo4q+dox0WQdL1wP1lekMQkR0dEyrozAoEquaPXP4Jt+OEhOnZnIEPhafrQEFkT
 /c0NQ2Fq0dedv4s48QYftaciYQ8jInbfmU5V8T4AvimQUFh0LCVnUF9I5N2VHmfp2I38=;
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 <larsi@HIDDEN>)
 id 1npUI1-0000S9-R0; Fri, 13 May 2022 14:21:04 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
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"
Date: Fri, 13 May 2022 14:21:01 +0200
In-Reply-To: <835ymapupz.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 12 May
 2022 19:43:36 +0300")
Message-ID: <878rr5wrma.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > Why are you surprised?
 Because: 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> Why are you surprised?

Because:

> So I suspect the OP doesn't have a port of GNU Find
> on Path before the Windows program of the same name (which does
> something completely different), or maybe the version of Find or Grep
> the OP has don't support non-ASCII characters encoded in the OP's
> locale's codepage.

There's always stuff like this in Windows-related bug reports.  =F0=9F=98=80

> I wonder whether it could be a good idea to replace the find/grep
> command by something that traverses the files in Lisp, like
> dired-do-search or somesuch?  This would resolve any problems with
> file names and incompatible versions of Find and Grep.

It would be massively slower, though.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 May 2022 12:26:02 +0000
Resent-Message-ID: <handler.55386.B55386.165244473425318 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Yasuhiro Kimura <yasu@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165244473425318
          (code B ref 55386); Fri, 13 May 2022 12:26:02 +0000
Received: (at 55386) by debbugs.gnu.org; 13 May 2022 12:25:34 +0000
Received: from localhost ([127.0.0.1]:43091 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npUMD-0006Zy-1a
	for submit <at> debbugs.gnu.org; Fri, 13 May 2022 08:25:34 -0400
Received: from quimby.gnus.org ([95.216.78.240]:36442)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1npUMB-0006Zj-S8
 for 55386 <at> 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=;
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 <larsi@HIDDEN>)
 id 1npUM3-0000TU-66; Fri, 13 May 2022 14:25:13 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN>
 <20220513.023530.164806185269303998.yasu@HIDDEN>
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"
Date: Fri, 13 May 2022 14:25:10 +0200
In-Reply-To: <20220513.023530.164806185269303998.yasu@HIDDEN> (Yasuhiro
 Kimura's message of "Fri, 13 May 2022 02:35:30 +0900 (JST)")
Message-ID: <874k1twrfd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Yasuhiro Kimura <yasu@HIDDEN> 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("/
 [...] Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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: -1.0 (-)

Yasuhiro Kimura <yasu@HIDDEN> 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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 May 2022 12:32:01 +0000
Resent-Message-ID: <handler.55386.B55386.165244510026134 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165244510026134
          (code B ref 55386); Fri, 13 May 2022 12:32:01 +0000
Received: (at 55386) by debbugs.gnu.org; 13 May 2022 12:31:40 +0000
Received: from localhost ([127.0.0.1]:43102 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npUSJ-0006nS-TW
	for submit <at> debbugs.gnu.org; Fri, 13 May 2022 08:31:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35444)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1npUSI-0006nD-1f
 for 55386 <at> debbugs.gnu.org; Fri, 13 May 2022 08:31:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56346)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npUSC-0007tv-IM; Fri, 13 May 2022 08:31:32 -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=Rroy/iBfGSzcphJuMFGcWJcxP3nhQOeEVRQJFef1KoI=; b=JiPdTYbhvvmd
 2cfRP3IUJDUV9uShIHFqCeW/ckktF3ZwJXMWL0WWb6s2kyrVnTToq5sdZCmCAzgQBjLXHapdTFUNn
 TC3bJnz9b/HWGvp0Nsj15j/dUzRsoA+irSMpD879aUpE+Af69l7SmgvKL86KS2UIimyNux8sY1PS3
 8r4n+5mU1L6QskCPahgGcNbUCuZdygSs2wvc7Oz+8FLKpwg0fU/XmTUzY6C8wooTV4ZXDzmLTZMeY
 hq94piCo9FNwbyyKOtXLoNKweSzexic3P/tIAYDDT9bw6XQkKRGQyJRB9jr6QrJYr1bSAPCvZykuR
 8vbp4FafuV13eE3XeIjIZg==;
Received: from [87.69.77.57] (port=3395 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npUSB-00012p-Rx; Fri, 13 May 2022 08:31:32 -0400
Date: Fri, 13 May 2022 15:31:37 +0300
Message-Id: <83r14xmx5i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <874k1twrfd.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 13 May 2022 14:25:10 +0200)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN>
 <20220513.023530.164806185269303998.yasu@HIDDEN>
 <874k1twrfd.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
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 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55386 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>
> Date: Fri, 13 May 2022 14:25:10 +0200
> 
> 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?

Yes, it does.

Yasuhiro Kimura, can you tell where you got your ports of Find and
Grep?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 May 2022 12:36:02 +0000
Resent-Message-ID: <handler.55386.B55386.165244534226619 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165244534226619
          (code B ref 55386); Fri, 13 May 2022 12:36:02 +0000
Received: (at 55386) by debbugs.gnu.org; 13 May 2022 12:35:42 +0000
Received: from localhost ([127.0.0.1]:43112 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npUWE-0006vH-Ds
	for submit <at> debbugs.gnu.org; Fri, 13 May 2022 08:35:42 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36104)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1npUWC-0006v1-Tq
 for 55386 <at> debbugs.gnu.org; Fri, 13 May 2022 08:35:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56868)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npUW5-0008Qr-Oi; Fri, 13 May 2022 08:35:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=bCQxqJTyQusvneKWj8w0DUae1XKuSUaNJKmi3JuoY+E=; b=Y9jsyYwEQ2uBrf02MS89
 8rmGMVsOBc/uuZX0huJHl6o4GW+k8m5UKndY2eo5Qo+p46c9BTz1AJvcYWP5S+2QWtDrRJU9UPCzg
 ZKWUXIdIw1vd0nHK9E3+BwzSshc6seQZ4cRI1fow1blXn63E1LncBqosFPLLo6O0VUDDV5UCrqEAt
 y1CZaeRMIqHcpraeKMFmHMJTC6QRIUyGz9jsdhaqH2tKqwUygL0Wqnx2UhrCHsKz4x7fYHTrVokF7
 xCi3w8LC2TBOHWh3D01Ro+M8vy8M3MaiN4oHYeRjAEMm6v2YkG+fpNIIR9m3WXbe8zvmGcBbR6ETe
 bogtZyh4vWa6Mg==;
Received: from [87.69.77.57] (port=3640 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npUW2-0007DR-Uc; Fri, 13 May 2022 08:35:31 -0400
Date: Fri, 13 May 2022 15:35:37 +0300
Message-Id: <83pmkhmwyv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <878rr5wrma.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 13 May 2022 14:21:01 +0200)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: yasu@HIDDEN,  55386 <at> debbugs.gnu.org
> Date: Fri, 13 May 2022 14:21:01 +0200
> 
> > Why are you surprised?
> 
> Because:
> 
> > So I suspect the OP doesn't have a port of GNU Find
> > on Path before the Windows program of the same name (which does
> > something completely different), or maybe the version of Find or Grep
> > the OP has don't support non-ASCII characters encoded in the OP's
> > locale's codepage.
> 
> There's always stuff like this in Windows-related bug reports.  😀

There's a difference between expecting problems and being surprised it
can work at all.

> > I wonder whether it could be a good idea to replace the find/grep
> > command by something that traverses the files in Lisp, like
> > dired-do-search or somesuch?  This would resolve any problems with
> > file names and incompatible versions of Find and Grep.
> 
> It would be massively slower, though.

I'm not sure.  How much time does it take for the find/grep command to
finish working on our lisp/ directory on your system?

And this command is not really time-critical anyway.

In any case, we could use the Lisp path only on Windows, since having
a slower command is better than having a broken command.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 May 2022 15:48:01 +0000
Resent-Message-ID: <handler.55386.B55386.165245682421073 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165245682421073
          (code B ref 55386); Fri, 13 May 2022 15:48:01 +0000
Received: (at 55386) by debbugs.gnu.org; 13 May 2022 15:47:04 +0000
Received: from localhost ([127.0.0.1]:44736 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npXVQ-0005TX-28
	for submit <at> debbugs.gnu.org; Fri, 13 May 2022 11:47:04 -0400
Received: from quimby.gnus.org ([95.216.78.240]:38916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1npXVN-0005Mq-NJ
 for 55386 <at> debbugs.gnu.org; Fri, 13 May 2022 11:47:02 -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=92BYWi2DAlqf/DN7m3Ar9oXhWQJZu8lk7xvGLYlxaHo=; b=WX/GRDLJM1X0UJzodAC0xHKXTV
 MopylTWcuUciUNQK+f8+kDESMD0Jre2qwvHWXl17T3RyLWsvp5i5YAXANlpdqCDeRuseegRRKkjDV
 hOitYuzNFJdolaE5+koB05g89ilx8bjiGLjFF0AEch1lI16gevldThEObr+5GTtTIH5E=;
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 <larsi@HIDDEN>)
 id 1npXVD-00029x-Dz; Fri, 13 May 2022 17:46:54 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUFBAUnHRkyKylR
 RDpGNzGVg25hVEv///945FKsAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFDQ8eE23gPK4AAAGqSURB
 VDjLjVRNk4IwDG1x9WwqeoZSOCMwnBU7nld39OzCbv//T9ikfFk7O2NmUNqXvCQvLYxxsMYA1swx
 2a/B2SzwSXQDoHTzvB980a84d3UXuzTZgzEMQFBVDrB8TK/cAba5v2dtETHWyFN1OpXaA/P+b7V+
 BQqhVdlVNbzso6Pt3Av438JT3SaFjjzgCLD7jmNlF0rOlI3UaSdhRzuZaUmjAeQglZSS3m4d7Qmv
 p23be2a2t0CKCMulCDM4rK59cr5phSR123Ecd2I8YFV9rfw6AjfiAkyMD06Q78dkvw8n9yx/+kli
 YWY+6TYAF6LSZYVsOPRgAnaXmecDlxOwIirIjKmrCk9SOgNu8vQwVeVOZ3Ucy7tZdZUxplVIFRSj
 x53QvF8sMPo8cC1tUWWhuqpJaqpyEGuX9+OAGECQXNxQCOehP/89gzicFZiFCqPsZ7wQygoCyegQ
 j/5SWiBmb5uI7RH1InhhuaR3ZIJo6NyjSqpSN9oeuMkiv8We/hhaBXygIElrs6evQPGMCHVg/MBt
 q84d3JiccfwsSKm0ccnQjYs1p3v4riB/wnw3K2tbAgAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt
 MDUtMTNUMTU6MzA6MTkrMDA6MDDy2CxQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTEzVDE1
 OjMwOjE5KzAwOjAwg4WU7AAAAABJRU5ErkJggg==
X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Keep On Pushing"
Date: Fri, 13 May 2022 17:46:50 +0200
In-Reply-To: <83pmkhmwyv.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 13 May
 2022 15:35:37 +0300")
Message-ID: <87a6bl305x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > I'm not sure. How much
 time does it take for the find/grep command to > finish working on our lisp/
 directory on your system? Let's see... 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> I'm not sure.  How much time does it take for the find/grep command to
> finish working on our lisp/ directory on your system?

Let's see...

(benchmark-run (check-declare-directory "~/src/emacs/trunk/lisp/"))

11 seconds.  Perhaps a pure-Lisp solution wouldn't be that much slower,
anyway?

(Hm...  it finds over a 100 in-tree declarations that it says are
malformed/wrong...  Perhaps somebody should have a look at that.)

> And this command is not really time-critical anyway.

That's true.

> In any case, we could use the Lisp path only on Windows, since having
> a slower command is better than having a broken command.

If we have a Lisp solution, I think I'd prefer to use that on all
platforms.  Easier to debug when there only one code path, for one.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 09:11:01 +0000
Resent-Message-ID: <handler.55386.B55386.16525194233615 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.16525194233615
          (code B ref 55386); Sat, 14 May 2022 09:11:01 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 09:10:23 +0000
Received: from localhost ([127.0.0.1]:45752 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npnn4-0000wE-UK
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 05:10:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60536)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1npnn4-0000vz-07
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 05:10:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52098)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npnmr-00019B-JV; Sat, 14 May 2022 05:10:09 -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=7Z1CAKLguTAT8/NIrwtwubq/6zn8TFuVw+gveb+DLAs=; b=b5FuEKEz7SdV
 n6AqHUQRGZvRdU+re9Vo4Zf/Ieu60lCCt0muujtKF3Dvba8+G5/ePLgqm3vuNrWevdr9GTbistPXP
 2i3XJK4un1bT6gcE4Y6Aov4dhJc/KPn+4xfMAyMb/Z286aht48Ml9nCAN+S+FbzGO/GvfG53Zl2tT
 P3yccoYrg5Cu0aEqlk3PqI+2Xuc0FnIa/Zf2kg4HkczfKiJMbu63xIpdbuHc3UOtv5FxECBGWDQmP
 omSH1wvIis2udTqXSu3e2V+5IfiTEs5QcFzmCDc/mVbR3xa39zpJhGreQnodR0BtNX7a+czGGd/Ap
 GVU13XTsSWf89fuccmgThg==;
Received: from [87.69.77.57] (port=3844 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npnmk-0003Mh-Gd; Sat, 14 May 2022 05:10:03 -0400
Date: Sat, 14 May 2022 12:09:56 +0300
Message-Id: <83o800lbtn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87a6bl305x.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 13 May 2022 17:46:50 +0200)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN> <87a6bl305x.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
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 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: yasu@HIDDEN,  55386 <at> debbugs.gnu.org
> Date: Fri, 13 May 2022 17:46:50 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > I'm not sure.  How much time does it take for the find/grep command to
> > finish working on our lisp/ directory on your system?
> 
> Let's see...
> 
> (benchmark-run (check-declare-directory "~/src/emacs/trunk/lisp/"))
> 
> 11 seconds.  Perhaps a pure-Lisp solution wouldn't be that much slower,
> anyway?
> 
> (Hm...  it finds over a 100 in-tree declarations that it says are
> malformed/wrong...  Perhaps somebody should have a look at that.)

Yes, please.

> > And this command is not really time-critical anyway.
> 
> That's true.
> 
> > In any case, we could use the Lisp path only on Windows, since having
> > a slower command is better than having a broken command.
> 
> If we have a Lisp solution, I think I'd prefer to use that on all
> platforms.  Easier to debug when there only one code path, for one.

How about the below?  It's 3% to 9% slower than the find/grep version
(because it examines more files, I think), but much simpler (IMNSHO),
and works on any platform without any caveats.

diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el
index b3c9651..83187ac 100644
--- a/lisp/emacs-lisp/check-declare.el
+++ b/lisp/emacs-lisp/check-declare.el
@@ -319,11 +319,7 @@ check-declare-directory
   (setq root (directory-file-name (file-relative-name root)))
   (or (file-directory-p root)
       (error "Directory `%s' not found" root))
-  (let ((files (process-lines-ignore-status
-                find-program root
-                "-name" "*.el"
-                "-exec" grep-program
-                "-l" "^[ \t]*(declare-function" "{}" "+")))
+  (let ((files (directory-files-recursively root "\\.el\\'")))
     (when files
       (apply #'check-declare-files files))))
 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 11:41:02 +0000
Resent-Message-ID: <handler.55386.B55386.165252842414141 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165252842414141
          (code B ref 55386); Sat, 14 May 2022 11:41:02 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 11:40:24 +0000
Received: from localhost ([127.0.0.1]:45904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npq8G-0003g1-0v
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 07:40:24 -0400
Received: from quimby.gnus.org ([95.216.78.240]:48396)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1npq8E-0003fh-1b
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 07:40:22 -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=BQLDxp8Js/x77w3mZzkKM/bJiHjcqb0WsAXAglxa0Mg=; b=jKwuR1KDpCkYZIeheHyKVkEjjQ
 8G/yEhrrs0G/vNGrpoEKY7YXjNcZX3XNSqvAeO2ozyElGFt7u3N+ZFn4aS+UywCbOtuP/4YprAkUw
 yquYlBEw13rezdIOjnYJdipHyZDftnFrSZdqFkwtY4FGcsjBxqMgAwdVdR7k8UjVZyZM=;
Received: from 77.18.168.214.tmi.telenormobil.no ([77.18.168.214] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1npq84-0003Xz-S1; Sat, 14 May 2022 13:40:15 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
 <87a6bl305x.fsf@HIDDEN> <83o800lbtn.fsf@HIDDEN>
Date: Sat, 14 May 2022 13:40:11 +0200
In-Reply-To: <83o800lbtn.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 May
 2022 12:09:56 +0300")
Message-ID: <87lev4l4v8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > How about the below?
 It's 3% to 9% slower than the find/grep version > (because it examines more
 files, I think), but much simpler (IMNSHO), > and works on any platform without
 any caveats. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 0.0 TVD_RCVD_IP            Message was received from an IP address
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> How about the below?  It's 3% to 9% slower than the find/grep version
> (because it examines more files, I think), but much simpler (IMNSHO),
> and works on any platform without any caveats.

[...]

> -  (let ((files (process-lines-ignore-status
> -                find-program root
> -                "-name" "*.el"
> -                "-exec" grep-program
> -                "-l" "^[ \t]*(declare-function" "{}" "+")))
> +  (let ((files (directory-files-recursively root "\\.el\\'")))
>      (when files
>        (apply #'check-declare-files files))))

I'm surprised that it's just 9% slower -- there's 2K files in the Emacs
tree, and only one a quarter of them have a declare-function.  Is
process-lines-ignore-status really slow or something?

But the change looks fine to me in any case.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 12:07:02 +0000
Resent-Message-ID: <handler.55386.B55386.165252998117239 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165252998117239
          (code B ref 55386); Sat, 14 May 2022 12:07:02 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 12:06:21 +0000
Received: from localhost ([127.0.0.1]:45950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npqXE-0004Tl-6G
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 08:06:21 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50298)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1npqXC-0004TY-DT
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 08:06:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53770)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npqX6-0008SK-Vu; Sat, 14 May 2022 08:06:05 -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=lr/hTW+ySujVibeVE3EXvS6c8mXPnPusnGSeK8rELIg=; b=K0WmWkqVTJtB
 jcVb97F1mvi0/RdGUp/drFT0r1qY1/Ecv33dK3TA8jmDVpL0Ap/FsU79mPhbFZ+4HKYsXDRSnjmKG
 ePt3Cmti5staDwPQJmjo61myOC9UV0IwivkUtY/kn99S/dtaPJYVcgjtuU4asQElucNh0H7b0ug+F
 eVf3+Pu8JthkwIZCvCK60SBTbeCIHD3Tno6B8FcZZLpQzSeQK9RI3madX6vE5sCLvAF8ZdPqux2JB
 lZhB/HzGUKekKiikOf0+kM5wX1g3OBse6Xjvc2vHIOoUquznJhTkfZOhc4E6BKl9B16p1869KiHKW
 8pUEdUGImrV+02hoe77DUw==;
Received: from [87.69.77.57] (port=2813 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1npqX6-000827-E3; Sat, 14 May 2022 08:06:04 -0400
Date: Sat, 14 May 2022 15:05:56 +0300
Message-Id: <83k0aol3ob.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87lev4l4v8.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sat, 
 14 May 2022 13:40:11 +0200)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
 <87a6bl305x.fsf@HIDDEN> <83o800lbtn.fsf@HIDDEN> <87lev4l4v8.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
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 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: yasu@HIDDEN,  55386 <at> debbugs.gnu.org
> Date: Sat, 14 May 2022 13:40:11 +0200
> 
> > -  (let ((files (process-lines-ignore-status
> > -                find-program root
> > -                "-name" "*.el"
> > -                "-exec" grep-program
> > -                "-l" "^[ \t]*(declare-function" "{}" "+")))
> > +  (let ((files (directory-files-recursively root "\\.el\\'")))
> >      (when files
> >        (apply #'check-declare-files files))))
> 
> I'm surprised that it's just 9% slower -- there's 2K files in the Emacs
> tree, and only one a quarter of them have a declare-function.  Is
> process-lines-ignore-status really slow or something?

I don't know if it's really slow, but it runs Grep on each file, and
that slows down the command it launches.  directory-files-recursively
is much faster, but then check-declare-files has more files to check.

I think the slowdown depends on the system and on the build.  I only
tested in unoptimized builds, and the GNU/Linux system to which I have
access is a relatively slow VM.  So maybe you should time this
yourself before we decide whether the slow-down is acceptable?

Or what kind of slow-down can we endure before we feel uneasy about
the change?

> But the change looks fine to me in any case.

I can install now if you are okay with the above.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 13:28:02 +0000
Resent-Message-ID: <handler.55386.B55386.165253484126077 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: larsi@HIDDEN, Po Lu <luangruo@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165253484126077
          (code B ref 55386); Sat, 14 May 2022 13:28:02 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 13:27:21 +0000
Received: from localhost ([127.0.0.1]:45992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nprnl-0006mX-0W
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 09:27:21 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34178)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nprni-0006mG-N2
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 09:27:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54620)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nprnd-0004mp-0p; Sat, 14 May 2022 09:27:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=oy2E3QRY9Pbc6yvNCQfCjRerx9LdgaLyGFXvbG5VcS4=; b=rNbWiBiJgbyRkaHN2A72
 xTmK1VyMWtTFjHHBGyto/YxsHjaX/oMsULqGM1/9r7nm+vuwsClhzBDUxu6NMP4r62jRaRLOdwnzr
 rSJ4E06AFZgEBGwXQQtURzY0CcW+3pdI9WiLQ23EbxRxscSzK9OgCZmHk4+yWjej3Xaab+uSeoZv/
 SJCCy/1v71BZE/GXJWAqrTqewA5g1uz1NP7eqrmAJyjbChRDD8c1QKDljmLROMpUH1FFsHIO+7kOs
 eSDZrdCgusI43iyyLmyQXBrkp2eqWMDKPGNea1e1RM1AFPK3JNtTlFdnUdfg8OZGnB5vPuzLGLAOo
 98TW5rCFs6uPvQ==;
Received: from [87.69.77.57] (port=3817 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nprnb-0007Ct-OM; Sat, 14 May 2022 09:27:12 -0400
Date: Sat, 14 May 2022 16:27:02 +0300
Message-Id: <83ilq8kzx5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <83o800lbtn.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 14
 May 2022 12:09:56 +0300)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN> <87a6bl305x.fsf@HIDDEN>
 <83o800lbtn.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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 (---)

> Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
> Date: Sat, 14 May 2022 12:09:56 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> > (Hm...  it finds over a 100 in-tree declarations that it says are
> > malformed/wrong...  Perhaps somebody should have a look at that.)
> 
> Yes, please.

I've now fixed many of those.  The ones left are:

  . those from Org -- should be fixed in Org repository
  . references to packages not in core (like BBDB and W3M)
  . stuff that _looks_ like functions, but isn't: compiler-macros,
    constructors, games we play with setf etc. -- this is where
    check-declare "Needs Work"(TM) to be smarter

There are two warnings regarding PGTK which I didn't know what to do
about:

  lisp/frame.el:1996:Warning (check-declare): said ‘pgtk-frame-list-z-order’ was
      defined in src/pgtkfns.c: function not found

  lisp/term/pgtk-win.el:48:Warning (check-declare): said ‘pgtk-hide-emacs’ was
      defined in src/pgtkfns.c: function not found

Those functions indeed don't exist, AFAICT, but they _are_ called from
Lisp.  Po Lu, can you please DTRT there?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 13:41:01 +0000
Resent-Message-ID: <handler.55386.B55386.165253560727509 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: yasu@HIDDEN, larsi@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165253560727509
          (code B ref 55386); Sat, 14 May 2022 13:41:01 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 13:40:07 +0000
Received: from localhost ([127.0.0.1]:46019 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nps07-00079d-3j
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 09:40:07 -0400
Received: from sonic311-23.consmr.mail.ne1.yahoo.com ([66.163.188.204]:41268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nps05-000793-1M
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 09:40:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1652535598; bh=qdroTdIonPAf2Kvosw2p/JNPEt4JoDyhU263L1G7iJA=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=flOa6IR+jfugwk9gxI2yhwyAG6o1c/+BRTcTz6WBW3tSHJYQXRJL1Fe6DZ7/Lgzb6F2LeM2FBlWpFep7/X22MP6ey0slEqOsTuTLTnlvtI8ecP6JvWVU8JZeGf0/h7tQyq/JaS2CD4RbC1fTgrONzfmJk7l9F3yv2q1mPZk2qgE9VZEyP3tvi5ZAyuyLwP9CaDKpIIpbzxc4r0nkmLbsW8m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owNKVY.N1l26rAIYn4Hh0h8paKJc5CQ69npFj0VmK
 OZrnsxsltNJk2vYwofB.Dln5essoGq3aWUxUY9V_l4uwK3uSP7tVoBu.AnvrRWOZiWnxraMWZDDX
 Fn9KWNaDE1QNNM._9Fhl69pXWx72Y4mOGG1codTGXa64u3xxqL8ac_MP4Mz2THIOC7duY04JokOx
 7vGPb_lnmHLRi3arlgEtKf95g.vG9SCHBiv8cEVinWnSyxfmheI2v_Beh1rwAMsxERFQM3ZfqtrV
 PEiIH3rrRuucMaQTb5drwIVIDpXT1gf_sfuzMKrNcnT9MPJB9WhMeqWXPu6wy1ZeJzH_lnMmcnGB
 XO2HuxdnyzSEoy3FI6C.oSZvCcnKlUsZQudBPkS6.d_3iyr3QzHmHGwncwIW32HGw9Kx65qpEyEq
 nVMs7hctTJB077xKb552.tgtGAX1JlvkEbDUcefCRGukJsabUehiLceeqe16h1rX0pfwgwdwD__m
 uEX6d4w5YCDPMQAI1zcefyNShICNxWQbHib85NgCMgPure6SjHDUUuO.OyR5vdfKBPjVwAIwVYlN
 Tb8tk.r6odsyT09VrC8LPphOs5tprfGNOhtwhjCv0RFPj.4Xo3_9BzyChIcnzp9bQuq28GZ.cgUk
 dAb309GSiCjwJ9Z1Sqj4fa4Aqe3GJii76z3ehUJRtRdNGhV6k3sVQRK57OZg.NuEdmWHotS8H7Sm
 eO64WlAIEuZS1Q_SCNL3vHzHLdRNZJs6vXqkqPiT172G4NcfeBHbjX0wjYmRKeHjsC9jmDYvLbta
 7Zqnwlr.62TX4d2i.qPbRvwO1n8_qTG1D9PLcfn7_x9z0ynPC17uR8__FUmh4sh72
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sat, 14 May 2022 13:39:58 +0000
Received: by hermes--canary-production-sg3-856bf69955-nc7dv (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 1cda03005e0c01a29fe038b21dc92c69; 
 Sat, 14 May 2022 13:39:54 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
 <87a6bl305x.fsf@HIDDEN> <83o800lbtn.fsf@HIDDEN>
 <83ilq8kzx5.fsf@HIDDEN>
Date: Sat, 14 May 2022 21:39:49 +0800
In-Reply-To: <83ilq8kzx5.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 May
 2022 16:27:02 +0300")
Message-ID: <875ym8teqi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.20188
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 747
X-Spam-Score: -0.0 (/)
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>   lisp/frame.el:1996:Warning (check-declare): said =E2=80=98pgtk-frame-li=
st-z-order=E2=80=99 was
>       defined in src/pgtkfns.c: function not found
>
>   lisp/term/pgtk-win.el:48:Warning (check-declare): said =E2=80=98pgtk-hi=
de-emacs=E2=80=99 was
>       defined in src/pgtkfns.c: function not found
>
> Those functions indeed don't exist, AFAICT, but they _are_ called from
> Lisp.  Po Lu, can you please DTRT there?

Those are copy-paste errors from when the Lisp part of the PGTK port was
first written by blindly copying code from the NS port that doesn't
really apply.  (The original author of the PGTK port is probably the
only person who knows why that happened.)  I will delete them.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 13:45:01 +0000
Resent-Message-ID: <handler.55386.B55386.165253588928016 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: yasu@HIDDEN, larsi@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.165253588928016
          (code B ref 55386); Sat, 14 May 2022 13:45:01 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 13:44:49 +0000
Received: from localhost ([127.0.0.1]:46026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nps4e-0007Ho-O9
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 09:44:48 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37090)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nps4d-0007Ha-Bd
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 09:44:47 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55136)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nps4W-0001OM-2G; Sat, 14 May 2022 09:44:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=D2HZbGgzW0cZT91bPjwaeqr8lL/x1cKJFo8fk289/lI=; b=KrfvftQv4cw5lDNGPxT/
 p4+5qMVk3gKDmnr2Nppw4Bf2SJQj8I1YTO5jtbsv8Y9TUtz9+knLva/uRS0hJumE+Ieg+LIJljSKM
 caZzHhSobhpQk3THitBTNx3EFbi01nrpDRJbvKhahh8zgIyYaNZXfZssLTT+Ny5vMvzGkzf8Yblwi
 VXYIXXaSyB6ER+UNqQ6j8owbBLdsBty/JTTjzEercWrEU+MjHYoXwmg9GsAmIVvxI5FkVtC0gtfLs
 z+DqBKRYIZSH/SI3T+Fyhhwl5EFo8ijUWeJJzdW5eQJlrc6Mbel5tPrApKchvSr0gi4xYBh3nO07k
 2QjEL0XFV3v4ew==;
Received: from [87.69.77.57] (port=4886 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nps4V-0006IF-He; Sat, 14 May 2022 09:44:39 -0400
Date: Sat, 14 May 2022 16:44:29 +0300
Message-Id: <83fslckz42.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <875ym8teqi.fsf@HIDDEN> (message from Po Lu on Sat, 14 May
 2022 21:39:49 +0800)
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
 <87a6bl305x.fsf@HIDDEN> <83o800lbtn.fsf@HIDDEN>
 <83ilq8kzx5.fsf@HIDDEN> <875ym8teqi.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: larsi@HIDDEN,  yasu@HIDDEN,  55386 <at> debbugs.gnu.org
> Date: Sat, 14 May 2022 21:39:49 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >   lisp/frame.el:1996:Warning (check-declare): said ‘pgtk-frame-list-z-order’ was
> >       defined in src/pgtkfns.c: function not found
> >
> >   lisp/term/pgtk-win.el:48:Warning (check-declare): said ‘pgtk-hide-emacs’ was
> >       defined in src/pgtkfns.c: function not found
> >
> > Those functions indeed don't exist, AFAICT, but they _are_ called from
> > Lisp.  Po Lu, can you please DTRT there?
> 
> Those are copy-paste errors from when the Lisp part of the PGTK port was
> first written by blindly copying code from the NS port that doesn't
> really apply.  (The original author of the PGTK port is probably the
> only person who knows why that happened.)  I will delete them.

That's what I thought, but couldn't be sure.  Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 15:37:01 +0000
Resent-Message-ID: <handler.55386.B55386.16525425959486 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.16525425959486
          (code B ref 55386); Sat, 14 May 2022 15:37:01 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 15:36:35 +0000
Received: from localhost ([127.0.0.1]:47285 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nptop-0002Sw-MG
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 11:36:35 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nptoo-0002Sa-4O
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 11:36:34 -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=RTkoLDwQRgv7Qnncb6DHu0HBUCu2E7D5NX7qxcCKfTw=; b=O9UzyeXLshaLg53E0ad4voAyfb
 HqxySpn9eXgxk7csdgPPz58TQIv/QFhiun8cuf1y2142NA9d6HWpsXpuUjjjN47tWosqcwwaD2ESo
 qcCW7y3xK6xfbedRVNdzkIT/Jgg+8VXJ/NaCi1fH0iI3TqQw0bccAoBAq5ZEEWUGxk1o=;
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 <larsi@HIDDEN>)
 id 1nptof-0005av-EH; Sat, 14 May 2022 17:36:27 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
 <87a6bl305x.fsf@HIDDEN> <83o800lbtn.fsf@HIDDEN>
 <87lev4l4v8.fsf@HIDDEN> <83k0aol3ob.fsf@HIDDEN>
Date: Sat, 14 May 2022 17:36:23 +0200
In-Reply-To: <83k0aol3ob.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 May
 2022 15:05:56 +0300")
Message-ID: <87tu9sjfd4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> But the change looks
 fine to me in any case. > > I can install now if you are okay with the above.
 Sure, go ahead. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> But the change looks fine to me in any case.
>
> I can install now if you are okay with the above.

Sure, go ahead.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#55386: 29.0.50; check-declare-directory doesn't work on Windows
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 14 May 2022 15:38:02 +0000
Resent-Message-ID: <handler.55386.B55386.16525426639613 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55386
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, yasu@HIDDEN, 55386 <at> debbugs.gnu.org
Received: via spool by 55386-submit <at> debbugs.gnu.org id=B55386.16525426639613
          (code B ref 55386); Sat, 14 May 2022 15:38:02 +0000
Received: (at 55386) by debbugs.gnu.org; 14 May 2022 15:37:43 +0000
Received: from localhost ([127.0.0.1]:47289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nptpu-0002Uz-VZ
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 11:37:43 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nptpt-0002Uj-Ax
 for 55386 <at> debbugs.gnu.org; Sat, 14 May 2022 11:37:41 -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=tjnrk4UUM/mYDFaAZlAohIluUTjgGb7is57WdgK/uOM=; b=MCcVdNeCq38SsUEa3VvCYrCloq
 V6Yo3VjVBVEn3rjEOgGiE9ndLptFFVEB17+yrzY3AKzfczY7zZUA6mfBUIF6jKaFzJS/ZVGPo6kP1
 BVHrUQJz/maBMTqULY6QasTCXnZKBZRNWgXmWC+GjBP9zXGpl4rbqHaKRFzy755D7v8I=;
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 <larsi@HIDDEN>)
 id 1nptpk-0005bM-TE; Sat, 14 May 2022 17:37:35 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <20220513.002244.1042559713148422728.yasu@HIDDEN>
 <878rr6ycaa.fsf@HIDDEN> <835ymapupz.fsf@HIDDEN>
 <878rr5wrma.fsf@HIDDEN> <83pmkhmwyv.fsf@HIDDEN>
 <87a6bl305x.fsf@HIDDEN> <83o800lbtn.fsf@HIDDEN>
 <83ilq8kzx5.fsf@HIDDEN>
Date: Sat, 14 May 2022 17:37:32 +0200
In-Reply-To: <83ilq8kzx5.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 May
 2022 16:27:02 +0300")
Message-ID: <87pmkgjfb7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > . stuff that _looks_
 like functions, but isn't: compiler-macros, > constructors, games we play
 with setf etc. -- this is where > check-declare "Needs Work"(TM) to be smarter
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
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 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>   . stuff that _looks_ like functions, but isn't: compiler-macros,
>     constructors, games we play with setf etc. -- this is where
>     check-declare "Needs Work"(TM) to be smarter

Perhaps open a new bug report for that?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Sat, 14 May 2022 15:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.