In article <[EMAIL PROTECTED]>, Eli Zaretskii <[EMAIL PROTECTED]> writes:
>> I haven't read the previous mails in this thread, but, if we >> need a compiled pattern for case-folding search/match, it >> seems that we have to pass Vascii_canon_table (or >> buffer_defaults.case_canon_table, I think they are the same) >> to compile_pattern. > But is the buffer's default good enough for file names? We are > talking about case-insensitive handling of file names here, and file > names are (usually) encoded differently than the locale's default text > files, AFAIK. > So the question is, how to get hold of the case_canon_table suitable > for the default file-name-coding-system. ??? It seems that directory_files_internal () checks file name matching after decoding the names. So, why should we pay attention to how the names are encoded? --- Kenichi Handa [EMAIL PROTECTED]
