delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/02/08:13:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:cc:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=YQf8sCZVfZ7RA///
WpaVjl+LdrtruYia4gjj6HrLDhqrLy2ikY6xK4s7I588KfqDExQwVQMYj86vPorV
fjGN+/Y8Qi1c93CtVb4g4pzlUgxK/zB6Z2zMYJt+pCt8ShAQAQQPC+O2U2oHJoLA
3CPcabRLp9bLnBjH1qKc0SrTVW8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:cc:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=if3vBbdl6gRUKZCdhIT1Cm
eALfI=; b=RIXHyIcm+64bwmXJ2ZOMtxLlTP5tWjQNd1253vsrdCD9SmAcBygIQi
HlEgVa2m+YwxU/c5hC4VuQigFC0eUL/b07DBfe/OUIZOt4dk20+J95ev3ThRj//v
Da3Q9JIz8zoFxecTaPvyHfP9+xvnKd+UwWeUvqACeiOl4hG2i9Vwk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: smtpout07.bt.lon5.cpcloud.co.uk
X-CTCH-RefID: str=0001.0A090204.529C870E.001C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0
X-Junkmail-Premium-Raw: score=29/97,refid=2.7.2:2013.12.2.115114:17:29.943,ip=86.174.32.56,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, CT_TEXT_PLAIN_UTF8_CAPS, __CTE, __ANY_URI, URI_ENDS_IN_HTML, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, BODY_PARA_IS_SENTENCE_URL, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, __URI_NS, SXL_IP_DYNAMIC[56.32.174.86.fur], HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS
X-CTCH-Spam: Unknown
Message-ID: <529C8716.7020601@dronecode.org.uk>
Date: Mon, 02 Dec 2013 13:11:50 +0000
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: markus DOT hoenicka AT mhoenicka DOT de
Subject: Re: emacs-x11: new clipboard size limitation?
References: <ac98a224051c2e59d2a1a0d455717531 AT mhoenicka DOT de>
In-Reply-To: <ac98a224051c2e59d2a1a0d455717531@mhoenicka.de>

On 02/12/2013 12:13, Markus Hoenicka wrote:
> I'm running emacs-x11 24.3.1 on
> 
> CYGWIN_NT-5.1 sbhc123 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin
> 
> I used to be able to copy text from Emacs to Windows applications through the
> clipboard without practical size limitations. However, since my last Cygwin
> upgrade (which updated both Emacs and cygwin1.dll to the versions mentioned
> above) the clipboard seems to be limited in size. All I do is the following:
> 
> - open a file containing ASCII text, amounting to like three printed pages of
> text
> - at the beginning of the buffer, press Ctrl-Space
> - at the end of the buffer, press M-w
> - switch to a Windows application (any that can handle unformatted text will
> do, use e.g. LibreOffice Writer)
> - insert the text using Ctrl-v
> 
> stderr shows the following messages:
> 
> winClipboardWindowProc - timed out waiting for WIN_XEVENTS_NOTIFY_DATA
> winClipboardFlushXEvents - SelectionNotify - X*TextPropertyToTextList
> returned: XConverterNotFound
> winClipboardWindowProc - timed out waiting for WIN_XEVENTS_NOTIFY_TARGETS
> 
> On the receiving end, the message reads something like:
> 
> "Clipboard does not contain specified formatted data"
> 
> Trial and error tells me that I can copy 6104 characters without problems.
> Trying to copy 6105 or more characters triggers the error. I'll try and see if
> this number is constant across reboots. Copying within Emacs, i.e. by yanking
> the text into a different buffer, is not affected. The problem persists if I
> start Emacs using the -q flag.

This looks like the same issue as reported in [1], so you might like to try
the snapshot from [2] and see if it improves things for you?

What you write does seem to support the theory that this is a regression in
select() in the cygwin DLL.  It might be useful if you could say what version
of the cygwin DLL you had when it was working correctly before you upgraded.

[1] http://cygwin.com/ml/cygwin-xfree/2013-10/msg00031.html
[2] http://cygwin.com/ml/cygwin-xfree/2013-11/msg00012.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019