From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Coda Newsgroups: gmane.emacs.help Subject: Re: w32-get-clipboard-data Date: Thu, 3 Sep 2015 02:09:29 -0700 (PDT) Message-ID: References: <0f6a0212-3e01-4a6d-8b6d-6361621f4dc1@googlegroups.com> <0de2f21d-dd37-4ab1-bf0b-e0f04f18493e@googlegroups.com> <73786808-1eac-48dc-a755-da733dc273fa@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1441271427 17789 80.91.229.3 (3 Sep 2015 09:10:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 09:10:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 03 11:10:24 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXQXH-0005Ta-44 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 11:10:23 +0200 Original-Received: from localhost ([::1]:46119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXQXH-0001Y2-Bs for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 05:10:23 -0400 X-Received: by 10.129.81.142 with SMTP id f136mr40812041ywb.28.1441271370303; Thu, 03 Sep 2015 02:09:30 -0700 (PDT) X-Received: by 10.50.114.196 with SMTP id ji4mr130231igb.9.1441271370248; Thu, 03 Sep 2015 02:09:30 -0700 (PDT) Original-Path: usenet.stanford.edu!v79no409888qge.0!news-out.google.com!nt1ni22942igb.0!nntp.google.com!kq10no750759igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=195.188.251.108; posting-account=m04FzgoAAACE321zIBttJ0LOy_kNjzcN Original-NNTP-Posting-Host: 195.188.251.108 User-Agent: G2/1.0 Injection-Date: Thu, 03 Sep 2015 09:09:30 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:214722 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107005 Archived-At: On Thursday, 3 September 2015 02:35:29 UTC+1, Random832 wrote: > Stephen Coda writes: > > > On Wednesday, 2 September 2015 06:35:26 UTC+1, Random832 wrote: > > Hi Random832, > > > > It is set up by an admin:) > > I think it might well be a security issue, and that maybe websecure > > anywhere is responsible. But I don't have access to the settings and > > have submitted a ticket to get this looked into. > > > > And just tried GetClipboardData, it is returning null.... > > What does OpenClipboard return? You have to have called it, and had it > return TRUE/1, before you're allowed to call GetClipboardData. > > One thing I noticed looking over the Emacs code is that it bails out > immediately without any sort of retry dance if OpenClipboard fails - and > it *does* fail, rather than block, if some other app has the clipoard > open at the moment it is called. Are you *ever* able to paste into > Emacs? If this is intermittent, maybe there's some other app running > that just opens it very often and you keep colliding with it. OpenCliboard returns true. I didn't think I could paste under any circs in emacs, but this morning discovered I can if chrome isn't open... So it does look like some sort of collision. Kind regards, Steve