From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiegec Subject: Re: ox-clip.el Date: Wed, 29 Jun 2016 21:53:13 +0800 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_53F2790F-54E4-45DE-BF44-4673973E837C" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIFvc-0001sF-Hn for emacs-orgmode@gnu.org; Wed, 29 Jun 2016 09:53:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIFvY-0003NQ-Rh for emacs-orgmode@gnu.org; Wed, 29 Jun 2016 09:53:19 -0400 Received: from smtpbg202.qq.com ([184.105.206.29]:57606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIFvY-0003Fg-DD for emacs-orgmode@gnu.org; Wed, 29 Jun 2016 09:53:16 -0400 In-Reply-To: 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" To: John Kitchin Cc: emacs-orgmode@gnu.org --Apple-Mail=_53F2790F-54E4-45DE-BF44-4673973E837C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99m testing this in OS X. I can confirm this works though it = seems to conflict with some other packages here which constantly copy the selected region and = then overwrite the result of ox-clip. I have checked the output of textutil = and use the=20 same command in shell and that works. One feedback: are there internal = functions to manipulate the system clipboard? I am in favour of those instead of = pbcopy. As in mentioned in = https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard = , pbcopy sometimes does not work. The link above says =E2=80=98Under = Yosemite=20 (and later) pasteboard access seems to work fine without the program = from=20 this repository.=E2=80=99 but this is not true in my laptop in OS X El = Capitan 10.11.5. > On Jun 29, 2016, at 9:16 PM, John Kitchin = wrote: >=20 > its not there yet. I would like some people to test it out a little > maybe? get some feedback on it. Then it will probably go to MELPA. >=20 > Jiege Chen writes: >=20 >> John Kitchin wrote: >>> Hi everyone, >>>=20 >>> I extended the work I did here >>> = http://kitchingroup.cheme.cmu.edu/blog/2016/06/16/Copy-formatted-org-mode-= text-from-Emacs-to-other-applications/ >>> on copying formatted org-mode to other applications so it is >>> approximately cross-platform now. There is one command >>> `ox-clip-formatted-copy' that should copy a region in an org-file = with >>> formatting to paste into other applications on Windows, Mac and = Linux. >>>=20 >>> https://github.com/jkitchin/scimax/blob/master/ox-clip.el >>>=20 >>> Try it out! >>>=20 >>=20 >> Impressive. I'd love ox-clip to be released in MELPA. Is that already = done? >=20 >=20 > --=20 > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu >=20 --Apple-Mail=_53F2790F-54E4-45DE-BF44-4673973E837C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

I=E2=80=99= m testing this in OS X. I can confirm this works though it seems to = conflict with
some other packages here which = constantly copy the selected region and then
overwrite the result of ox-clip. I have checked the output of = textutil and use the 
same command in shell = and that works. One feedback: are there internal functions
to manipulate the system clipboard? I am in favour of those = instead of pbcopy.
As in mentioned in https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard,
pbcopy sometimes does not work. The link above says = =E2=80=98Under Yosemite 
(and later) = pasteboard access seems to work fine without the program = from 
this repository.=E2=80=99 but this is = not true in my laptop in OS X El Capitan 10.11.5.
On Jun 29, 2016, at 9:16 PM, John Kitchin <jkitchin@andrew.cmu.edu> wrote:

its = not there yet. I would like some people to test it out a little
maybe? get some feedback on it. Then it will probably go to = MELPA.

Jiege Chen writes:

John Kitchin <jkitchin@andrew.cmu.edu> wrote:
Hi everyone,

I extended the work I did here
http://kitchingroup.cheme.cmu.edu/blog/2016/06/16/Copy-formatte= d-org-mode-text-from-Emacs-to-other-applications/
on = copying formatted org-mode to other applications so it is
approximately cross-platform now. There is one command
`ox-clip-formatted-copy' that should copy a region in an = org-file with
formatting to paste into other applications = on Windows, Mac and Linux.

https://github.com/jkitchin/scimax/blob/master/ox-clip.el

Try it out!


Impressive. I'd love ox-clip to = be released in MELPA. Is that already done?

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical = Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


= --Apple-Mail=_53F2790F-54E4-45DE-BF44-4673973E837C--