unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Random832 <random832@fastmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: w32-get-clipboard-data
Date: Wed, 02 Sep 2015 21:35:11 -0400	[thread overview]
Message-ID: <m2bndkffow.fsf@fastmail.com> (raw)
In-Reply-To: 73786808-1eac-48dc-a755-da733dc273fa@googlegroups.com

Stephen Coda <stephencoda@googlemail.com> 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.




  reply	other threads:[~2015-09-03  1:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25 10:44 w32-get-clipboard-data stephencoda
2015-08-25 14:54 ` w32-get-clipboard-data Jason Rumney
2015-08-27  8:13   ` w32-get-clipboard-data Stephen Coda
2015-08-25 23:57 ` w32-get-clipboard-data Robert Thorpe
     [not found] ` <mailman.107.1440547063.28410.help-gnu-emacs@gnu.org>
2015-08-27  8:16   ` w32-get-clipboard-data Stephen Coda
2015-08-30 20:56     ` w32-get-clipboard-data Robert Thorpe
     [not found] ` <mailman.220.1440968328.19560.help-gnu-emacs@gnu.org>
2015-09-01  8:21   ` w32-get-clipboard-data Stephen Coda
2015-09-01 14:39     ` w32-get-clipboard-data Eli Zaretskii
2015-09-02  5:35     ` w32-get-clipboard-data Random832
     [not found]     ` <mailman.376.1441172123.19560.help-gnu-emacs@gnu.org>
2015-09-02 14:00       ` w32-get-clipboard-data Stephen Coda
2015-09-03  1:35         ` Random832 [this message]
     [not found]         ` <mailman.438.1441244127.19560.help-gnu-emacs@gnu.org>
2015-09-03  9:09           ` w32-get-clipboard-data Stephen Coda
     [not found]     ` <mailman.307.1441118462.19560.help-gnu-emacs@gnu.org>
2015-09-02 14:01       ` w32-get-clipboard-data Stephen Coda
2015-09-02 14:46         ` w32-get-clipboard-data Eli Zaretskii
     [not found]         ` <mailman.396.1441205214.19560.help-gnu-emacs@gnu.org>
2015-09-03  9:07           ` w32-get-clipboard-data Stephen Coda
2015-09-03  9:29             ` w32-get-clipboard-data Stephen Coda
2015-09-03 14:22               ` w32-get-clipboard-data Jason Rumney
2015-09-04  8:54                 ` w32-get-clipboard-data Stephen Coda
2015-09-03 14:38             ` w32-get-clipboard-data Eli Zaretskii
2015-09-03 20:03               ` w32-get-clipboard-data Robert Thorpe
     [not found]             ` <mailman.449.1441291116.19560.help-gnu-emacs@gnu.org>
2015-09-04  8:58               ` w32-get-clipboard-data Stephen Coda
2015-09-04  9:12                 ` w32-get-clipboard-data Eli Zaretskii
     [not found]                 ` <mailman.508.1441357943.19560.help-gnu-emacs@gnu.org>
2015-09-10 10:31                   ` w32-get-clipboard-data Stephen Coda
2015-09-02  9:31 ` w32-get-clipboard-data Ian Zimmerman
     [not found] ` <mailman.385.1441186322.19560.help-gnu-emacs@gnu.org>
2015-09-02 14:20   ` w32-get-clipboard-data Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2bndkffow.fsf@fastmail.com \
    --to=random832@fastmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).