From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs, tramp & x-ctext
Date: Sun, 13 Aug 2006 10:37:59 +0200 [thread overview]
Message-ID: <6C8AA44C-23D1-4D4A-917D-9BF397303449@Web.DE> (raw)
In-Reply-To: <1155448192.066212.76310@h48g2000cwc.googlegroups.com>
Am 13.08.2006 um 07:49 schrieb yavannadil@yahoo.com:
> The first problem: when I copy (with mouse) Russian text from Gnome
> terminal or OpenOffice and paste it into Emacs, it shows the text in
> bolder font than text entered from keyboard and then refuses to
> save it
> as UTF-8, suggesting x-ctext. How do I get rid of this x-ctext?
>
I wouldn't use "(set-language-environment 'UTF-8)" but set in my
runtime environment LC_ALL or LC_CTYPE or LANG to be ru_RU.UTF-8. GNU
Emacs learns from this much more than you can set (right). If you
still have problems with copy&paste you can try:
(set-selection-coding-system 'utf-8)
(set-clipboard-coding-system 'utf-8)
or something more realistic (don't know what encoding Dapper Dan uses
for copy&paste) and finally there's the call to
(prefer-coding-system 'utf-8)
--
Greetings
Pete
“One cannot live by television, video games, top ten CDs, and dumb
movies alone”
(Amiri Baraka 1999)
prev parent reply other threads:[~2006-08-13 8:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-13 5:49 emacs, tramp & x-ctext yavannadil
2006-08-13 7:52 ` yavannadil
2006-08-13 8:01 ` David Kastrup
2006-08-13 19:08 ` yavannadil
2006-08-13 19:11 ` David Kastrup
2006-08-13 20:41 ` yavannadil
2006-08-14 20:18 ` yavannadil
2006-08-13 14:37 ` Hadron Quark
2006-08-13 8:37 ` Peter Dyballa [this message]
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=6C8AA44C-23D1-4D4A-917D-9BF397303449@Web.DE \
--to=peter_dyballa@web.de \
--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.
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).