In article <[EMAIL PROTECTED]>, Dan Jacobson <[EMAIL PROTECTED]> writes:

> One can "set coding system for the next command" to dired a mounted
> CDROM directory in the proper charset (big5 in my case). But the
> moment one types g to refresh the dired, the dired is back in the
> default charset.

> So emacs is very clever in detecting the coding systems of files, but
> not very cooperative for directories full of filenames all in a
> particular coding system.

Detecting a coding system of filenames in a directory is
difficult to implement, but it won't be that difficult to
respect a coding system explicitly specified by C-x C-m c
for dired.  Perhaps, it can be done by locally setting
file-name-coding-system of that buffer and making
dired-revert to pay attention to that value.

As I've never touch the code of dired.el, I'm not sure how
such a change is safe.  So, shall I try it in
emacs-unicode-2 branch?

---
Kenichi Handa
[EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to