From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: "Outer world" encoding for non-Latin1 language environments
Date: Thu, 28 Feb 2002 20:28:08 -0500 [thread overview]
Message-ID: <200203010128.g211S8g05748@rum.cs.yale.edu> (raw)
In-Reply-To: 20020227132949.C18112@fmi.uni-sofia.bg
> Note the (setup-function . setup-koi8u-coding-system) and
> (exit-function . reset-coding-system). They can be defined by
> (features cyril-util) in this way:
>
> (defun setup-koi8u-coding-system ()
> (let ()
> (set-keyboard-coding-system 'koi8-u)
> (set-clipboard-coding-system 'koi8-u)
> (set-terminal-coding-system 'koi8-u)))
>
> (defun reset-coding-system ()
> (let ()
> (set-keyboard-coding-system 'latin-1)
> (set-clipboard-coding-system nil)
> (set-terminal-coding-system nil)))
>
> Maybe someone will propose a better solution?
Maybe all it takes is to use set-locale-environment rather than
set-language-environment ?
Also maybe koi8-u should be added to `standard-keyboard-coding-systems' ?
Stefan
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-03-01 1:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-27 11:29 "Outer world" encoding for non-Latin1 language environments Anton Zinoviev
2002-02-27 11:10 ` Eli Zaretskii
2002-03-01 18:00 ` Anton Zinoviev
2002-03-01 18:23 ` Stefan Monnier
2002-03-01 19:57 ` Eli Zaretskii
2002-03-05 10:57 ` Anton Zinoviev
2002-03-05 17:28 ` Eli Zaretskii
2002-03-06 18:27 ` Anton Zinoviev
2002-03-06 19:22 ` Eli Zaretskii
2002-03-06 20:16 ` Anton Zinoviev
2002-03-07 6:02 ` Eli Zaretskii
2002-03-13 20:13 ` Anton Zinoviev
2002-03-15 7:09 ` Eli Zaretskii
2002-03-22 12:25 ` Eli Zaretskii
2002-03-01 1:28 ` Stefan Monnier [this message]
2002-03-01 7:36 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2002-02-27 11:46 Kenichi Handa
2002-02-27 12:11 ` Eli Zaretskii
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=200203010128.g211S8g05748@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--cc=emacs-devel@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.