GNU bug report logs -
#2940
[macOS] C-s in dired fails to find umlauts in filenames (due to wrong file-name-coding-system)
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii wrote:
>>> (require 'ucs-normalize)
>>> (setq file-name-coding-system 'utf-8-hfs)
>
> It could be that Emacs should do this on that platform automatically,
> yes. But some Darwin expert should look into this and provide feedback,
> before we decide.
I'm no expert, but it doesn't look as if this is necessary.
/lisp/term/ns-win.el already defines a coding system utf-8-nfd that
performs normalization and it sets that as the value of
file-name-coding-system. This takes care of the fact that the HFS+
filesystem uses decomposed file names, and indeed I can't reproduce (in
either 24.0.50 or 23.3) the behavior described in the original bug report.
OTOH, the code in question has been present in ns-win.el since the NS code
was first merged into the main branch (rev 89434), so I'm not sure how the
OP's problem arose in the first place.
This bug report was last modified 4 years and 306 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.