From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "std" Newsgroups: gmane.emacs.help Subject: emacs 22 on win XP, selection-coding-system, and copy & paste outside emacs Date: 3 Aug 2006 02:26:38 -0700 Organization: http://groups.google.com Message-ID: <1154597197.957129.171380@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1154598049 25496 80.91.229.2 (3 Aug 2006 09:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2006 09:40:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 03 11:40:47 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8Zgw-00058d-2n for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Aug 2006 11:40:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8Zgs-0003HS-Hr for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Aug 2006 05:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 138.102.80.7 Original-X-Trace: posting.google.com 1154597202 1907 127.0.0.1 (3 Aug 2006 09:26:42 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 3 Aug 2006 09:26:42 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 cache.grignon.inra.fr:3128 (squid/2.5.STABLE9) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=138.102.80.7; posting-account=IDMj_QwAAACA7TtnQWvB8tVHkkNHb6vH Original-Xref: shelby.stanford.edu gnu.emacs.help:140804 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36429 Archived-At: Hi all, I am using GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2005-06-26 on NONIQPC on a winXP machine. I am having a hard time setting the coding system to get cut&paste from emacs to other apps (e.g. firefox) to work. To be a bit more specific: 1/ I start with the minimal .emacs file below containing nothing but: (standard-display-european t) (set-language-environment 'latin-1) (setq selection-coding-system 'latin-1) 2/ I copy the following from firefox to the clipboard =C3=A9 =C3=A8 =C3=A0 =C3=B9 =C3=BB =C3=AE =C3=AF =C3=B6 =C3=A4 3/ I paste it in an emacs buffer (no problem) 4/ Now, I copy it from emacs to the clipboard and paste into firefox. I get =E2=83=A9=EE=A0=80 =E2=83=A0=EF=A4=80 =E2=83=BB=EE=B8=80 =E2=83=AF=EF=98=80= =C3=A4 (not good) I've tried a number of other combinations for the selection-coding-system and language-environment (utf-16le-dos, compound-text-with-extensions, windows1255, etc...), but could not get any to work properly. For some combinations, copy/paste from one emacs window to another does not work. I've read a number of posts on the topic, and none solved this problem. Any idea/hint? Thanks St.