From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryszard Kubiak Newsgroups: gmane.emacs.bugs Subject: Copy-paste between pretest Emacs 22 and other Linux programs Date: Sun, 14 Jan 2007 19:11:05 +0100 Message-ID: <45AA7239.4090104@guests.ipipan.gda.pl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1168898872 481 80.91.229.12 (15 Jan 2007 22:07:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 22:07:52 +0000 (UTC) Cc: Wlodek Bzyl Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 23:07:50 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6ZzU-0001Et-NQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 23:07:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H69kE-0005KJ-RQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jan 2007 13:06:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H69kC-0005K2-Lk for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2007 13:06:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H69kA-0005Ix-Uf for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2007 13:06:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H69kA-0005Iq-PO for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2007 13:06:10 -0500 Original-Received: from [153.19.136.1] (helo=topos.ipipan.gda.pl) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H69k9-0001vK-Qk for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2007 13:06:10 -0500 Original-Received: (qmail 8944 invoked by uid 89); 14 Jan 2007 18:06:08 -0000 Original-Received: by simscan 1.2.0 ppid: 8934, pid: 8939, t: 0.2073s scanners: attach: 1.2.0 clamav: 0.88.4/m:40/d:2028 Original-Received: from unknown (HELO ?89.79.11.30?) (r.kubiak@guests.ipipan.gda.pl@89.79.11.30) by topos.ipipan.gda.pl with ESMTPA; 14 Jan 2007 18:06:07 -0000 User-Agent: Thunderbird 1.5 (X11/20060313) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15528 Archived-At: Hello Everybody, I would like to report that copying a text with Polish national letters from an X-based program (like: xterm, gnome terminal, kde terminal, thudirbird, firefox) and pasting it into Emacs does not work properly within an environment which is utf-8, both in the operating system and in Emacs. If you can see the following eighteen Polish letters ĄĆŹŻŚŁÓŃĘąźśżćęńłó properly in your e-mail client, which you should if you have set utf-8 as your basic encoding, then could you copy them into Emacs, also configured to work with utf-8? Do you see them right? If so, I would be happy to know all of your settings. My related .emacs settings are quoted below. Currently, I am running a pretest Emacs version 22.00.92.1, installed from a tarball. Previously, I had version 22.00.52.1, compiled from CVS sources. I am running Emacs under Linux Fedora 5. In both these versions the Polish characters get mangled when they are copied into Emacs. Interestingly, copying Polish characters from Emacs to other X-based utilities works fine. Also, I do not experience problems with editing Polish texts, whether I am using iso-latin-2 or utf-8 encoding. As the problem is somewhat technical, can anybody who knows the respective fragments of Emacs write my in private, to decide whether it's really a bug in Emacs or just a matter of wrong settings within my .emacs. Of course, I may supply any necessary information about my installation. Since unicode is now the core issue of Emacs develpmpent, then if what I have described is result of a bug then it has to be removed. Cheers, Rysiek (codepage-setup 1250) (set-language-info-alist "pl" '((documentation . t) (sample-text . "Pójdź, kiń-że tę chmurność w głąb flaszy") (tutorial . "TUTORIAL.pl") (unibyte-display . iso-8859-2) (unibyte-syntax . "latin-2") (nonascii-translation . latin-iso8859-2) (input-method . "polish-slash") (coding-priority utf-8 iso-8859-2 cp1250-dos) (coding-system utf-8 iso-8859-2 cp1250-dos ) (charset ascii latin-iso8859-2)) (set-language-environment "pl") (set-selection-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) The font I am using is: -misc-fixed-medium-r-normal-*-15-*-*-*-*-*-iso10646-1 I am also using cua-mode, with this customization setting: '(cua-mode t nil (cua-base)) Interestingly, when I copy the Polish letters from another X-based program into Emacs, the following messages are generated: Loading subst-ksc...done Loading subst-gb2312...done Loading subst-big5...done Loading subst-jis...done Do these have anything to do with East European languages?