In article <[EMAIL PROTECTED]>, Kevin Rodgers <[EMAIL PROTECTED]> writes: > > 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.
> `C-x C-m c' temporarily binds coding-system-for-read and > coding-system-for-write, so wouldn't it be more transparent to locally > set those variables (in dired-mode, where the other buffer-local > variables are set)? Those variables are mainly for let-binding by programs. Directly setting them may leads to a problem. For instance, qM-x shell-command invoded from that buffer will use those values. > Also, how can one ensure that `C-x m c CODING-SYSTEM g' will (1) have > its intended effect and (2) persist its effect, for subsequent `g' > commands? Sorry, I don't understand what you mean. Could you please paraphrase it? --- Kenichi Handa [EMAIL PROTECTED] _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
