From: "Eric Schulte" <schulte.eric@gmail.com>
To: David O'Toole <dto1138@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: user control of source block header line exporting formats
Date: Fri, 27 Aug 2010 09:13:40 -0600 [thread overview]
Message-ID: <87d3t4xf4r.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTi=mW7fnYcS8MRzqkh2-y7N4B2JNAbEYNscb5ipr@mail.gmail.com> (David O'Toole's message of "Sat, 31 Jul 2010 16:54:57 -0400")
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" <dto1138@gmail.com> 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
prev parent reply other threads:[~2010-08-27 15:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-31 20:54 user control of source block header line exporting formats David O'Toole
2010-08-27 15:13 ` Eric Schulte [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3t4xf4r.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=dto1138@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.