From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: "Outer world" encoding for non-Latin1 language environments
Date: Wed, 27 Feb 2002 13:10:41 +0200 (IST) [thread overview]
Message-ID: <Pine.SUN.3.91.1020227130618.22605A-100000@is> (raw)
In-Reply-To: <20020227132949.C18112@fmi.uni-sofia.bg>
On Wed, 27 Feb 2002, Anton Zinoviev wrote:
> Even when users choose some non-Latin1 language environment Emacs
> doesn't suppose that it's new default encoding is actually the
> encoding of the X-clipboard, the console font, etc. This can be
> easily changed in this way:
Why change it? The default for X selections is compound-text, which can
handle many different languages/scripts mixed in a single selection.
What you propose (to set it to koi8-u) will limit the selections to a
single charset. Why is that a good idea?
>
> (defun setup-koi8u-coding-system ()
> (let ()
> (set-keyboard-coding-system 'koi8-u)
> (set-clipboard-coding-system 'koi8-u)
> (set-terminal-coding-system 'koi8-u)))
Whether defining a language environment should set keyboard and terminal
encodings is an old issue, but it isn't a clear-cut one. It is possible
that someone defines a language environment but her keyboard and/or
terminal cannot cope with encoded characters.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-27 11:10 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 [this message]
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
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
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=Pine.SUN.3.91.1020227130618.22605A-100000@is \
--to=eliz@is.elta.co.il \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).