[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: |
Sat, 21 Oct 2006 09:55:02 +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:
> > > 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?
> [Sorry, `C-x m c ...' should have been `C-x C-m c ...']
> Let's say you are in a Dired buffer and you realize the coding system is
> wrong, so you try to re-read it with `C-x RET c CODING-SYSTEM g'. Does
> that work? If later you decide to simply run `g', does it use
> CODING-SYSTEM to re-read the directory?
> I think to make that work, dired-revert needs the same fix as
> dired-mode, namely:
> (set (make-local-variable 'file-name-coding-system)
> (or coding-system-for-read file-name-coding-system))
> Or perhaps that should be done later in just one place: dired-readin.
I basically agree with you, but as I don't know the code of
dired, I don't know which part is the right place to fix.
I'd like to ask maintainers of dired.el to work on it.
---
Kenichi Handa
address@hidden