A year ago I raised this bug against 21.5-b9:
http://list-archive.xemacs.org/xemacs-beta/200210/msg00080.html
(Summary: use dired and auto coding system detection fails for
future file opens).
FWIW, this is still repeatable in 21.5-b16.
Regards,
- Phil