On Tue, Mar 3, 2015 at 1:24 PM, Ludovic Courtès wrote: >> Somehow find-files appears to have problems with a file. This happens >> even if I install the en_US.UTF-8 locale: > > [...] > >> ?: 1 [regexp-exec # "hello\x00 world\n" 0 0] >> In ice-9/boot-9.scm: >> 106: 0 [#> args)> misc-error ...] >> >> ice-9/boot-9.scm:106:20: In procedure #> ice-9/boot-9.scm:97:6 (thrown-k . args)>: >> ice-9/boot-9.scm:106:20: string contains #\nul character: "hello\x00 world\n" > > Right, that’s because ‘regexp-exec’ uses libc’s regexp functions, for > which the nul character marks the end of the string. > > This file presumably cannot be patched with ‘substitute*’. Is it a problem? Sorry for the long delay... No, no problem. I will just not use the exact command you suggested. I tried to use a regex in find-files, but, as for the other file list, something goes wrong. Right now I do not have time to investigate and propose to keep the list as attached. Regards, Fede