[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to set language-env differently for some directories ?

From: Rémi Letot
Subject: Re: how to set language-env differently for some directories ?
Date: Mon, 09 Jun 2008 18:35:08 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: =?utf-8?Q?R=C3=A9mi?= Letot <address@hidden>
>> Date: Mon, 09 Jun 2008 16:34:29 +0200
>> My current emacs is in an UTF8 language-environment. For some
>> directories (actually a specific tree) I have to use Latin1. How can I
>> achieve that automatically ?
>> For the moment I manually switch when needed, but that's cumbersome
>> and prone to errors, so I'd like to automate it : all files under
>> "specific_dir" are to be treated in Latin1. Filenames and content.
> I'd try customizing file-coding-system-alist.  If that somehow doesn't
> work, please describe more details on address@hidden, perhaps
> there's some bug or missing feature.

Thanks, I'll try that. 

Question : Does it deal only with content of files or also file names?

> Out of curiosity: how come this specific tree is in a different
> encoding?  Is it a volume mounted from another machine, or some
> removable media?

Oh no, simpler than that : that directory and everything in it is a
"mirror" of memos on my palm device, but the palm doesn't deal well
with UTF names and content, so I have to keep it Latin9 when I work in


reply via email to

[Prev in Thread] Current Thread [Next in Thread]