unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: language environment depending on file
Date: Fri, 15 Oct 2004 14:38:22 +0200	[thread overview]
Message-ID: <u1xg02m2p.fsf@ID-87814.user.uni-berlin.de> (raw)
In-Reply-To: bjjbrf4pb2c.fsf@termo1.fi.uib.no

Joakim Hove <hove@ift.uib.no> writes:

> slanning@theworld.com writes:
>
>
>>
>>   (add-hook 'mmm-mode-hook
>>     '(lambda ()
>>        (make-variable-buffer-local 'current-language-environment)
>>        (set-language-environment "UTF-8")))
[...]
> Anyway, you *might* try to advice the set-buffer or switch-to-buffer
> functions with something like:
[...]

I might be wrong, but there seems to be some confusion here. I believe
what the OP really wants is not change the language environment, but
simply the character encoding for .mc files:

(modify-coding-system-alist 'file "\\.mc\\'" 'utf-8)

    Oliver
-- 
24 Vendémiaire an 213 de la Révolution
Liberté, Egalité, Fraternité!

  reply	other threads:[~2004-10-15 12:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-14 14:11 language environment depending on file slanning
2004-10-15  9:47 ` Joakim Hove
2004-10-15 12:38   ` Oliver Scholz [this message]
2004-10-19 16:58     ` slanning

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u1xg02m2p.fsf@ID-87814.user.uni-berlin.de \
    --to=alkibiades@gmx.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).