Subject: bug#65102: closed (Re: bug#65102: 30.0.50; `byte-recompile-directory' ignores every file)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 06 Aug 2023 04:33:02 +0000

Your bug report

#65102: 30.0.50; `byte-recompile-directory' ignores every file

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65102: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65102
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65102: 30.0.50; `byte-recompile-directory' ignores every file
From: Jim Porter <[email-masked]>
To: Wing Hei Chan <[email-masked]>, [email-masked]
Date: Sat, 5 Aug 2023 21:32:21 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 8/5/2023 6:16 AM, Wing Hei Chan wrote:
> 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.

This should be fixed by commit 1e8322bb26e, now merged to both master 
and the release branch. (I had to read up on how gitmerge.el works, so 
hopefully I did the merge properly.)

Subject: 30.0.50; `byte-recompile-directory' ignores every file
From: Wing Hei Chan <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 5 Aug 2023 13:16:41 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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.