From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien 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 Message-ID: <87wqwm6dqx.fsf@bzg.ath.cx> References: <87zk1j2k32@ch.ristopher.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tivuc-0005LO-Tu for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 18:40:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tivub-0000Gs-M2 for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 18:40:26 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:61232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tivub-0000Gh-FW for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 18:40:25 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn17so3193256wib.12 for ; Wed, 12 Dec 2012 15:40:24 -0800 (PST) In-Reply-To: <87zk1j2k32@ch.ristopher.com> (Christopher Schmidt's message of "Wed, 12 Dec 2012 18:36:57 +0000 (GMT)") 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 Hi Christopher, 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. Best, -- Bastien