From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Babel Export - Getting asked for coding system Date: Thu, 22 Sep 2016 17:02:45 +0100 Message-ID: <87wpi3q5wa.fsf@gmail.com> References: <9F1773D8-071F-46E8-B2A5-15AF83E89A95@dagertech.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn6Ta-0000K0-5e for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 12:03:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn6TU-00033Z-7K for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 12:03:53 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:33928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn6TT-00033N-W5 for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 12:03:48 -0400 Received: by mail-lf0-f48.google.com with SMTP id y6so72931733lff.1 for ; Thu, 22 Sep 2016 09:03:47 -0700 (PDT) In-Reply-To: <9F1773D8-071F-46E8-B2A5-15AF83E89A95@dagertech.net> 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" To: "David A. Gershman" , emacs-orgmode@gnu.org Hi David, The way you have this code set up, perl will print a string to its stdout. Emacs will read that string into a buffer, then write it to a file. It would be simpler to write the file directly from perl. Note that this will require specifying the file name twice (in the :file header and in the perl code). This is because ob-perl does not support the :results graphics syntax (which could be classed as a wishlist-type bug). -- Aaron Ecay