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: Wing Hei Chan <whmunkchan <at> outlook.com>
Subject: bug#65102: closed (Re: bug#65102: 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 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 65102 <at> debbugs.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: 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.)

[Message part 3 (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.

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

Previous Next


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