From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Vorobiev Subject: Re: [PATCH] org-compat: Support for getting data from Windows clipboard Date: Thu, 21 Nov 2013 17:21:26 -0600 Message-ID: References: <878uwn7837.fsf@bzg.ath.cx> <871u2et621.fsf@bzg.ath.cx> <87r4achgqs.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6044504cbf0204ebb829cf Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjdZD-0001lT-Rf for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 18:21:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjdZC-00080q-VZ for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 18:21:47 -0500 In-Reply-To: <87r4achgqs.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Fabrice Popineau , emacs-orgmode --047d7b6044504cbf0204ebb829cf Content-Type: text/plain; charset=ISO-8859-1 Hi Bastien, The patch doesn't work unfortunately. I stepped through x-get-selection-value in w32-common-fns.el and the correct value from the clipboard gets assigned to x-last-selected-text but then the function just returns nil (line 120). I would say x-last-selected text needs to be used somehow. Thanks, Alex On Tue, Nov 19, 2013 at 3:40 AM, Bastien wrote: > Hi Alexander, > > can you test the attached patch and let me know if it works for you? > > Thanks, > > > > -- > Bastien > > --047d7b6044504cbf0204ebb829cf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Bastien,=A0

The patch doesn't wo= rk unfortunately. I stepped through x-get-selection-value in w32-common-fns= .el and the correct value from the clipboard gets assigned to x-last-select= ed-text but then the function just returns nil (line 120). I would say x-la= st-selected text needs to be used somehow.

Thanks,
Alex


On Tue, Nov 19, 2013 at 3:40 AM, B= astien <bzg@gnu.org> wrote:
Hi Alexander,

can you test the attached patch and let me know if it works for you?

Thanks,



--
=A0Bastien


--047d7b6044504cbf0204ebb829cf--