From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: era@iki.fi Newsgroups: gmane.emacs.bugs Subject: Re: Console-window Emacs stops responding when pasting clipboard Date: 26 Feb 2004 08:54:29 +0200 Organization: People Who Are Not Old Enough For Unix (Honorary Member Emeritus) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87vflutk7k.fsf@era.iki.fi> References: <26338.1077733858@cs.ubc.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1077778773 10993 80.91.224.253 (26 Feb 2004 06:59:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2004 06:59:33 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 07:59:23 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AwFUQ-0002gP-01 for ; Thu, 26 Feb 2004 07:59:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AwFTb-0005K7-Mo for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Feb 2004 01:58:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AwFQK-000404-As for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2004 01:55:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AwFPo-0003tk-5a for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2004 01:55:07 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AwFPn-0003tC-Hi for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2004 01:54:35 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AwFPj-00052i-00 for ; Thu, 26 Feb 2004 07:54:31 +0100 Original-Received: from fsgw.f-secure.com ([193.110.108.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu Feb 26 06:54:31 2004 Original-Received: from era by fsgw.f-secure.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu Feb 26 06:54:31 2004 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-To: bug-gnu-emacs@gnu.org Original-Lines: 85 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fsgw.f-secure.com Mail-Copies-To: nobody User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7097 On 26 Feb 2004 07:56:21 +0200, Eli Zaretskii posted to bug-gnu-emacs: > Thanks for the report, but I cannot reproduce this. I don't have > Mozilla on the Windows box where I tried this, so I used Explorer to > display the Web page you mentioned and Emacs 21.2 running on a > GNU/Linux system to which I logged using PuTTY. I had no problems > pasting the paragraph you mentioned into Emacs. > So I think more digging on your part is required. For example, is > Mozilla necessary to reproduce this problem, or any other Windows > application will do? It could even depend on the Mozilla version. V1.6 on a Linux box does not display anything where the dashes are (apparently) supposed to be, and of course cutting and pasting that part doesn't include the missing dashes. I can't even see them in "view source". But here is the pertinent part of the HTML sources: $ lynx -dump -source 'http://www.guardian.co.uk/elsewhere/journalist/story/0%2c7792%2c1152570%2c00.html' | > fold -w 72 | > fgrep -C "everyone knows everyone" | > od -c -t x1 0000000 n g E s t o n i a n s . < P > 6e 67 20 45 73 74 6f 6e 69 61 6e 73 2e 3c 50 3e 0000020 " I t a l l r a n a b i 22 49 74 20 61 6c 6c 20 72 61 6e 20 61 20 62 69 0000040 t o u t o f c o n t r o l 74 20 6f 75 74 20 6f 66 20 63 6f 6e 74 72 6f 6c 0000060 a f t e r a w h i l e . 20 61 66 74 65 72 20 61 20 77 68 69 6c 65 2e 20 0000100 M y p a r t n \n e r w a s 4d 79 20 70 61 72 74 6e 0a 65 72 20 77 61 73 20 0000120 o u t i n t h e c a s i n 6f 75 74 20 69 6e 20 74 68 65 20 63 61 73 69 6e 0000140 o s e v e r y n i g h t . 6f 73 20 65 76 65 72 79 20 6e 69 67 68 74 2e 20 0000160 I t g o t t o t h e p o 49 74 20 67 6f 74 20 74 6f 20 74 68 65 20 70 6f 0000200 i n t w h e r e t h e m a 69 6e 74 20 77 68 65 72 65 20 74 68 65 20 6d 61 0000220 n \n a g e r s w e r e c o m 6e 0a 61 67 65 72 73 20 77 65 72 65 20 63 6f 6d 0000240 i n g t o s e e m e ­ 69 6e 67 20 74 6f 20 73 65 65 20 6d 65 20 ad 20 0000260 e v e r y o n e k n o w s e 65 76 65 72 79 6f 6e 65 20 6b 6e 6f 77 73 20 65 0000300 v e r y o n e i n t h i s 76 65 72 79 6f 6e 65 20 69 6e 20 74 68 69 73 20 0000320 t o w n ­ a n d \n s a y i 74 6f 77 6e 20 ad 20 61 6e 64 0a 20 73 61 79 69 0000340 n g h e i s l o s i n g 6e 67 20 68 65 20 69 73 20 6c 6f 73 69 6e 67 20 0000360 t o o m u c h . $ 1 0 , 0 0 74 6f 6f 20 6d 75 63 68 2e 20 24 31 30 2c 30 30 0000400 0 a n i g h t . N o w h 30 20 61 20 6e 69 67 68 74 2e 20 4e 6f 77 20 68 0000420 e i s d r i v i n g a c 65 20 69 73 20 64 72 69 76 69 6e 67 20 61 20 63 0000440 a b \n i n E d i n b u r g h 61 62 20 0a 69 6e 20 45 64 69 6e 62 75 72 67 68 0000460 , " s a y s G u n n . < P > 2c 22 20 73 61 79 73 20 47 75 6e 6e 2e 3c 50 3e 0000500 A f t e r N i m e t a B a a 41 66 74 65 72 20 4e 69 6d 65 74 61 20 42 61 61 0000520 r , G u n n a n d h i s 72 2c 20 47 75 6e 6e 20 61 6e 64 20 68 69 73 20 0000540 p a r t n e r s e t \n 70 61 72 74 6e 65 72 20 73 65 74 20 0a 0000555 It looks to me like the (possibly) offending character would be an 0xAD, i.e. the ISO-8859-1 soft hyphen. (Sheesh, somebody is using that in lieu of an em dash? Astonishing.) Interestingly, in Mozilla's "view source" I see the spaces on both sides of the (suppressed) hyphens, but copying and pasting from there into an emacs -nw inside an xterm canonicalizes those to a single space each. /* era */ -- The email address era the contact information Just for kicks, imagine at iki dot fi is heavily link on my home page at what it's like to get spam filtered. If you 500 pieces of spam for want to reach me, see instead. each wanted message.