From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: user control of source block header line exporting formats Date: Fri, 27 Aug 2010 09:13:40 -0600 Message-ID: <87d3t4xf4r.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=34600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op0cv-0001Vt-Hv for emacs-orgmode@gnu.org; Fri, 27 Aug 2010 11:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op0cq-0007aJ-1j for emacs-orgmode@gnu.org; Fri, 27 Aug 2010 11:13:57 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:42228) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op0cp-0007aD-O4 for emacs-orgmode@gnu.org; Fri, 27 Aug 2010 11:13:51 -0400 Received: by pxi5 with SMTP id 5so1979433pxi.0 for ; Fri, 27 Aug 2010 08:13:50 -0700 (PDT) In-Reply-To: (David O'Toole's message of "Sat, 31 Jul 2010 16:54:57 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David O'Toole Cc: emacs-orgmode Mailinglist Hi David, I agree we would like to allow more control over the appearance of exported code blocks. Since this patch admits better control over the format of name and arguments of code blocks on export, could you include a couple of example customizations along with their results? I've just applied this patch to my system, and although it works in most cases, it raises an error when exporting the following subtree to html --8<---------------cut here---------------start------------->8--- ** lob -- writing results out to files #+source: table #+begin_src emacs-lisp (mapcar (lambda (el) (number-sequence el (+ el 3))) (number-sequence 0 4)) #+end_src writes the results out as csv file #+call: write(data=table, file="~/Desktop/example.csv") :results silent writes the results out as tab separated file #+call: write(data=table, file="~/Desktop/example.tsv") :results silent write the results out as a normal org-mode file #+call: write(data=table, file="~/Desktop/example.org") :results silent --8<---------------cut here---------------end--------------->8--- Cheers -- Eric "David O'Toole" writes: > I've attached a diff of my apparently-working changes to allow better > control of the way ob-exp.el formats the name and arguments of source > code blocks. > > What do you think? > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode