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: Sun, 17 Nov 2013 18:31:13 -0600 Message-ID: References: <878uwn7837.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b6dc2267e6b5504eb68ab00 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViCkZ-0000QQ-G1 for emacs-orgmode@gnu.org; Sun, 17 Nov 2013 19:31:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViCkY-0002ef-5H for emacs-orgmode@gnu.org; Sun, 17 Nov 2013 19:31:35 -0500 In-Reply-To: <878uwn7837.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: emacs-orgmode --047d7b6dc2267e6b5504eb68ab00 Content-Type: multipart/alternative; boundary=047d7b6dc2267e6b5104eb68abfe --047d7b6dc2267e6b5104eb68abfe Content-Type: text/plain; charset=ISO-8859-1 Hi Bastien, Sorry for the mis-formatting. Here is the patch as an attachment. Thanks, Alex On Sun, Nov 17, 2013 at 2:20 AM, Bastien wrote: > Hi Alexander, > > Alexander Vorobiev writes: > > > I noticed that %x capture template doesn't work under Windows which > > made my templates non-portable, so I made this small change to > > org-get-x-clipboard to fix that. This is my very first patch, please > > let me know if it is acceptable. > > The patch looks good but it got mangled by the HTML format of > the email. Can you resend it as an attachement? > > Thanks! > > -- > Bastien > --047d7b6dc2267e6b5104eb68abfe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Bastien,

Sorry for the mis-formattin= g. Here is the patch as an attachment.

Thanks,
Alex


On Sun, Nov 17, 2013 at 2:20 AM, Bastien <bzg@gnu.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex"> Hi Alexander,

Alexander Vorobiev <alex= ander.vorobiev@gmail.com> writes:

> I noticed that %x capture template doesn't work under Windows whic= h
> made my templates non-portable, so I made this small change to
> org-get-x-clipboard to fix that. This is my very first patch, please > let me know if it is acceptable.

The patch looks good but it got mangled by the HTML format of
the email. =A0Can you resend it as an attachement?

Thanks!

--
=A0Bastien

--047d7b6dc2267e6b5104eb68abfe-- --047d7b6dc2267e6b5504eb68ab00 Content-Type: application/octet-stream; name="0001-org-compat-Support-for-getting-data-from-Windows-cli.patch" Content-Disposition: attachment; filename="0001-org-compat-Support-for-getting-data-from-Windows-cli.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ho4z8k270 RnJvbSA2OGZjNWVhNTQ5MmQ5YmExZTg1YzJhYzExYWYzNGFlMGY1YmNlZmFhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4YW5kZXIgVm9yb2JpZXYgPGFsZXhhbmRlci52b3JvYmll dkBnbWFpbC5jb20+CkRhdGU6IFN1biwgMTcgTm92IDIwMTMgMTg6Mjc6MTQgLTA2MDAKU3ViamVj dDogW1BBVENIXSBvcmctY29tcGF0OiBTdXBwb3J0IGZvciBnZXR0aW5nIGRhdGEgZnJvbSBXaW5k b3dzIGNsaXBib2FyZAoKKiBsaXNwL29yZy1jb21wYXQuZWwgKG9yZy1nZXQteC1jbGlwYm9hcmQp OiBVc2UgdzMyLWdldC1jbGlwYm9hcmQtZGF0YQp0byBnZXQgdGhlIGNsaXBib2FyZCBkYXRhIHVu ZGVyIFdpbmRvd3MuCgpUSU5ZQ0hBTkdFCi0tLQogbGlzcC9vcmctY29tcGF0LmVsIHwgMTAgKysr KysrLS0tLQogMSBmaWxlIGNoYW5nZWQsIDYgaW5zZXJ0a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