From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: w32-get-clipboard-data Date: Tue, 25 Aug 2015 07:54:24 -0700 (PDT) Message-ID: <97e2fe15-cfa3-4b25-9a04-1777b39f1c7b@googlegroups.com> References: <0f6a0212-3e01-4a6d-8b6d-6361621f4dc1@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 1440514519 13872 80.91.229.3 (25 Aug 2015 14:55:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2015 14:55:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 25 16:55:19 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 1ZUFd8-0003yP-LN for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2015 16:55:18 +0200 Original-Received: from localhost ([::1]:60589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUFd8-00085M-2J for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2015 10:55:18 -0400 X-Received: by 10.68.221.193 with SMTP id qg1mr28414358pbc.14.1440514464612; Tue, 25 Aug 2015 07:54:24 -0700 (PDT) X-Received: by 10.50.122.40 with SMTP id lp8mr71284igb.0.1440514464505; Tue, 25 Aug 2015 07:54:24 -0700 (PDT) Original-Path: usenet.stanford.edu!u8no178642igq.0!news-out.google.com!nt1ni14665igb.0!nntp.google.com!u8no178634igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <0f6a0212-3e01-4a6d-8b6d-6361621f4dc1@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.129.51.224; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM Original-NNTP-Posting-Host: 149.129.51.224 User-Agent: G2/1.0 Injection-Date: Tue, 25 Aug 2015 14:54:24 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:214549 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:106833 Archived-At: On Tuesday, 25 August 2015 18:44:07 UTC+8, Stephen Coda wrote: > For me, w32-get-clipboard-data > always returns null. w32-get-clipboard-data returns nil if Emacs owns the clipboard, so that the internal yank implementation will be used instead, as that will preserve text properties in addition to the raw text. If you copy some text to the clipboard outside of Emacs, does w32-get-clipboard-data return the expected result then? In what way is copy/paste not working for you in Emacs?