From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)]
Date: Thu, 13 Dec 2012 00:40:22 +0100 [thread overview]
Message-ID: <87wqwm6dqx.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87zk1j2k32@ch.ristopher.com> (Christopher Schmidt's message of "Wed, 12 Dec 2012 18:36:57 +0000 (GMT)")
Hi Christopher,
Christopher Schmidt <christopher@ch.ristopher.com> writes:
> Title says it all. For example evaling (org-export-region-as-latex
> (point-min) (point-max) nil (get-buffer-create "res")) via M-: in an
> org-mode buffer will put the export content in the kill ring. That's
> not nice. I think only the interactive call should do that.
There is org-export-copy-to-kill-ring.
I added a new choice 'if-interactive which is now the default:
exported text will only be pushed to the kill ring when export
is done interactively. You can always set it to nil if you
want.
Best,
--
Bastien
next prev parent reply other threads:[~2012-12-12 23:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 18:36 Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)] Christopher Schmidt
2012-12-12 23:40 ` Bastien [this message]
2012-12-13 9:28 ` Christopher Schmidt
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wqwm6dqx.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).