[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: detecting charset of directories
From: |
Kenichi Handa |
Subject: |
Re: detecting charset of directories |
Date: |
Fri, 20 Oct 2006 10:07:14 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Kevin Rodgers <address@hidden> 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
address@hidden