From unknown Wed Jun 18 00:24:35 2025
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
From: bug#48471 <48471@debbugs.gnu.org>
To: bug#48471 <48471@debbugs.gnu.org>
Subject: Status: 28.0.50; Incorrect handling of `project-ignores' on macOS
(BSD find?) if project root is a directory name
Reply-To: bug#48471 <48471@debbugs.gnu.org>
Date: Wed, 18 Jun 2025 07:24:35 +0000
retitle 48471 28.0.50; Incorrect handling of `project-ignores' on macOS (BS=
D find?) if project root is a directory name
reassign 48471 emacs
submitter 48471 Philipp
severity 48471 normal
thanks
From debbugs-submit-bounces@debbugs.gnu.org Sun May 16 16:05:30 2021
Received: (at submit) by debbugs.gnu.org; 16 May 2021 20:05:30 +0000
Received: from localhost ([127.0.0.1]:51542 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1liN0z-0007U2-S2
for submit@debbugs.gnu.org; Sun, 16 May 2021 16:05:30 -0400
Received: from lists.gnu.org ([209.51.188.17]:47866)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1liN0y-0007Tv-3z
for submit@debbugs.gnu.org; Sun, 16 May 2021 16:05:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46128)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1liN0x-00082d-UJ
for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 16:05:27 -0400
Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:40764)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1liN0v-00048N-TZ
for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 16:05:27 -0400
Received: by mail-ej1-x62e.google.com with SMTP id n2so6084304ejy.7
for ; Sun, 16 May 2021 13:05:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version;
bh=EHlCxTsziUlBXTm0iyRlp9gfcRez98FyJcrh+C+Mok0=;
b=hzJGFl2V/i/pOP/0OWhPGB7vNQk2UlJT4Ib0kn8SguFOhUkQlTxeCMMmPIPwBj3WBl
OXUUk44RzXoTX26PpBg79Sp4EH+eMxFOjtgMqXRxFUAuGNYg7OPJnSastACXCFHSBKLx
W1JEJ7wOpjmYG21yvEY7Xa5/k1pzTWAaErP9cdblU9or+Jz1FIpP9yDc82hJTSNSEnh1
6gVwS9RkcIvpkCBpMS6KLmxA8Kqw7GTvpUufwHHfMNoGr0UXCafM73/lQDQuRbHtrmyI
Nl1sdfA5CGI5zcr5/I3SP7iWL8xnbznhLEOV7V3xRZwHY2Dlar9MrzZd1qitCxQt1gKK
pK0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
bh=EHlCxTsziUlBXTm0iyRlp9gfcRez98FyJcrh+C+Mok0=;
b=tKrqSxOzoBZLfNDCfWj6auUwVj1/ebSl/nWcP0A+ukA6ni0WmV3t/tOoni+Mtpkrjf
o5AfIDg/1ETAQ9DRPePFcVBzy3qRy+KYR8GJfvPHIJ5IJ3Rn3hea4iApJise9ugtUwlA
MGfMzZ+g2qePc2c8CzuJ+j8C98nzv/ybw9zVxOSQ9NMP2eRhooyb6FtyzAP/v2bCFr0T
Fza6ntz/h3HUu05pSLA1Q2EAxW3x6u9v6DMiGd+ic34ZrkrVDfUZVmu5yC4D1tA2/aQb
fd5JHaEKCuykPauJGJ+BwDbgQGrcsyT4vNfXLmWQa97Jt7zlygMtalGP/h0bo8vf2Lfu
VBhQ==
X-Gm-Message-State: AOAM532kkM+or8HUaU/m6RhdRLU2qCJya6qyVUJITJte6gAWA72WPl4J
AfPtt4k6Jgn5oTEEjwX09AQSCz8VQ/NdaQ==
X-Google-Smtp-Source: ABdhPJxEbfyzr+hWmoI5PqHgfpNLceKtAY9XUpejdDkkqe1iIjONtOZlfcwjM7cYVYFvzVVLGgE/sw==
X-Received: by 2002:a17:906:538a:: with SMTP id
g10mr32803225ejo.243.1621195522887;
Sun, 16 May 2021 13:05:22 -0700 (PDT)
Received: from Philipps-MBP.fritz.box ([46.128.198.100])
by smtp.gmail.com with ESMTPSA id e22sm9790748edu.35.2021.05.16.13.05.21
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 16 May 2021 13:05:22 -0700 (PDT)
From: Philipp
To: bug-gnu-emacs@gnu.org
Subject: 28.0.50; Incorrect handling of `project-ignores' on macOS (BSD
find?) if project root is a directory name
Date: Sun, 16 May 2021 22:05:21 +0200
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::62e;
envelope-from=p.stephani2@gmail.com; helo=mail-ej1-x62e.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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,
FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -2.1 (--)
The following happens at least on macOS with its BSD find. It does
*not* happen with GNU find.
Create an empty directory /tmp/foo and files bar and baz in that
directory. Then, define a trivial project:
(cl-defmethod project-roots ((_ (eql foo))) '("/tmp/foo/"))
(cl-defmethod project-ignores ((_ (eql foo)) _) '("./bar"))
The important point here is that the project root is a directory name,
not a directory file name.
Now, with macOS find:
(project-files 'foo)
=> ("/tmp/foo//bar" "/tmp/foo//baz")
Note how the `project-ignores' result has been ignored. The problem is
that macOS find doesn't normalize the directory name in any way:
/tmp/foo$ find /tmp/foo/
/tmp/foo/
/tmp/foo//baz
/tmp/foo//bar
/tmp/foo$ find /tmp/foo/ '(' -path /tmp/foo/bar -prune ')' -o -print
/tmp/foo/
/tmp/foo//baz
/tmp/foo//bar
/tmp/foo$ find /tmp/foo/ '(' -path /tmp/foo//bar -prune ')' -o -print
/tmp/foo/
/tmp/foo//baz
XRef will generate a prune pattern like /tmp/foo/bar, and find will
ignore it because it doesn't exactly match the filenames.
To work around this, XRef should probably only pass directory file names
to find, not directory names, at least on macOS.
In GNU Emacs 28.0.50 (build 119, aarch64-apple-darwin20.4.0, NS appkit-2022.44 Version 11.3.1 (Build 20E241))
of 2021-05-16
Repository revision: 0212fb180a118795b4de383cc712e7079c998cef
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2022
System Description: macOS 11.3.1
Configured using:
'configure --with-modules --without-xml2 --without-pop --with-mailutils
--enable-gcc-warnings=warn-only --enable-checking=all
--enable-check-lisp-object-type 'CFLAGS=-ggdb3 -O0''
Configured features:
ACL GNUTLS JSON LCMS2 MODULES NOTIFY KQUEUE NS PDUMPER PNG THREADS
TOOLKIT_SCROLL_BARS ZLIB
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs rfc822
mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs time-date
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils phst skeleton derived edmacro kmacro pcase ffap thingatpt url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json map url-vars mailcap rx
gnutls puny dbus xml subr-x seq byte-opt gv bytecomp byte-compile cconv
compile text-property-search comint ansi-color ring cl-loaddefs cl-lib
iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process emacs)
Memory information:
((conses 16 70856 6582)
(symbols 48 8362 1)
(strings 32 24246 2104)
(string-bytes 1 792999)
(vectors 16 16049)
(vector-slots 8 212521 6692)
(floats 8 26 28)
(intervals 56 220 0)
(buffers 992 10))
From debbugs-submit-bounces@debbugs.gnu.org Sun May 16 20:23:53 2021
Received: (at 48471) by debbugs.gnu.org; 17 May 2021 00:23:53 +0000
Received: from localhost ([127.0.0.1]:51676 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1liR33-0005N8-39
for submit@debbugs.gnu.org; Sun, 16 May 2021 20:23:53 -0400
Received: from mail-wm1-f49.google.com ([209.85.128.49]:44770)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1liR31-0005Mt-9w
for 48471@debbugs.gnu.org; Sun, 16 May 2021 20:23:51 -0400
Received: by mail-wm1-f49.google.com with SMTP id
y184-20020a1ce1c10000b02901769b409001so1147130wmg.3
for <48471@debbugs.gnu.org>; Sun, 16 May 2021 17:23:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:subject:to:references:from:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=0a0nw+B7IFnA/xh8UWgFTj003ptC+aBuhFkCw4UoOV8=;
b=vFoaI7ZbABnG8ZzYUN4FV58JXVlnaXK7EDzhN+6h4eVrB+IlVJiLlaHp915SFl3K5I
ZcEed2web7FEoxK7Mi4oKuASso/6N/mDKAEHbtg+y2jdKG2bp5Xa7/qrmdYP0kJZ9Rjk
ODzYvJhNOL4rDsgnzFWCJTouTf9/wp1mYW+R8plCUok173HfVxjyNmbJ/F6pyYLFV/cK
Zvie79WTGlaxyaNORjIZc3Hxaz6Uyy4L6NgywCQqfHou3TUXEEUWNvvaxORqChseqxVN
6fZFBWtz9MRl6R22Q1cjh/OuTLS2UlCAhdYlGRw0CkD3m1IRS4yTyVNAJr0HfOkq5tvg
qPEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:subject:to:references:from:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=0a0nw+B7IFnA/xh8UWgFTj003ptC+aBuhFkCw4UoOV8=;
b=uJ/0ldyJmVDXkbJEpPkzeCNaMQzXptCdHOp7FuIN8FWn9GODkro0EkrXwe/UZYeUeH
F/HoyizGWz5vK2MdN8COPZUFwj/wTzCr/hLItlNY81Eu8bu5x7rhexM2Jcan1GkhjXLM
q2up1UGfeZItfHspJlIu7s55TQMX4U33yDG3S4QCVAo5uaViqJ+QoY4T6xfbMgHaK3On
sXZTOOzRcBoeGNys35CQFkgyu4yCvTNJSxL6GsZHwvaqjUx4W3zpDsXO/0Dt7QW7ItgI
tzOnACbLIHZVxB0R6Yv3b8xcwJZsj+jH7r9bNsDrQVJiHjCT5fgXC5moRbNnFr0n4Ap9
Xr/g==
X-Gm-Message-State: AOAM531a4VdbymtwkS6CwAsmn9WtQSCW9X9X7MKmJKALIbPy1zpvTdLY
2XjkMNxbl23sk7STztRl91gD8eieQn0=
X-Google-Smtp-Source: ABdhPJxStbZh+8LFLuwOIRSrDPfRoWmNqJdqK0zU4s88Fi7Wz3SNOx8OcmCMwSYZbV3+gHdHtXBLow==
X-Received: by 2002:a1c:bdc4:: with SMTP id
n187mr18837214wmf.175.1621211025544;
Sun, 16 May 2021 17:23:45 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
by smtp.googlemail.com with ESMTPSA id q27sm11970812wrz.79.2021.05.16.17.23.44
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Sun, 16 May 2021 17:23:45 -0700 (PDT)
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
To: Philipp , 48471@debbugs.gnu.org
References:
From: Dmitry Gutov
Message-ID: <7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
Date: Mon, 17 May 2021 03:23:43 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To:
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 48471
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.5 (/)
Hi!
On 16.05.2021 23:05, Philipp wrote:
> To work around this, XRef should probably only pass directory file names
> to find, not directory names, at least on macOS.
Could you track down the piece of code that's misbehaving? Maybe with a
little edebug-ing.
I don't have any BSD find at hand, but
(xref--find-ignores-arguments '("./bar") "/tmp/foo/")
returns
"\\( -path /tmp/foo/bar \\) -prune -o "
here.
Also, your return value of (project-files 'foo) seems to indicate that
you're using the version of project.el that doesn't include the commit
665b4e7c4e093391a353506e7b2385f0902db70b. Please see if it fixed this
problem as well.
From debbugs-submit-bounces@debbugs.gnu.org Mon May 17 15:37:52 2021
Received: (at 48471) by debbugs.gnu.org; 17 May 2021 19:37:52 +0000
Received: from localhost ([127.0.0.1]:53838 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lij3n-0001CQ-VQ
for submit@debbugs.gnu.org; Mon, 17 May 2021 15:37:52 -0400
Received: from mail-wr1-f41.google.com ([209.85.221.41]:40856)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lij3l-0001CC-Kk
for 48471@debbugs.gnu.org; Mon, 17 May 2021 15:37:50 -0400
Received: by mail-wr1-f41.google.com with SMTP id z17so7624221wrq.7
for <48471@debbugs.gnu.org>; Mon, 17 May 2021 12:37:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=hs8PLeVQ6ynkRkreGbnXA1VIRQtK8BofjHerVn7B+Eo=;
b=rSQGClEp6Rb4HY7zzi83XoKFFeM2wt+oGC/Nxhm5AfVefDL6YNifqTKYG3DVMC+orW
3/HoKw2Z/iuSHd4wYWko1Yt+wYLcUL3mc7p+wzxpKa4UzIs8AQmhUx1e9A4MZNgkYiuQ
TOO6Upmg1fMElUU3Evct/1wyXLZXLl0ciFGXE4Wpwm9He3DaDXLlaovcayfEB1shP/5h
xcW13VPse53SpTsmnqNQABRyFvu3ayB7ZdKLfSfd7od2G4mWH00+VbDrSEdNm4wO3FAW
GJxLNaliSSjAZEawTHD7MkXhFRG8W3bOprPSa2wSlKWZMXJqBjPeV23hOnfujZ/1skjC
z9zg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=hs8PLeVQ6ynkRkreGbnXA1VIRQtK8BofjHerVn7B+Eo=;
b=ijuvKrBU1LrYjP8bBGatTbQhf1zvHrW526dj/RBEa/qPz/ZO7QMXXYjg7jWC+mELkw
95DAAt07O3iPMY0SxbgH75zlfi7Pjo1VxbBn2ANrAEuAF14BRB0h6lVfnVUFjxnb3VtK
ZiXwxLZsLZm3TW8nbjbQZlbk3CNP5Ht0Pp/vJPX1iraXRYO/4hXAaaIJ2OW8F7WQoCzV
xa/2xVGbGxOkFuVU50IhoIc4DopwsrNaibVMn19OyGR8tGxTZULNTmBJSV9aHmQxH/UF
R4l80Ltvvu2n5fazsa9VdpBPYFT58mPHQp3F61XvivQ/HYa/Py5+iENj4UIPe+tOip4P
6aeg==
X-Gm-Message-State: AOAM532fGpQE3lCQQVFMaHK1hwAFu4gkK3HwnIu1sM3NzRnE6HGVfjI0
H+CEJasCtRppOD3h3uMKic0=
X-Google-Smtp-Source: ABdhPJy4NfHvNdDhvl0OLgTdLezxPxGyl1l4Bh9BUl9r2MB9pW5UrArBoRzSLcGatspOhJnIqFy5GA==
X-Received: by 2002:a5d:4574:: with SMTP id a20mr1546035wrc.188.1621280263765;
Mon, 17 May 2021 12:37:43 -0700 (PDT)
Received: from smtpclient.apple ([46.128.198.100])
by smtp.gmail.com with ESMTPSA id v10sm21221105wrq.0.2021.05.17.12.37.43
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Mon, 17 May 2021 12:37:43 -0700 (PDT)
Content-Type: text/plain;
charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
From: Philipp
In-Reply-To: <7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
Date: Mon, 17 May 2021 21:37:42 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
To: Dmitry Gutov
X-Mailer: Apple Mail (2.3654.80.0.2.43)
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 48471
Cc: 48471@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.8 (/)
> Am 17.05.2021 um 02:23 schrieb Dmitry Gutov :
>=20
> Hi!
>=20
> On 16.05.2021 23:05, Philipp wrote:
>> To work around this, XRef should probably only pass directory file =
names
>> to find, not directory names, at least on macOS.
>=20
> Could you track down the piece of code that's misbehaving? Maybe with =
a little edebug-ing.
>=20
> I don't have any BSD find at hand, but
>=20
> (xref--find-ignores-arguments '("./bar") "/tmp/foo/")
>=20
> returns
>=20
> "\\( -path /tmp/foo/bar \\) -prune -o "
>=20
> here.
Yes, and that's the problem. macOS find compares the "-path" value =
against /tmp/foo//bar (note the double slash), and that doesn't match. =
The exact shell command generated by project--files-in-directory is:
find /tmp/foo/ \( -path /tmp/foo/bar \) -prune -o -type f -print0
And that doesn't work on macOS:
$ find /tmp/foo/ \( -path /tmp/foo/bar \) -prune -o -type f -print
/tmp/foo//baz
/tmp/foo//bar
This needs to be either "find /tmp/foo ..." (no trailing slash) or =
"-path /tmp/foo//bar" (double slash). However, the latter than fails =
with GNU find:
$ gfind /tmp/foo/ \( -path /tmp/foo//bar \) -prune -o -type f -print
/tmp/foo/baz
/tmp/foo/bar
So probably it's better to use the former option. That works with both =
both macOS find and GNU find:
$ find /tmp/foo \( -path /tmp/foo/bar \) -prune -o -type f -print
/tmp/foo/baz
$ gfind /tmp/foo \( -path /tmp/foo/bar \) -prune -o -type f -print
/tmp/foo/baz
There's a comment in project--files-in-directory ";; In case DIR is a =
symlink." Probably the command should use the -H option instead.
>=20
> Also, your return value of (project-files 'foo) seems to indicate that =
you're using the version of project.el that doesn't include the commit =
665b4e7c4e093391a353506e7b2385f0902db70b. Please see if it fixed this =
problem as well.
This was a build from yesterday, it should definitely include that =
commit.=
From debbugs-submit-bounces@debbugs.gnu.org Mon May 17 16:02:51 2021
Received: (at 48471) by debbugs.gnu.org; 17 May 2021 20:02:51 +0000
Received: from localhost ([127.0.0.1]:53860 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lijRz-0001n4-2R
for submit@debbugs.gnu.org; Mon, 17 May 2021 16:02:51 -0400
Received: from mail-wr1-f52.google.com ([209.85.221.52]:34555)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lijRy-0001mr-1s
for 48471@debbugs.gnu.org; Mon, 17 May 2021 16:02:50 -0400
Received: by mail-wr1-f52.google.com with SMTP id r12so7723138wrp.1
for <48471@debbugs.gnu.org>; Mon, 17 May 2021 13:02:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:message-id:mime-version:subject:date:in-reply-to:cc:to
:references; bh=DPZ9d8A3KRNjuGthJ7p7Z6zZXXXRPtdsyYSHmenQf0o=;
b=aBaZ5NVZBvkLAZ3H25bVHCSU5oiKb9v6JLPC1GSbq9m31FIVJgW1Vif1X1oyi8V6pA
QabkOWa7gcXxIU9InUw4fEgixDsNJQUrnE6mGT38XSqDry1Blw0uBiAxqFxUoK1JOJZ6
ZFet6VgXXxxgDNZN73TeeNrGnAEEhG4VJmZ19LTJoak3Af1GUKBxH0BpsqrYvNKYzjat
VFplYym4IBeQDJ7bsEqjE3DgFayVRNso03Saoofc0XaqrMO24EEPIv51r+o2QJzf8lYB
9ffjvITFl2XS0gXtnyeO+gTv5yAjBLa/SFnqCMnebZZDZzkkQjtSyk2yJNZGnTfQY2we
cVLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:message-id:mime-version:subject:date
:in-reply-to:cc:to:references;
bh=DPZ9d8A3KRNjuGthJ7p7Z6zZXXXRPtdsyYSHmenQf0o=;
b=gwh7j13x+tWIKtdU3pOIqpX7WvyRtgbVNOBFANIGaMnZezDLzmcBDYgnPeMwOXVxDq
Z69dDFVHvj77s2i0Y3fwq4ZcnBe2wmUtMJwbQQoPKHDnxeUJucrdS5BvzkfIoWv09yBK
AOtth5IULL0y6vCeGxqcUIHyUDTZjUD2r/4DplrdO7V+rqVOA0jSQgHGszUH2PGTl1A1
MK7XazQfvjnsWE67kXMWx/atjaTlzWisJYM8tk0bUiQnjnmRO3Z6liSRtwCGVOaMa/aE
UgttN7m1tNE+VemcMi3PaYoweFjb4+SHQ56phJ0dFeNrcmM+UBX4a132fYk5JxhdQc+6
5hdw==
X-Gm-Message-State: AOAM53021zDPQCWjme1BJ3v2Cj6+GJ+HlIqJ9o3g8JRbyVGsBZuoUXR9
EaHhn4LLwam19wFIRMH/kFc=
X-Google-Smtp-Source: ABdhPJyQBzYpgYXfBhhh5ANCpAiu9+OGCBrEh70/IxVvvFMIvIuc9/TKc6Gi2FG1v+69bWLsRxO28w==
X-Received: by 2002:a5d:52c5:: with SMTP id r5mr1630016wrv.391.1621281764147;
Mon, 17 May 2021 13:02:44 -0700 (PDT)
Received: from smtpclient.apple ([46.128.198.100])
by smtp.gmail.com with ESMTPSA id a11sm589284wrr.48.2021.05.17.13.02.43
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Mon, 17 May 2021 13:02:43 -0700 (PDT)
From: Philipp
Message-Id: <92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
Content-Type: multipart/mixed;
boundary="Apple-Mail=_94A98D3D-5D69-4EC1-9619-60F3F9E44FE7"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
Date: Mon, 17 May 2021 22:02:42 +0200
In-Reply-To: <53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
To: Dmitry Gutov
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
X-Mailer: Apple Mail (2.3654.80.0.2.43)
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 48471
Cc: 48471@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.8 (/)
--Apple-Mail=_94A98D3D-5D69-4EC1-9619-60F3F9E44FE7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
> Am 17.05.2021 um 21:37 schrieb Philipp :
>=20
>=20
>=20
>> Am 17.05.2021 um 02:23 schrieb Dmitry Gutov :
>>=20
>> Hi!
>>=20
>> On 16.05.2021 23:05, Philipp wrote:
>>> To work around this, XRef should probably only pass directory file =
names
>>> to find, not directory names, at least on macOS.
>>=20
>> Could you track down the piece of code that's misbehaving? Maybe with =
a little edebug-ing.
>>=20
>> I don't have any BSD find at hand, but
>>=20
>> (xref--find-ignores-arguments '("./bar") "/tmp/foo/")
>>=20
>> returns
>>=20
>> "\\( -path /tmp/foo/bar \\) -prune -o "
>>=20
>> here.
>=20
> Yes, and that's the problem. macOS find compares the "-path" value =
against /tmp/foo//bar (note the double slash), and that doesn't match. =
The exact shell command generated by project--files-in-directory is:
>=20
> find /tmp/foo/ \( -path /tmp/foo/bar \) -prune -o -type f -print0
>=20
> And that doesn't work on macOS:
>=20
> $ find /tmp/foo/ \( -path /tmp/foo/bar \) -prune -o -type f -print
> /tmp/foo//baz
> /tmp/foo//bar
>=20
> This needs to be either "find /tmp/foo ..." (no trailing slash) or =
"-path /tmp/foo//bar" (double slash). However, the latter than fails =
with GNU find:
>=20
> $ gfind /tmp/foo/ \( -path /tmp/foo//bar \) -prune -o -type f -print
> /tmp/foo/baz
> /tmp/foo/bar
>=20
> So probably it's better to use the former option. That works with =
both both macOS find and GNU find:
>=20
> $ find /tmp/foo \( -path /tmp/foo/bar \) -prune -o -type f -print
> /tmp/foo/baz
> $ gfind /tmp/foo \( -path /tmp/foo/bar \) -prune -o -type f -print
> /tmp/foo/baz
>=20
> There's a comment in project--files-in-directory ";; In case DIR is a =
symlink." Probably the command should use the -H option instead.
The attached patch fixes both unit tests for project.el on my macOS =
system.
--Apple-Mail=_94A98D3D-5D69-4EC1-9619-60F3F9E44FE7
Content-Disposition: attachment;
filename=0001-Fix-find-invocation-for-macOS-Bug-48471.patch
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="0001-Fix-find-invocation-for-macOS-Bug-48471.patch"
Content-Transfer-Encoding: quoted-printable
=46rom=2008e862623eb696a7c3df0404784abf34ed0d1ab6=20Mon=20Sep=2017=20=
00:00:00=202001=0AFrom:=20Philipp=20Stephani=20=0ADate:=20=
Mon,=2017=20May=202021=2021:59:57=20+0200=0ASubject:=20[PATCH]=20Fix=20=
find=20invocation=20for=20macOS=20(Bug#48471).=0A=0A*=20=
lisp/progmodes/project.el=20(project--files-in-directory):=20Instead=20=
of=0Aappending=20a=20slash=20(which=20doesn't=20work=20well=20with=20=
macOS=20find),=20remove=0Atrailing=20slash=20and=20pass=20-H=20instead.=0A=
---=0A=20lisp/progmodes/project.el=20|=205=20++---=0A=201=20file=20=
changed,=202=20insertions(+),=203=20deletions(-)=0A=0Adiff=20--git=20=
a/lisp/progmodes/project.el=20b/lisp/progmodes/project.el=0Aindex=20=
047f55ed1a..eab60756c8=20100644=0A---=20a/lisp/progmodes/project.el=0A=
+++=20b/lisp/progmodes/project.el=0A@@=20-297,11=20+297,10=20@@=20=
project--files-in-directory=0A=20=20=20=20=20=20=20=20=20=20;;=20=
expanded=20and=20not=20left=20for=20the=20shell=20command=0A=20=20=20=20=20=
=20=20=20=20=20;;=20to=20interpret.=0A=20=20=20=20=20=20=20=20=20=20=
(localdir=20(file-name-unquote=20(file-local-name=20(expand-file-name=20=
dir))))=0A-=20=20=20=20=20=20=20=20=20(command=20(format=20"%s=20%s=20%s=20=
-type=20f=20%s=20-print0"=0A+=20=20=20=20=20=20=20=20=20(command=20=
(format=20"%s=20-H=20%s=20%s=20-type=20f=20%s=20-print0"=0A=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
find-program=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20(shell-quote-argument=0A-=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20In=20case=20=
DIR=20is=20a=20symlink.=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20(file-name-as-directory=20localdir))=0A=
+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20(directory-file-name=20localdir))=20;=20Bug#48471=0A=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(xref--find-ignores-arguments=20ignores=20localdir)=0A=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20files=0A=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20(concat=20(shell-quote-argument=20"(")=0A--=20=0A=
2.30.1=20(Apple=20Git-130)=0A=0A=
--Apple-Mail=_94A98D3D-5D69-4EC1-9619-60F3F9E44FE7--
From debbugs-submit-bounces@debbugs.gnu.org Mon May 17 19:07:04 2021
Received: (at 48471) by debbugs.gnu.org; 17 May 2021 23:07:04 +0000
Received: from localhost ([127.0.0.1]:54027 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1limKG-0006pP-5u
for submit@debbugs.gnu.org; Mon, 17 May 2021 19:07:04 -0400
Received: from mail-wr1-f54.google.com ([209.85.221.54]:43978)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1limKB-0006oq-HD
for 48471@debbugs.gnu.org; Mon, 17 May 2021 19:07:03 -0400
Received: by mail-wr1-f54.google.com with SMTP id p7so4341456wru.10
for <48471@debbugs.gnu.org>; Mon, 17 May 2021 16:06:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:subject:to:cc:references:from:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=0Z/iu5lub8MDOm/1/mJ9/16snRvaucU65Fa+EBCbcSQ=;
b=fHvmwnUukabQpfE9qsH8lWfEbyrYoIEzMMUaVy9gwdzItfTWrOwfuKl6nCMvzkHFLK
ifVj5OOiJUc9//q8KdVqLn+Md2PfZWBb4apOk+R50+kKJkLSgi9ULg4IGtqGJ+SzhGO6
P5TRyXC4rIaj/JmjwtHEFMGE0dxHvXARwz4qErhOPfhhVoFOkR1vH0Bx8E3wUDGqaVDw
gK8wTFHn7KnIpzIJge8QAJM1Ygs06hDj93WkncmYO0gu+EJwdb8DzXfkuaPoK6eCyHZW
WaEdFfoShrsPRf63dTwMUmFpbgZUoKC2Ox6v0/k4ElHtYtKOagWBVuAamTtT9MV1h0JR
//1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=0Z/iu5lub8MDOm/1/mJ9/16snRvaucU65Fa+EBCbcSQ=;
b=LpyW/3Pjia5Cj1Z9tR7A36C/aejrqYhPn64dsYL6X1I4vRTgqpi5E5RZncNUCtcO5S
e8CXhC77qsLY1eqmn0nZv39bhPjuWDc7DtorGVmoHJclYNp/gygRi1HbVqQgNfCTAexq
emGEh7GigWsFX7vCSOINR3XJb4YCwdOnP6T+IagdRP9BsOyEpZH5p2ygGCJ95Wug3CN4
9NMUW0RiP7p++9nsDVdi//8tviXGfkNx08Hgs3PMnL06ouAPvzcfPEmbzoRS3s7NW7gA
rvl5nJF5N1sisEoV9/zENVE91kwEEPDAHEpbvlahFx2hrp+69RTSPo4ch1UZxsJwKPk+
3hhw==
X-Gm-Message-State: AOAM533XmisDGMZayYhD5e/KCKe9CmWjuBCmBLHpGtAmiyCZt+IHy7LI
UzGRnyoWHbWY5N0jce+Xkxz4iTX7FbY=
X-Google-Smtp-Source: ABdhPJytgDYBrZYYO5a1hrNGd4gzWg4UuFTCVn1T8n28nM2TwP9wOeWaLlXAXn+ec3kOUTpvmQannA==
X-Received: by 2002:a5d:670c:: with SMTP id o12mr2461776wru.223.1621292813673;
Mon, 17 May 2021 16:06:53 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
by smtp.googlemail.com with ESMTPSA id m11sm18926850wri.44.2021.05.17.16.06.52
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 17 May 2021 16:06:52 -0700 (PDT)
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
To: Philipp
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
From: Dmitry Gutov
Message-ID: <79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
Date: Tue, 18 May 2021 02:06:51 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 48471
Cc: 48471@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.5 (/)
On 17.05.2021 23:02, Philipp wrote:
> The attached patch fixes both unit tests for project.el on my macOS system.
Thanks, now I think I understand the problem. And you're suggesting the
alternative solution also proposed previously in the
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00156.html
discussion.
Please go ahead with the patch, though it would be better to use a
version of it which fixes the same behavior in two other related
functions as well. The previous patch for that approach is here:
https://lists.gnu.org/archive/html/emacs-devel/2021-01/txtDduOxGoiGz.txt
(From the message
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00345.html).
Also, since it will fix the double-slash problem, we can undo the change
from 331e40a8fd491ceb35c08a3345785dab61bc60d9, the one that made our
comparisons lax (to match both single and double slashes).
From debbugs-submit-bounces@debbugs.gnu.org Sun May 23 07:08:24 2021
Received: (at 48471) by debbugs.gnu.org; 23 May 2021 11:08:24 +0000
Received: from localhost ([127.0.0.1]:40660 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lkly4-0001JG-6e
for submit@debbugs.gnu.org; Sun, 23 May 2021 07:08:24 -0400
Received: from mail-wr1-f45.google.com ([209.85.221.45]:44927)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lkly0-0001J2-W7
for 48471@debbugs.gnu.org; Sun, 23 May 2021 07:08:23 -0400
Received: by mail-wr1-f45.google.com with SMTP id i17so25470721wrq.11
for <48471@debbugs.gnu.org>; Sun, 23 May 2021 04:08:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=8LRQogXHR0R4035I3tpNBE4AwgHmGRXCjJKK+EXC0G4=;
b=d7HSy283ZKfYmMONjS7dBm1k55HzJ/uA5PeuK8bpSdY5/WUpCNY8dsiChsvVezYBl6
4VP6SgyQbZuZKQqmue1cIYsVxTVM6RO2L/Ap8aMSnCDJd2tX/+aN4Vhy8w9+HGAj3C3Y
8ImNUHvQWgR6oaCSwnpF0Mpn4ObOjQz3wSjnKG/MbZo4fprXIjafOexOjzokt+yNxJRE
OFEIAGa9Wg6xAOGd4YbWaUEwRYlsZyxLX2UzzpnJONQnWzxZiufpAmmeCIO5JGONdovF
hREG7E6LMowMvCL5PCeTUD0IZagVDE1+R8IACAUH1yaEsGtXNN7lPhBQ5E4qnju5NE5x
fCfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=8LRQogXHR0R4035I3tpNBE4AwgHmGRXCjJKK+EXC0G4=;
b=X8+gYeXW+52dce6tQf8LrNLBpWXnrkhUcLvxSy3dyZxQmvou0+sut2Xm/ZWJFu1eLl
j7Jw6avrHnYc645+cfAqmuOqHPrqYYSiRymQyGF2RIBeOIlk3ivzj69u57+buBhnj/Ts
IiIUh3s2Z/lXj009ba16dZ4Q3r9zegFSWg0op7YiWE+cNvKcq/fiPbPMRQNc5G9QqnkO
Y7PZl0ZaYGxbAQ/sPf4dgYNBYdd0yNVPer75PD6K73I18C6JH/0jGZthwwvYE4BGzzbM
bvDL99lKzQr3XNFv+GfEyfzY0+M0pRPZG5HGHNNcbsaAEIp01infA3B+6LhSyOSvMn1d
3pGA==
X-Gm-Message-State: AOAM531whXbLKgiI2sR1vIUqKwck8Ka0E7gG5d+fAw/6mJNlDV4mYoMw
etXNByIGY73MzH+1LbjN2Io=
X-Google-Smtp-Source: ABdhPJzJdSgMUqDOwXY0mkYPUX2szOyK+ju2+dTn/PTTAYw+47dDAlUutq0wesuVq4wmjCe5k7zP9Q==
X-Received: by 2002:a5d:554e:: with SMTP id g14mr17739197wrw.131.1621768095253;
Sun, 23 May 2021 04:08:15 -0700 (PDT)
Received: from smtpclient.apple ([46.128.198.100])
by smtp.gmail.com with ESMTPSA id x13sm8246862wro.31.2021.05.23.04.08.14
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Sun, 23 May 2021 04:08:14 -0700 (PDT)
Content-Type: text/plain;
charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
From: Philipp
In-Reply-To: <79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
Date: Sun, 23 May 2021 13:08:14 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
To: Dmitry Gutov
X-Mailer: Apple Mail (2.3654.80.0.2.43)
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 48471
Cc: 48471@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.8 (/)
> Am 18.05.2021 um 01:06 schrieb Dmitry Gutov :
>=20
> On 17.05.2021 23:02, Philipp wrote:
>> The attached patch fixes both unit tests for project.el on my macOS =
system.
>=20
> Thanks, now I think I understand the problem. And you're suggesting =
the alternative solution also proposed previously in the =
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00156.html =
discussion.
>=20
> Please go ahead with the patch,
Thanks, I've installed the patch as commit =
2e55201b8085d64c76d9a35bffff90a02133647e.
> though it would be better to use a version of it which fixes the same =
behavior in two other related functions as well. The previous patch for =
that approach is here: =
https://lists.gnu.org/archive/html/emacs-devel/2021-01/txtDduOxGoiGz.txt
>=20
> (=46rom the message =
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00345.html).
>=20
> Also, since it will fix the double-slash problem, we can undo the =
change from 331e40a8fd491ceb35c08a3345785dab61bc60d9, the one that made =
our comparisons lax (to match both single and double slashes).
I'm also fine with either of those, but we should first make sure that =
the code in question is well-covered by unit tests to avoid regressions.=
From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 17:44:51 2021
Received: (at 48471) by debbugs.gnu.org; 29 May 2021 21:44:51 +0000
Received: from localhost ([127.0.0.1]:57855 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1ln6lH-0004Kr-7W
for submit@debbugs.gnu.org; Sat, 29 May 2021 17:44:51 -0400
Received: from mail-wm1-f42.google.com ([209.85.128.42]:38448)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1ln6lE-0004Kb-Vp
for 48471@debbugs.gnu.org; Sat, 29 May 2021 17:44:50 -0400
Received: by mail-wm1-f42.google.com with SMTP id
u4-20020a05600c00c4b02901774b80945cso6493727wmm.3
for <48471@debbugs.gnu.org>; Sat, 29 May 2021 14:44:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:subject:to:cc:references:from:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=nMNKzAsFyQ3BY7Ymb1QUk71IDzyfCST2fw4HI7skXXs=;
b=QUmHT2NNf7yNuL0SZCOtEP5PbGN557VPLi91plVMpRcaMdAvta6GrwXXuo9UmPCqGy
iCbezmHJQkTaAqWzO/3HkhqO070+i+ZCsOUaCDOwXj8M3S9dDovE7lsbPfEgTqRc+P68
v0SqBR6v5qRGPdwvgCzWCUD1Lrnyvh6AlBPXdWBF7KDLtcHnJnZMsdoWK9f/3wpqSvWO
YIPsYI1PCMyXj3E/DULryRfIR9CjYzt+SvCrSg74kEgjImfGbHjTBEAIxzLHL6fo/lNl
e28ZS0RmwtR9PfC5KWCxQA2B4KGMlync+xktfPnu9eMzpNBUCi9am+5mnfxbr27XYNyg
FZpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=nMNKzAsFyQ3BY7Ymb1QUk71IDzyfCST2fw4HI7skXXs=;
b=t8RJ1LhavnUYlt3SCNG0VknJ0qkd/KYMDkRxLWoi9OKBvmIQ4ny80vtDdp5OqjMh7o
62AU0KJe+Ap4IAJyGfvAF8L5gsyjh75nSrFgyJiKh/LaJvb6Lr1j+Hg73t6r1yC6zBwB
2aIvYmA/uzOqz5hEdLof1tG7jS4/SyYAlqxqcsaH2N7M+1Dtt9bADaLDA7BDpoQ57Fi/
OooEWDgv+adGppbMKInbkod/wwrSinmMorazJmNDR1YYM/gLtJSVBacnh8f+Kh6iJEgt
C0DSyfdEEoyDE38/6c+I1C76dmmYi2Q9prMyAJll1LXlYJLA8vYeicvwOCabI/JMiQGA
ul1g==
X-Gm-Message-State: AOAM532CWhG7BcqofZXBg3wq5XryECl05vrxHLR3+a/tZEurfh8r4MAE
JTB7u3n2ogZGbDv8o1uPgIM=
X-Google-Smtp-Source: ABdhPJyKkKuyNpq4tgKDyxyBqPhIzK/MHlY2eq1PLU0LrZCfvXFAMq0vye5Iobsz/EP/20yBad+P2g==
X-Received: by 2002:a1c:e40b:: with SMTP id b11mr19267182wmh.123.1622324682936;
Sat, 29 May 2021 14:44:42 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
by smtp.googlemail.com with ESMTPSA id b135sm9497547wmb.5.2021.05.29.14.44.41
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Sat, 29 May 2021 14:44:42 -0700 (PDT)
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
To: Philipp
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
From: Dmitry Gutov
Message-ID: <7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru>
Date: Sun, 30 May 2021 00:44:40 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 48471
Cc: Lars Magne Ingebrigtsen , 48471@debbugs.gnu.org,
Stefan Monnier
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -0.5 (/)
On 23.05.2021 14:08, Philipp wrote:
>> though it would be better to use a version of it which fixes the same behavior in two other related functions as well. The previous patch for that approach is here:https://lists.gnu.org/archive/html/emacs-devel/2021-01/txtDduOxGoiGz.txt
>>
>> (From the messagehttps://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00345.html).
>>
>> Also, since it will fix the double-slash problem, we can undo the change from 331e40a8fd491ceb35c08a3345785dab61bc60d9, the one that made our comparisons lax (to match both single and double slashes).
> I'm also fine with either of those, but we should first make sure that the code in question is well-covered by unit tests to avoid regressions.
Tests are good to have, yes.
Speaking of the implementation, any chance we would want to have "-H"
inside grep-find-template by default?
Has that been considered in the past perhaps? Eli, Lars, Stefan?
The simplest change to that effect should look like this:
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index e9fbcbbfcd..9956ba79d0 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -777,19 +777,19 @@ grep-compute-defaults
(format "%s " (null-device))
"")))
(cond ((eq grep-find-use-xargs 'gnu)
- (format "%s -type f -print0 | \"%s\" -0 %s"
+ (format "%s -H -type f -print0 | \"%s\" -0 %s"
find-program xargs-program gcmd))
((eq grep-find-use-xargs 'gnu-sort)
- (format "%s -type f -print0 | sort -z | \"%s\" -0 %s"
+ (format "%s -H -type f -print0 | sort -z | \"%s\" -0 %s"
find-program xargs-program gcmd))
((eq grep-find-use-xargs 'exec)
- (format "%s -type f -exec %s %s %s%s"
+ (format "%s -H -type f -exec %s %s %s%s"
find-program gcmd quot-braces null quot-scolon))
((eq grep-find-use-xargs 'exec-plus)
- (format "%s -type f -exec %s %s%s +"
+ (format "%s -H -type f -exec %s %s%s +"
find-program gcmd null quot-braces))
(t
- (format "%s -type f -print | \"%s\" %s"
+ (format "%s -H -type f -print | \"%s\" %s"
find-program xargs-program gcmd))))))))
;; Save defaults for this host.
From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 00:29:13 2021
Received: (at 48471) by debbugs.gnu.org; 30 May 2021 04:29:13 +0000
Received: from localhost ([127.0.0.1]:58071 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnD4b-0007rY-IH
for submit@debbugs.gnu.org; Sun, 30 May 2021 00:29:13 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44564)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnD4Z-0007rL-S0
for 48471@debbugs.gnu.org; Sun, 30 May 2021 00:29:12 -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=WWQmMe7kKN8eKszCs94u/ac128BvEUhlAd9yoG0cKD8=; b=KY6T4+fENSXUV1AP9lCfv7si+e
MAf3/KTWKZUQw680JUdZklBgczeHeehRI/QJuN8CF1Q4gAlRA1eXJZKcvTA79O9Qh8L7hhDN0fd/U
njaUVfKUUSogGhaAMCg2m1surY0r1XV2mWv4BqmGb8tlrb9jqz3LntS48qvK0+BLiqGQ=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from )
id 1lnD4R-0005lE-ID; Sun, 30 May 2021 06:29:05 +0200
From: Lars Ingebrigtsen
To: Dmitry Gutov
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVNHBlwSymUXCQz
GRLAk0r///+AteMNAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UFHgM5NN8NSBsAAAGVSURBVDjLrZTb
dcMwCEBBLCAkD2DTDIDDBHG1/0wFO/IjTT56TvlwZF/xhgD8SfL65I88jQRQcAQhQJz0ADzJWERy
EkkgfujAzyOWFaY8+cvJ3Pjm5IJ7JPjifhoxM/AI5QWIsMjk5svVwymrfxF5Y34NdLm1K8DfGrk/
7c09FwsBrzCQ2VHbeDuL4gXoDg4f272up6BXYNSBdfD8Ej/wdHHSCKn6FRoD5F0jbgKS1lAb1sg3
jeJMGw/tYYaN6x6vuM4s0lozGlqqW5ZItni4cymt3SpJS71lNi92r6kMt1zyzLspsiI1kcrAdP/W
oY1T1wAlJsOSLX0RC49HtZQ55lbnGhXpIJLDoIiYATnvGl4Ot2bRI87MPSiESH1to49jLvhMA8LK
XLObosJAiD3xrb5Y3Qcvrox0BqA16AqO79HXFcyPML3Pw9aNyXulD4/uGKbnEKivZ3a6Aw9ntWWl
dNA7qOF+Jl+sHM1HmQ6gkMDurO4YpT2OKfF/ADKOSH2vb5epZ2RmzH6/LS8bEgX04n7Yny4/6PdH
7AKsn3wAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDUtMzBUMDM6NTc6NTIrMDA6MDCHmhC0AAAA
JXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1LTMwVDAzOjU3OjUyKzAwOjAw9seoCAAAAABJRU5ErkJg
gg==
X-Now-Playing: Crosby, Stills, Nash & Young's =?utf-8?B?X0TDqWrDoA==?= Vu_:
"Country Girl
(Whiskey Boot Hill; Down, Down, Down; Country Girl, I Think You're
Pretty)"
Date: Sun, 30 May 2021 06:29:03 +0200
In-Reply-To: <7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru> (Dmitry Gutov's
message of "Sun, 30 May 2021 00:44:40 +0300")
Message-ID: <87tumk6e0g.fsf@gnus.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Dmitry Gutov writes: > Speaking of the
implementation,
any chance we would want to have "-H" > inside grep-find-template
by default? > > Has that been considered in the past perhaps? Eli, Lars,
Stefan? 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: 0.0 (/)
X-Debbugs-Envelope-To: 48471
Cc: Philipp , 48471@debbugs.gnu.org,
Stefan Monnier
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -1.0 (-)
Dmitry Gutov writes:
> Speaking of the implementation, any chance we would want to have "-H"
> inside grep-find-template by default?
>
> Has that been considered in the past perhaps? Eli, Lars, Stefan?
I'm surprised that it isn't already in there, so unless there's some
compatibility problem (with some grep versions not having -H), I think
your patch looks good.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 02:31:54 2021
Received: (at 48471) by debbugs.gnu.org; 30 May 2021 06:31:54 +0000
Received: from localhost ([127.0.0.1]:58291 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnEzK-00038A-6Z
for submit@debbugs.gnu.org; Sun, 30 May 2021 02:31:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35020)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnEzI-000337-Gf
for 48471@debbugs.gnu.org; Sun, 30 May 2021 02:31:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34222)
by eggs.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1lnEzC-0007MY-6B; Sun, 30 May 2021 02:31:46 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1990
helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lnEzB-0001pA-Os; Sun, 30 May 2021 02:31:46 -0400
Date: Sun, 30 May 2021 09:31:56 +0300
Message-Id: <83r1ho4tr7.fsf@gnu.org>
From: Eli Zaretskii
To: Dmitry Gutov , Andreas Schwab ,
Paul Eggert
In-Reply-To: <7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru> (message from
Dmitry Gutov on Sun, 30 May 2021 00:44:40 +0300)
Subject: Re: bug#48471: 28.0.50;
Incorrect handling of `project-ignores' on macOS (BSD find?) if
project root is a directory name
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48471
Cc: p.stephani2@gmail.com, 48471@debbugs.gnu.org, larsi@gnus.org,
monnier@IRO.UMontreal.CA
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.3 (---)
> From: Dmitry Gutov
> Date: Sun, 30 May 2021 00:44:40 +0300
> Cc: Lars Magne Ingebrigtsen , 48471@debbugs.gnu.org,
> Stefan Monnier
>
> Speaking of the implementation, any chance we would want to have "-H"
> inside grep-find-template by default?
It's in Posix, but I'm not sure how portable it is in practice. Paul,
Andreas, do you happen to know?
Perhaps for 100% portability we should probe for its support?
From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 07:13:31 2021
Received: (at 48471) by debbugs.gnu.org; 30 May 2021 11:13:31 +0000
Received: from localhost ([127.0.0.1]:58461 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnJNr-0006wy-JE
for submit@debbugs.gnu.org; Sun, 30 May 2021 07:13:31 -0400
Received: from mail-wm1-f46.google.com ([209.85.128.46]:40482)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnJNp-0006wi-H0
for 48471@debbugs.gnu.org; Sun, 30 May 2021 07:13:30 -0400
Received: by mail-wm1-f46.google.com with SMTP id
b145-20020a1c80970000b029019c8c824054so113977wmd.5
for <48471@debbugs.gnu.org>; Sun, 30 May 2021 04:13:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:subject:to:cc:references:from:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=IIIXYnGPeyPK5hxSs6G+CA6z2x/n48HXUeiWv8Drl8o=;
b=Niw3YWMaut+nJZU2jGvJS2M/Ogmj5IBzqFfOe5IkkMT7sKgPseHXrt4dbBONJSPI54
XxZ1z0tmbl5qlPewj0Ha3aB2ay61CdM4wgFIZ04yh0mB1fA2uhSjn6XAfMfwv/FvfHqO
HaEZMpAb4ASMQ04214kuz9MGKmY8vjmOZ2K2VD+beN9K0EdDgwZ8n/oUIolypdK/VavC
CC3ylC166tUi9nTxZD6bLmLzID9HiftJ1kkJG1aooYa7HA2jrr8TDt8fHjaNQHAQrxIW
1YJenVt7U4Sk2VPjVnPMPo/2N7VvDTPmwVZT8NW8OjOYTpgXFXSX0fdQeMW6LusxrYpH
tYGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=IIIXYnGPeyPK5hxSs6G+CA6z2x/n48HXUeiWv8Drl8o=;
b=cQMWsk8/ZLTNM0S2HrBs30Jj2wuW8AHz/p5fe70F9Ww3tUiEuq2cUIuHkTc6IfVGPv
alvQs4LUMX8prqKO+yj+2SA+aPrINvj/4BsGdi+1paV9CoAqXhpWwCLViEhPAQH9+PMK
nOhlSrzqMdBkBgnX4q4hvvdZd9b9odK3I1QsAPniDOJus1F9SmEbSwZtRyb6dF7AQZkS
PyC6yvEwkQ7ikXGvhinJefXYeC0WVlMPM1JuKqE09Co5oAULF37fMiSE3MeyBvFFtFaM
okx3KkHvEUANAYSQPO0Ghz85f9bvmn8/0BRmLmIIZHhX4DN/HYEbhFVSE53avvAZ2GlA
0Ddg==
X-Gm-Message-State: AOAM5323qCwQAKnFOjZZV3wkInO940coDJSHt0ymru7PwX9o1p49ZXcc
KAcJj5l9BMHhUHWsCL97C7g=
X-Google-Smtp-Source: ABdhPJzq1gTQMhcPFGytELXuurEdQ++xfhzkOPszWvQsD+L94MtHZTZX5uXvgmUkhVk6WaFMlIoJUQ==
X-Received: by 2002:a05:600c:3515:: with SMTP id
h21mr21762640wmq.148.1622373203652;
Sun, 30 May 2021 04:13:23 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
by smtp.googlemail.com with ESMTPSA id g23sm2297544wmk.3.2021.05.30.04.13.21
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Sun, 30 May 2021 04:13:22 -0700 (PDT)
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
To: Lars Ingebrigtsen
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru> <87tumk6e0g.fsf@gnus.org>
From: Dmitry Gutov
Message-ID: <5504ef11-2bf8-0996-2b3e-ef9a472417b9@yandex.ru>
Date: Sun, 30 May 2021 14:13:21 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <87tumk6e0g.fsf@gnus.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 48471
Cc: Philipp , 48471@debbugs.gnu.org,
Stefan Monnier
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -1.1 (-)
On 30.05.2021 07:29, Lars Ingebrigtsen wrote:
> (with some grep versions not having -H)
Versions of 'find', you mean.
From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 07:14:54 2021
Received: (at 48471) by debbugs.gnu.org; 30 May 2021 11:14:54 +0000
Received: from localhost ([127.0.0.1]:58465 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnJPB-0006zC-SS
for submit@debbugs.gnu.org; Sun, 30 May 2021 07:14:54 -0400
Received: from mail-wr1-f42.google.com ([209.85.221.42]:44991)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnJPA-0006yy-ON
for 48471@debbugs.gnu.org; Sun, 30 May 2021 07:14:53 -0400
Received: by mail-wr1-f42.google.com with SMTP id r10so7803338wrj.11
for <48471@debbugs.gnu.org>; Sun, 30 May 2021 04:14:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:subject:to:cc:references:from:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=YVgrRy0hc+tSwPldcP1EFfXTAmbiHql5TLQz0Jvre3k=;
b=uXnoZYpliGPRaHiHIlM5Mwb/u5j/ppLNudA+6JM2ne2fHrdM2uLxiYDkZpCoRuY5ZF
3sH3fBgr3noUbHFZlWtcRZfetj9pjQsKs64cwmPhQofiQpytku/AHLK5D1iBFqiZ9FZR
IMioZoA3ddmGFqFtI4fbRnVsR8W9XSitBBkPD1LQFdcZhFmOQ5vfKQfdEJRvcNZX+x6b
1IPcT9Cs0q0ekijFqEGkEXYho5ha+iRuH0JXuKTfotLSJ1CHqgZ/5AIhGTj8t8oI831i
MrF8hQeKNRC5YlsaU96dNmV1c19Nk+Wl6wdZuTdDj1RnPDqw1iuT1RJJVi7TlEADOe1w
rRmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=YVgrRy0hc+tSwPldcP1EFfXTAmbiHql5TLQz0Jvre3k=;
b=drPxT/uM1uw/+P7f11bIZfMP8lR7lBIAFh1bZeLZurgHC8+r9jg8W0vEyD1E9eAjBA
cEWQQBdkXAs2Co3D/dej8C2fwvvAnJgwzLaKQhj1mn3QiX6xkcvSrad0k/MV2vV1m04e
2/xUTz5WWajhJBI9Z67xtWVuoQR0KP9l5mj+pDbcew3iD/fW+4308lBJ3CO42tnyiYUi
AQCbB2J0DY0mDtfcr2vpR0J8OKNPqKZ8cfIli61uqEYakXwdXj/kemKstNj+Gza/hBlJ
luzSDNklWQ3OjI2IWWFDbq5jJMlkcdTOm649tGYFcXReB4vvrZHwdJoSK1iT1qGN6m1V
J6zg==
X-Gm-Message-State: AOAM5303jNsU3tEZDzDvwBUwe3KDBp0Uzjcrq4YL+gFRyfqn3mROy3ot
r8I35F+0kH2cqzbCWsVdZr4=
X-Google-Smtp-Source: ABdhPJxq8NVf1lXEszxbAEB1+VX+2yY5/ArcMFYOuP7K4hA1h7JQjkIFriXTCtX2paiSfr+F5yPAQQ==
X-Received: by 2002:a5d:4b48:: with SMTP id w8mr17272312wrs.203.1622373287062;
Sun, 30 May 2021 04:14:47 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
by smtp.googlemail.com with ESMTPSA id
p187sm12043601wmp.28.2021.05.30.04.14.45
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Sun, 30 May 2021 04:14:46 -0700 (PDT)
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
To: Eli Zaretskii , Andreas Schwab ,
Paul Eggert
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru> <83r1ho4tr7.fsf@gnu.org>
From: Dmitry Gutov
Message-ID: <19304fec-2bb1-1cbb-3e58-177537981911@yandex.ru>
Date: Sun, 30 May 2021 14:14:45 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <83r1ho4tr7.fsf@gnu.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 48471
Cc: p.stephani2@gmail.com, 48471@debbugs.gnu.org, larsi@gnus.org,
monnier@IRO.UMontreal.CA
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -1.1 (-)
On 30.05.2021 09:31, Eli Zaretskii wrote:
> It's in Posix, but I'm not sure how portable it is in practice. Paul,
> Andreas, do you happen to know?
>
> Perhaps for 100% portability we should probe for its support?
Since even the ancient BSD find on Macs supports it, I figured it's
widespread enough. But if people say otherwise, I suppose we could add a
probe.
From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 12:27:42 2021
Received: (at 48471) by debbugs.gnu.org; 30 May 2021 16:27:42 +0000
Received: from localhost ([127.0.0.1]:60246 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnOHu-0002vw-Fu
for submit@debbugs.gnu.org; Sun, 30 May 2021 12:27:42 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54390)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnOHt-0002vk-2x
for 48471@debbugs.gnu.org; Sun, 30 May 2021 12:27:41 -0400
Received: from localhost (localhost [127.0.0.1])
by zimbra.cs.ucla.edu (Postfix) with ESMTP id 981ED16008C;
Sun, 30 May 2021 09:27:35 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
with ESMTP id yxysrFf5-Lzg; Sun, 30 May 2021 09:27:35 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
by zimbra.cs.ucla.edu (Postfix) with ESMTP id EFEF6160091;
Sun, 30 May 2021 09:27:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id aUGilrEa6gyG; Sun, 30 May 2021 09:27:34 -0700 (PDT)
Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com
[172.91.119.151])
by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BB8E716008C;
Sun, 30 May 2021 09:27:34 -0700 (PDT)
To: Eli Zaretskii , Dmitry Gutov ,
Andreas Schwab
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru> <83r1ho4tr7.fsf@gnu.org>
From: Paul Eggert
Organization: UCLA Computer Science Department
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
Message-ID:
Date: Sun, 30 May 2021 09:27:34 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <83r1ho4tr7.fsf@gnu.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 48471
Cc: p.stephani2@gmail.com, 48471@debbugs.gnu.org, larsi@gnus.org,
monnier@IRO.UMontreal.CA
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.9 (---)
On 5/29/21 11:31 PM, Eli Zaretskii wrote:
> It's in Posix, but I'm not sure how portable it is in practice. Paul,
> Andreas, do you happen to know?
Although 'find -H' was not in 7th edition Unix, it was added reasonably=20
soon after that and it should be in all currently-supported POSIXish=20
platforms.
From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 12:37:01 2021
Received: (at 48471) by debbugs.gnu.org; 30 May 2021 16:37:01 +0000
Received: from localhost ([127.0.0.1]:60266 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnOQu-0003BJ-TN
for submit@debbugs.gnu.org; Sun, 30 May 2021 12:37:01 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58214)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnOQt-0003B1-7r
for 48471@debbugs.gnu.org; Sun, 30 May 2021 12:37:00 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42342)
by eggs.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1lnOQk-00010o-T6; Sun, 30 May 2021 12:36:51 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4183
helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lnOQh-0001eN-H6; Sun, 30 May 2021 12:36:49 -0400
Date: Sun, 30 May 2021 19:36:59 +0300
Message-Id: <83tumk2n6c.fsf@gnu.org>
From: Eli Zaretskii
To: Paul Eggert
In-Reply-To: (message from
Paul Eggert on Sun, 30 May 2021 09:27:34 -0700)
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru> <83r1ho4tr7.fsf@gnu.org>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48471
Cc: p.stephani2@gmail.com, 48471@debbugs.gnu.org, schwab@linux-m68k.org,
monnier@IRO.UMontreal.CA, dgutov@yandex.ru, larsi@gnus.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.3 (---)
> Cc: p.stephani2@gmail.com, larsi@gnus.org, 48471@debbugs.gnu.org,
> monnier@IRO.UMontreal.CA
> From: Paul Eggert
> Date: Sun, 30 May 2021 09:27:34 -0700
>
> On 5/29/21 11:31 PM, Eli Zaretskii wrote:
> > It's in Posix, but I'm not sure how portable it is in practice. Paul,
> > Andreas, do you happen to know?
>
> Although 'find -H' was not in 7th edition Unix, it was added reasonably
> soon after that and it should be in all currently-supported POSIXish
> platforms.
Thanks, I guess it's safe to use it then.
From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 01:33:24 2021
Received: (at 48471) by debbugs.gnu.org; 31 May 2021 05:33:24 +0000
Received: from localhost ([127.0.0.1]:60756 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lnaYF-00064Y-Qb
for submit@debbugs.gnu.org; Mon, 31 May 2021 01:33:23 -0400
Received: from quimby.gnus.org ([95.216.78.240]:55634)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lnaYE-00064K-Ia
for 48471@debbugs.gnu.org; Mon, 31 May 2021 01:33:23 -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=pDmv08U4uMMT1IvDxWRazOoj0o6B+E4TvrdrL6mrlWQ=; b=s68+QO5HEx0XfWCxtzLuKxVN3u
lXis413gSACjJhdUjHfbndnVkxWIF1/uRfjcYro9WSZuH+okaWYWEFzGg+/QlE8iQHDT6U0C/k3Of
Z9oVNhaVceht6eJva8eUijkyan3j3BxPDiOQOsRTDa4qQNTxBgId/agXuMf1Yq+NFAE0=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from )
id 1lnaY5-0005tg-Ia; Mon, 31 May 2021 07:33:15 +0200
From: Lars Ingebrigtsen
To: Dmitry Gutov
Subject: Re: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on
macOS (BSD find?) if project root is a directory name
References:
<7f9e984c-bea9-f55f-526a-680a9bb3f66b@yandex.ru>
<53E1AC7F-1D49-4845-8DF6-4CB24BC15E6A@gmail.com>
<92AAB1AE-0D8C-4C2B-99E9-E790F4BE5330@gmail.com>
<79c2002a-e404-3837-f2d8-c760ed48cdc0@yandex.ru>
<3B1E8678-E36E-4A30-A067-D9A5C3E7711A@gmail.com>
<7ea80286-b72c-7318-4b68-f10f62007907@yandex.ru>
<87tumk6e0g.fsf@gnus.org>
<5504ef11-2bf8-0996-2b3e-ef9a472417b9@yandex.ru>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEUWEhJEOztlW1qG
eneMgHzQw7+ompgsJib///9RCNRGAAAAAWJLR0QIht6VegAAAAd0SU1FB+UFHwUdOJti/kEAAAGB
SURBVDjLlZLNUoMwEMeDOubKojNcJTjj1YGOD9AyvEE5Oy3Ea9bLvr7ZTUhbpH78Lwn7y36jVGYW
atvWPCml7gbrNe0v9O7BjRX5r4gP9ji9JjAJkOPQW8uhbgUMU4woh4AY6lKXoOskGTuugGkFjLGK
YT2HpP9j8iUY/g2uhfJjb/s1oJRGMPVbsPiRjb7PXCVpAihMUTe8q8axxWlSJMICvIoKDIMMkubl
Ajipatx+NiFEUgD247zkbtN3uzxsMOcm4+7suOl2Au73+zwzddtJM/3o17INyTkiXxT6eoBTv6gf
pQmdIkdYPR4qIOR+KFFCKOpW1ts82zgSlP4B0Gz4Bxv6NESf2vlo3qt6aIQec8lBbPUHcWG1qWvT
MsgqKLXYS/+EV9A0RjxKQgSKcvwAIY4doZQiifjCjwSUyCHkvQwfZwDhoBmVyUMsM4mppEEh0ceF
I4yDUtTZpNUpuO9kOV4X/egbUYlcYyH27zrz16GB9BUb0os0p1ZPtx/0BRDzCCYXISHNAAAAJXRF
WHRkYXRlOmNyZWF0ZQAyMDIxLTA1LTMxVDA1OjI5OjU2KzAwOjAwSqpf2wAAACV0RVh0ZGF0ZTpt
b2RpZnkAMjAyMS0wNS0zMVQwNToyOTo1NiswMDowMDv352cAAAAASUVORK5CYII=
X-Now-Playing: Scorn's _Cafe Mor_: "The Lower The Middle Our Bit"
Date: Mon, 31 May 2021 07:33:13 +0200
In-Reply-To: <5504ef11-2bf8-0996-2b3e-ef9a472417b9@yandex.ru> (Dmitry Gutov's
message of "Sun, 30 May 2021 14:13:21 +0300")
Message-ID: <87pmx7lb6u.fsf@gnus.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Dmitry Gutov writes: > On 30.05.2021 07:29,
Lars Ingebrigtsen wrote: >> (with some grep versions not having -H) > >
Versions of 'find', you mean. Ah, yes indeed.
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: 0.0 (/)
X-Debbugs-Envelope-To: 48471
Cc: Philipp , 48471@debbugs.gnu.org,
Stefan Monnier
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -1.0 (-)
Dmitry Gutov writes:
> On 30.05.2021 07:29, Lars Ingebrigtsen wrote:
>> (with some grep versions not having -H)
>
> Versions of 'find', you mean.
Ah, yes indeed.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 06 21:58:32 2021
Received: (at 48471-done) by debbugs.gnu.org; 7 Jun 2021 01:58:32 +0000
Received: from localhost ([127.0.0.1]:54205 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from