From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Random832 Newsgroups: gmane.emacs.help Subject: Re: w32-get-clipboard-data Date: Wed, 02 Sep 2015 21:35:11 -0400 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 X-Trace: ger.gmane.org 1441244785 15216 80.91.229.3 (3 Sep 2015 01:46:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 01:46:25 +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 03:46:17 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 1ZXJbU-0000f1-00 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 03:46:16 +0200 Original-Received: from localhost ([::1]:43330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXJbT-0003xy-Qp for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 21:46:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXJQz-0003n4-8h for help-gnu-emacs@gnu.org; Wed, 02 Sep 2015 21:35:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXJQv-0003xu-8n for help-gnu-emacs@gnu.org; Wed, 02 Sep 2015 21:35:25 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXJQu-0003xg-Ra for help-gnu-emacs@gnu.org; Wed, 02 Sep 2015 21:35:21 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZXJQs-0002jz-4M for help-gnu-emacs@gnu.org; Thu, 03 Sep 2015 03:35:18 +0200 Original-Received: from c-68-39-72-44.hsd1.in.comcast.net ([68.39.72.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Sep 2015 03:35:18 +0200 Original-Received: from random832 by c-68-39-72-44.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Sep 2015 03:35:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-68-39-72-44.hsd1.in.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:lulpBERlGbfbFKZxykv29pIrueg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:107002 Archived-At: 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.