From: Christopher Schmidt <christopher@ch.ristopher.com>
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 09:28:35 +0000 (GMT) [thread overview]
Message-ID: <87obhywbas@ch.ristopher.com> (raw)
In-Reply-To: <87wqwm6dqx.fsf@bzg.ath.cx> (Bastien's message of "Thu, 13 Dec 2012 00:40:22 +0100")
Bastien <bzg@altern.org> writes:
> 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.
Thank you very much.
Christopher
prev parent reply other threads:[~2012-12-13 9:28 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
2012-12-13 9:28 ` Christopher Schmidt [this message]
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=87obhywbas@ch.ristopher.com \
--to=christopher@ch.ristopher.com \
--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 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.