]> git.eshelyaron.com Git - emacs.git/commit
File-name completion of non-ASCII characters on OS X (bug#22169)
authorAnders Lindgren <andlind@gmail.com>
Wed, 23 Dec 2015 06:15:45 +0000 (07:15 +0100)
committerAnders Lindgren <andlind@gmail.com>
Wed, 23 Dec 2015 06:15:45 +0000 (07:15 +0100)
commit09053075225fec8a6cf7a72017a6dfc1ec6b6f0c
treefd9ce26de7a7c7cd94502ca02a4155f821694aaa
parent781770b4dcfe44b255e94e16479fd14633803640
File-name completion of non-ASCII characters on OS X (bug#22169)

The coding system `utf-8-nfd', locally defined in ns-win.el,
didn't provide a :pre-write-conversion method, causing file name
completion of non-ASCII characters to fail.  Solved by using the
`utf-8-hfs' coding system provided by `ucs-normalize'.

* lisp/loadup.el: Load international/ucs-normalize (when building
for ns).

* lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
`utf-8-hfs' and removed the old implementation.  Set `utf-8-hfs'
as the file name coding system.

* src/nsfns.c (ns-convert-utf8-nfd-to-nfc): Removed.
lisp/loadup.el
lisp/term/ns-win.el
src/nsfns.m