all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: how to set language-env differently for some directories ?
Date: Mon, 09 Jun 2008 19:02:06 +0300	[thread overview]
Message-ID: <uve0ik35t.fsf@gnu.org> (raw)
In-Reply-To: <8763sizngq.fsf@lybrafox.com>

> From: =?utf-8?Q?R=C3=A9mi?= Letot <hobbes@poukram.net>
> 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 emacs-devel@gnu.org, perhaps
there's some bug or missing feature.

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?




  reply	other threads:[~2008-06-09 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 14:34 how to set language-env differently for some directories ? Rémi Letot
2008-06-09 16:02 ` Eli Zaretskii [this message]
2008-06-09 16:35   ` Rémi Letot
2008-06-09 17:25     ` Eli Zaretskii
     [not found] <mailman.12940.1213025111.18990.help-gnu-emacs@gnu.org>
2008-06-09 17:15 ` Pascal Quesseveur
2008-06-12 14:50   ` Debian User

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uve0ik35t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.