[Top][All Lists]

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

Re: copying to clipboard silently discards lines

From: Chong Yidong
Subject: Re: copying to clipboard silently discards lines
Date: Thu, 24 Feb 2005 10:45:01 -0500 (EST)
User-agent: SquirrelMail/1.4.3a

"Kim F. Storm" <address@hidden> wrote:
> IIRC, clipboard handling on WinDOS had major changes intalled a couple
> of weeks ago.
> If you can debug this, I'm sure it will be appreciated!!

I have verified that the bug was introduced by the Unicode clipboard
support patch. I am trying to debug it, but I have never looked at the
code before. You (Benjamin) will probably find it faster, since you wrote
the patch.

>> I have not tested this on GNU/Linux, but the Windows build silently
>> discards some of the text copied onto the clipboard when there are too
>> many lines. I think this problem first appeared a couple weeks ago. To
>> reproduce:
>> 1. emacs -Q
>> 2. Type the following into the *scratch* buffer:
>> (dotimes (i 1000)
>>   (insert (number-to-string i))
>>   (newline))
>> 3. C-j
>> 4. C-SPACE
>> 5. C-x <
>> 6. M-w      (on Windows, this copies the text to the clipboard too)
>> 7. Paste the clipboard contents into another program, such as another
>>    instance of Emacs. You will see
>> ...
>> 824
>> 825
>> The last hundred lines have silently disappeared.

reply via email to

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