GNU bug report logs - #65102
30.0.50; `byte-recompile-directory' ignores every file

Previous Next

Package: emacs;

Reported by: Wing Hei Chan <whmunkchan <at> outlook.com>

Date: Sat, 5 Aug 2023 17:24:01 UTC

Severity: normal

Found in version 30.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#65102: closed (30.0.50; `byte-recompile-directory' ignores
 every file)
Date: Sun, 06 Aug 2023 04:33:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 5 Aug 2023 21:32:21 -0700
with message-id <6b7fe14d-1b52-1815-c6b4-2a0ba35e86b7 <at> gmail.com>
and subject line Re: bug#65102: 30.0.50; `byte-recompile-directory' ignores every file
has caused the debbugs.gnu.org bug report #65102,
regarding 30.0.50; `byte-recompile-directory' ignores every file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
65102: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65102
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Wing Hei Chan <whmunkchan <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 30.0.50; `byte-recompile-directory' ignores every file
Date: Sat, 5 Aug 2023 13:16:41 +0000
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.
[Message part 3 (message/rfc822, inline)]
From: Jim Porter <jporterbugs <at> gmail.com>
To: Wing Hei Chan <whmunkchan <at> outlook.com>, 65102-done <at> debbugs.gnu.org
Subject: Re: bug#65102: 30.0.50; `byte-recompile-directory' ignores every file
Date: Sat, 5 Aug 2023 21:32:21 -0700
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.)


This bug report was last modified 1 year and 349 days ago.

Previous Next


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