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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=HoPIvGNaSSNv1L/EyUaAWIp4AEEGm6lsLuTcqewaAAfw32s78V9X1 VqsvDoCd4jeOCXlwAt/9Hj1p7Itjib7/7LCKHRD1BIp+HiocV+K1SFXAhK1dMeOu 3bF8VTqaYo9jcKDPF5Tbu9ZVJyuxnIBVoO0nZxmAh2HUPE4PjIDM9o= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=2Hcz6sT61UCNFsuBNplrvOzPSXY=; b=e68eBbNpZeZ8xB5/j43lquD+E+WR FrWu6+U/mXXZH0HiKsOMr29OldYXWnSe08W66U+X48UgbVIL1VIL57YO56NyFrBj 9hn+P2uBQHmGcotoS4VYRVZU5vzkAFF4IPxTVozp6UPytVZef4mW482RLJzAaCq3 JfnXlnsD+Kkwwu0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.5 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 2 Dec 2013 15:17:40 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: emacs-x11: new clipboard size limitation? Message-ID: <20131202141740.GC11800@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <529C8716 DOT 7020601 AT dronecode DOT org DOT uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline In-Reply-To: <529C8716.7020601@dronecode.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 2 13:11, Jon TURNEY wrote: > On 02/12/2013 12:13, Markus Hoenicka wrote: > > I'm running emacs-x11 24.3.1 on > >=20 > > CYGWIN_NT-5.1 sbhc123 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin > >=20 > > I used to be able to copy text from Emacs to Windows applications throu= gh the > > clipboard without practical size limitations. However, since my last Cy= gwin > > upgrade (which updated both Emacs and cygwin1.dll to the versions menti= oned > > above) the clipboard seems to be limited in size. All I do is the follo= wing: > >=20 > > - open a file containing ASCII text, amounting to like three printed pa= ges 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 > >=20 > > stderr shows the following messages: > >=20 > > winClipboardWindowProc - timed out waiting for WIN_XEVENTS_NOTIFY_DATA > > winClipboardFlushXEvents - SelectionNotify - X*TextPropertyToTextList > > returned: XConverterNotFound > > winClipboardWindowProc - timed out waiting for WIN_XEVENTS_NOTIFY_TARGE= TS > >=20 > > On the receiving end, the message reads something like: > >=20 > > "Clipboard does not contain specified formatted data" > >=20 > > Trial and error tells me that I can copy 6104 characters without proble= ms. > > 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 y= anking > > the text into a different buffer, is not affected. The problem persists= if I > > start Emacs using the -q flag. >=20 > This looks like the same issue as reported in [1], so you might like to t= ry > the snapshot from [2] and see if it improves things for you? >=20 > 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 ver= sion > of the cygwin DLL you had when it was working correctly before you upgrad= ed. >=20 > [1] http://cygwin.com/ml/cygwin-xfree/2013-10/msg00031.html > [2] http://cygwin.com/ml/cygwin-xfree/2013-11/msg00012.html Are you sure this is a select problem? If so, can you create an STC, perhaps? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --UFHRwCdBEJvubb2X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSnJaEAAoJEPU2Bp2uRE+gWlYP/iFOOWbijwiKzqufyZv+jVwX OlD8hn9leDD9H2TrX1QnRsIZI28s9xZjgT00XQj0ZhivkZpEY/28i5F8UU1i5atC tOxk+zGDfyO1/CRr84oOd5zE0DDjHo0aFwg6uIDKBbJ/R5wa8iDfS0DBt2UrQZJ7 4j1gI3s75e6vfCHfHKyus4mUvxazCG3wcBA1qi3us6GROCtVDF/ZO5lteAXLGbP6 hSiW736vadScY/7akczwyheTib/N4pUOknBOmCQ4McwDE4vnzzuBFVAjscLOeiw9 PZXwH68JZ5l+bsl8Uj4rRD0+iufs/SS6XdU4260uflI9xq735xeZuB4u8BeRGbtH wm5GPZzaY0ye35Tzg/dskjF9mNHlVmUY/eKzeexhFS5gD2BRRuBHZYTuCpefQEEE YAPCndhhzCvrlV96QUXWF5vNCEVUYoJqUVXrI03b3K0dFEinA6aiSCdWW6a9i+GX vGym6wjc5eIU15+HA6NH+48LXzkTWI3wjzFo2/w2ya5LynyCKCki7NDdbqSaBeIc tpy/5aYLI/nGLLi7XFt2T2ccdDHz5coptezaCIFPPVvVq0Rlk8I5tyL9LKVHOai/ LbMDEAQz3QoouIUUPIHdh542idQFe1OAKrfe5m7uYRrtIVlnuvgV75I2XdYVHt8S aN1/+FAr15PeXxM0M4n+ =sjeZ -----END PGP SIGNATURE----- --UFHRwCdBEJvubb2X--