bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console-window Emacs stops responding when pasting clipboard


From: era
Subject: Re: Console-window Emacs stops responding when pasting clipboard
Date: 26 Feb 2004 08:54:29 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

On 26 Feb 2004 07:56:21 +0200, Eli Zaretskii <eliz@elta.co.il> 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    <http://www.iki.fi/era/>  500 pieces of spam for
want to reach me, see     instead.                  each wanted message.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]