[OS X Emacs] Good GNU Emacs 23.1.50 news
Peter Dyballa
Peter_Dyballa at Web.DE
Sat Aug 29 18:15:11 EDT 2009
Hello!
Since a week or two the file lisp/international/ucs-normalize.el by
Taichi Kawabata exists. It helps to cure the problem with the
decomposed characters in UTF-8 file names in Mac OS X (both in HFS+
and UFS, maybe also in the other Unicode aware file systems Mac OS X
supports). To use it:
(require 'ucs-normalize)
(setq file-name-coding-system 'utf-8-hfs)
(prefer-coding-system 'utf-8-hfs)
The latter is needed that in *shell* the output of ls or gls is also
converted to precomposed characters. In the mode-line such file names
are correctly displayed, and also in *Buffer List*. Process output
(grep for example) will also show the precomposed characters. Font
face makes no difference. But the best is: you can now isearch for
the precomposed characters in file names the way to type them on your
keyboard!
--
Greetings
Pete
Time is an illusion. Lunchtime, doubly so.
More information about the MacOSX-Emacs
mailing list