GNU bug report logs -
#65102
30.0.50; `byte-recompile-directory' ignores every file
Previous Next
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
Wing Hei Chan <whmunkchan <at> outlook.com> 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.
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.