From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Clipboard madness Date: Fri, 18 Dec 2009 04:41:44 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1261107745 12163 80.91.229.12 (18 Dec 2009 03:42:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 03:42:25 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 18 04:42:17 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLTjL-0002MD-Os for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2009 04:42:16 +0100 Original-Received: from localhost ([127.0.0.1]:34082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLTjL-0008DD-SL for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2009 22:42:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLTjH-0008Cq-TP for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:42:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLTjC-0008Bw-Ud for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:42:11 -0500 Original-Received: from [199.232.76.173] (port=54231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLTjC-0008Bt-Qh for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:42:06 -0500 Original-Received: from mail-yx0-f191.google.com ([209.85.210.191]:57398) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLTjC-0001Kj-Lo for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:42:06 -0500 Original-Received: by yxe29 with SMTP id 29so7455951yxe.14 for ; Thu, 17 Dec 2009 19:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=kL0u1oYrAbS2IHmREI1FBbg+aMED6MI5Oi0PMtWcHAw=; b=Vg1GAJ8LBIUAIQf9fMB7wMIMqNLifxWuzemzBKC46TQ48jsZDLfciWWHGhEw1Z/qsY SotViStrDqzxVc5hw0EzOauFyYpNi5+47UvUpOVrumDso602vns6A/wnZk0KvG0/raN6 O1IvjA2I4zz5VTQ2DmBZ37NIcBRViB5IEHGck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=sxfv0o4Ja8nsFAbAxasUm+FcOpNK0K25qNSy0ccx6TybEGNT9MFzjzhlC6atC7R02e /d5tM5ZT6MIFQ0nkv+TwMzjdvzSXoMNzaqQHY/XZwOqOxOa9avXZc0xMSgBL1Ekv97eB 5foo2Poy1VbWEGikK29t+hC6HNLFd4RPq6WiY= Original-Received: by 10.101.194.26 with SMTP id w26mr5172720anp.188.1261107725111; Thu, 17 Dec 2009 19:42:05 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118693 Archived-At: I am trying to send copy the summary text from an article in PDF-format which I am reading with Acrobat Reader. It does not work well at all in this case. For example ">" becomes "4". Some spaces disappears. I do not know what Emacs does when copying from clip board. However buffer-file-coding-system is a variable defined in `C source code'. Its value is utf-8-dos Local in buffer kisely-sum.txt; global value is utf-8-dos The same thing seems to happen with the default iso-latin-1-dos. I am doing this on w32 with recent builds. The PDF I am reading is the full-text PDF from The British Journal of Psychiatry 2007 v. 191, p. 373-374 (Kisely and Campbell). It is available on this page: http://bjp.rcpsych.org/content/vol191/issue5/ I am just copying the text in "Summary", after that word (from "Supervised" to the end of the paragraph). Can anyone please shed some light on this?