* Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)]
@ 2012-12-12 18:36 Christopher Schmidt
2012-12-12 23:40 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Christopher Schmidt @ 2012-12-12 18:36 UTC (permalink / raw)
To: emacs-orgmode
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.
Christopher
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)]
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
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-12-12 23:40 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)]
2012-12-12 23:40 ` Bastien
@ 2012-12-13 9:28 ` Christopher Schmidt
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Schmidt @ 2012-12-13 9:28 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-13 9:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.