unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Wu <peterwu@hotmail.com>
Subject: Re: automating language environment settings
Date: 04 Sep 2002 21:58:44 +0800	[thread overview]
Message-ID: <86k7m1svor.fsf@yy-sis-yy.2662-D1H> (raw)
In-Reply-To: cb2002fc.0209040541.419ca2be@posting.google.com

cgorac@yahoo.com (Crni Gorac) writes:

> From time to time, I'm using emacs to edit documents written using ISO
> 8859-2 charset. Thus, I have first to set language environment to
> "Latin-2", then to open text file and finally to select "latin-2-prefix"
> as input method. So I was thinking about automating above process by
> creating corresponding emacs mode and then to reference this mode from
> first line of related documents; if everything setup properly, emacs
> should be able to apply all necessary settings upon opening
> document. However, while everything else works fine, emacs seems to be
> unable to change language environment using above procedure. Any
> suggestion here?

I use Chinese in Emacs.

(set-language-environment "Chinese-GB")

-- 
Powered by FreeBSD!

  reply	other threads:[~2002-09-04 13:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 13:41 automating language environment settings Crni Gorac
2002-09-04 13:58 ` Peter Wu [this message]
2002-09-04 18:09   ` Crni Gorac
2002-09-04 18:43 ` Jesper Harder
2002-09-04 19:06 ` Matthias Meulien
2002-09-05 14:26   ` Crni Gorac
2002-09-06 14:39     ` Matthias MEULIEN
2002-09-08 17:42       ` Crni Gorac

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=86k7m1svor.fsf@yy-sis-yy.2662-D1H \
    --to=peterwu@hotmail.com \
    /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).