From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Schmidt 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) Message-ID: <87obhywbas@ch.ristopher.com> References: <87zk1j2k32@ch.ristopher.com> <87wqwm6dqx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj55z-00071Y-T3 for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 04:28:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj55q-0006jC-Li for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 04:28:47 -0500 Received: from ristopher.com ([146.185.21.93]:36533 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj55q-0006iu-Bh for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 04:28:38 -0500 In-Reply-To: <87wqwm6dqx.fsf@bzg.ath.cx> (Bastien's message of "Thu, 13 Dec 2012 00:40:22 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > Christopher Schmidt 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