From: Diego Zamboni <diego@zzamboni.org>
To: Tim Visher <tim.visher@gmail.com>
Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: xclip/pbcopy/clipboard 'target' for export backends?
Date: Tue, 5 Jan 2021 17:13:03 +0100 [thread overview]
Message-ID: <CAGY83EeF1-doWQnmBzaQjqjV86S4N3S4Zy7nZvaJLHnKKEHsKg@mail.gmail.com> (raw)
In-Reply-To: <CAHa53uzKMjocAha6vt7dXRDNrvaEejJFLX=bQh2BvkzSbgsXCg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]
Hi Tim,
Funny - just a few minutes ago, before reading your message, I learned
while installing https://github.com/stig/ox-jira.el, about =
org-export-copy-to-kill-ring=:
org-export-copy-to-kill-ring is a variable defined in ox.el.
Non-nil means pushing export output to the kill ring.
This variable is ignored during asynchronous export.
In my brief testing, it does exactly what you want: regardless of the
export output or method (to a file or to a temporary buffer), the result is
placed in the clipboard.
Best,
--Diego
On Tue, Jan 5, 2021 at 3:03 PM Tim Visher <tim.visher@gmail.com> wrote:
> Hi Everyone,
>
> I'm interested in adding something to the export dispatcher that would
> automatically put the exported text (or perhaps even file?) onto my
> clipboard.
>
> Preferably I'd like to define this once and have it available to each
> backend. So maybe I want markdown this time but rather than to a buffer or
> file I want it to go straight to my clipboard. Next time I want HTML or
> Plain Text but the same thing.
>
> Can anyone give me some hints on where to start looking for that? Or maybe
> it's already been done?
>
> Thanks in advance!
>
> --
>
> In Christ,
>
> Timmy V.
>
> https://blog.twonegatives.com
> http://five.sentenc.es
>
[-- Attachment #2: Type: text/html, Size: 2207 bytes --]
next prev parent reply other threads:[~2021-01-05 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 14:01 xclip/pbcopy/clipboard 'target' for export backends? Tim Visher
2021-01-05 15:18 ` John Kitchin
2021-01-05 15:27 ` Eric S Fraga
2021-01-05 16:13 ` Diego Zamboni [this message]
2021-01-05 18:14 ` Tim Visher
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGY83EeF1-doWQnmBzaQjqjV86S4N3S4Zy7nZvaJLHnKKEHsKg@mail.gmail.com \
--to=diego@zzamboni.org \
--cc=emacs-orgmode@gnu.org \
--cc=tim.visher@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.