Markus Kuhn <[EMAIL PROTECTED]>: > Until then, may be some nice elisp guru can come up with a few lines for > your ~/.emacs file that calls the shell command line `locale charmap` and > sets the default encoding for every loaded file according to the output.
This would be useful, but it might be even more useful to take account of the contents of the file. One of the annoyances of my current Emacs 20 set-up, which apparently cannot easily be fixed, is that if I open a non-UTF-8 file Emacs turns it into garbage without issuing any kind of error or warning. If I made a small change and saved it again, I could lose data. But perhaps this has already been fixed in Emacs 21. Another thing: users of emacsclient might want the locale of emacsclient to be used rather than the locale of Emacs. Edmund - Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
