From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#65102: 30.0.50; `byte-recompile-directory' ignores every file Date: Sun, 06 Aug 2023 06:08:24 +0200 Message-ID: <871qgg4xtz.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30402"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65102@debbugs.gnu.org To: Wing Hei Chan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 06 06:09:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qSV50-0007l8-JT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Aug 2023 06:09:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSV4i-0000nk-0l; Sun, 06 Aug 2023 00:09:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSV4g-0000nY-En for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 00:09:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSV4g-0006WQ-5r for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 00:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSV4g-00017s-0v for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 00:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2023 04:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65102 X-GNU-PR-Package: emacs Original-Received: via spool by 65102-submit@debbugs.gnu.org id=B65102.16912949174293 (code B ref 65102); Sun, 06 Aug 2023 04:09:01 +0000 Original-Received: (at 65102) by debbugs.gnu.org; 6 Aug 2023 04:08:37 +0000 Original-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 1qSV4G-00017B-N1 for submit@debbugs.gnu.org; Sun, 06 Aug 2023 00:08:37 -0400 Original-Received: from mout.web.de ([212.227.15.3]:34391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSV4D-00016t-Fd for 65102@debbugs.gnu.org; Sun, 06 Aug 2023 00:08:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1691294905; x=1691899705; i=michael_heerdegen@web.de; bh=sqSCf5kx7LCBHzhdj6+rTp/ej0Hf/UUcBGKzUH8x7xU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=KgmuGtqguQGYjf0Llaizq09Lyp9iZ2PNzJvVZh3MmTugHjkHpLOBLJ61BNhg8P2l4q8wWTH VHEzavRO/rOmyj82EM/ZOY3TeumnbFBn2kdY1C14/hRwFNleNlxc8cLuRL8MpM29OCFSMcL01 s2UL8cs9BWCuForJOhWCCtFL70pAlQryCqLZyv822NzIGiFvj3jIT5Hfe+/glW3CsEaIjptnN 4CmEe3oj1miNr5DV0A9HXiJsRpZYbwy7dUrNw5BEbWvnP9qpiIVFxK2DS3vYFi7pl/C41im2d GRVV+xoBqBot6WFa60R+qozqUOltDB5uwEjf/Xe9BetMtEIn8fpA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([92.75.138.214]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N0Zns-1pfBhF22r6-00wiFr; Sun, 06 Aug 2023 06:08:25 +0200 In-Reply-To: (Wing Hei Chan's message of "Sat, 5 Aug 2023 13:16:41 +0000") X-Provags-ID: V03:K1:l9MC3IxnAZtKcDkJTXDqmV/szrz3iot3waxaUbU15HOcZVpJRPs x4gB3FeZKofujrB9ge2+3vmpy25m78TKTGEgN2t3KcYiYRGL3Sf/0B6i3bdIwKPXz1pSrtv ldqF+6hu3SPi7UupKKU9qhkr2hLIB8cRF2pX6nd+epScFSj0OXCWFC251WVA71wb5Y2ctVV Fpdh8+/OyzBGa9Pxb7nOg== UI-OutboundReport: notjunk:1;M01:P0:v/lJ+gGT7Xo=;wnUqvMeDUUwCAqeGLkm/HF7CcrQ KolrAisgYn+w5uA+nHSCZJM+yF+z7dksT7g+dcOiSZCIoaJZxLa/7c/DOrDqIkJ5E3EdMkXcj uw0It3RKjV645NRdRmc0pjo09wDtUqulDxQkiFZ2b+8ad2/VrjOGvutSa2fSHIQWIeS4I3m/C oue/MNqyh7fLyVylSVtAnELdCQjiZb9fhyysslDOMw7wAmFLf2ZPRtqX9TFHO7CoO25vjs3bV B7GrPfQ6sCSD2gUlv7gS5VImLuYI1ucL2RJqqPvpFg0ndw7l96lREjvAVm4TItp3tpmgbUK0v WO1mqMYfdBwQomGDPp24ZnMHD+Al07PYoQUCr6KeNTwpQTiV+5joHMYpJ12bgKlYau1JlRKni kZeOiQhizWX2PG1eBS3BAIdpteKZ/NrJhqHiYiH2sVy8lWYxhHOsFy9Y/BY6cneRgS3bcqnaX hvgToGyycWCpjH2D4btMgp7+lKwl1771DDaq/RFp60MGimk6rjeeDonFE10w/pgiZkoho43u0 erfCqgpD/mtyTprbyTK8qqX0r/LBy5a87Pu7NGuOY5tM2Dn/3v7SYhOdwF+JpCfHTpM0nhof/ 9SZ+9ozL3Mt3n4yj6mQIsHSU5fPGnMpIv3I97c4iGIEJlfSyj50t0YhH4MKSkxOY4kJkPCazx usL0efNAGSUdSXyb5//o2a/MXFFPsvq/bqQDjZEjcJoNTv2PMQAcj1pgv+NabX4eR1OAqvvyu a6KIZoDj4l6h+tAvumPpDGKNQtOND3lDsoWJeZuNxJL8ReQ3eqS1apEyNYK2QbHVaHqXZ3tY X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266829 Archived-At: Wing Hei Chan writes: > The `ignore-files-regexp' in `byte-recompile-directory' is bound to the > result of (mapconcat #'identity byte-compile-ignore-files "\\|"), > which is simply an empty string when `byte-compile-ignore-files' is > empty. In turn, this causes every file to be ignored, since > `string-match-p' matches every string when given an empty regexp. Indeed (to reproduce one has to make sure that one tries a call where files are actually expected to be compiled, and even in this case nothing is done - thanks for finding this!). We probably should use regexp-unmatchable instead of an empty string when the option is nil. Do we also need to wrap the regexps into shy groups, or something else? Thx, Michael.