Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-07 Thread Daniel Hornung
On Monday, August 05, 2013 16:19:57 Nick Dokos wrote: > There are orgtbl-to-tsv and orgtbl-to-csv (and orgtbl-to-generic which > the first two call) functions in org: it should be possible to use them > and avoid reinventing wheels. Exactly, for someone with more elisp fu than myself this is proba

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Rustom Mody
On Tue, Aug 6, 2013 at 10:58 AM, Rustom Mody wrote: > I was writing up what I could make out of having program-files with inline > tables. > The example is done for python. It is exactly what the OP wants but close > enough > That was intended to be "NOT exactly what the OP wants..."

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Rustom Mody
I was writing up what I could make out of having program-files with inline tables. The example is done for python. It is exactly what the OP wants but close enough so giving it here. This file shows two approaches for making python data structures from orgtbl with both sender and receiver in same

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Nick Dokos
Thorsten Jolitz writes: > Daniel Hornung writes: > >> On Monday, August 05, 2013 11:16:55 Thorsten Jolitz wrote: >>> Daniel Hornung writes: >>> > I think one great way to increase the usefulness of org-mode would be a >>> > function which turns a table into a csv or tsv block of text again. >>>

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Thorsten Jolitz
Thorsten Jolitz writes: > Or use something like this: > > #+begin_src emacs-lisp > (defun tj/insert-exported-table (&optional insertion-point file) > (let ((tmp-file (or file (make-temp-file "foo"))) > (insert-point (or insertion-point (1+ (org-table-end) > (org-table-ex

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Thorsten Jolitz
Daniel Hornung writes: > On Monday, August 05, 2013 11:16:55 Thorsten Jolitz wrote: >> Daniel Hornung writes: >> > I think one great way to increase the usefulness of org-mode would be a >> > function which turns a table into a csv or tsv block of text again. >> > >> > I assume that the functio

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Daniel Hornung
On Monday, August 05, 2013 11:16:55 Thorsten Jolitz wrote: > Daniel Hornung writes: > > I think one great way to increase the usefulness of org-mode would be a > > function which turns a table into a csv or tsv block of text again. > > > > I assume that the functionality exists already in org-tab

Re: [O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Thorsten Jolitz
Daniel Hornung writes: > I think one great way to increase the usefulness of org-mode would be a > function which turns a table into a csv or tsv block of text again. > > I assume that the functionality exists already in org-table-export, I > would just wish for this to be exposed as a function w

[O] Bug: Revert orgtbl-create-or-convert-from-region [6.33x]

2013-08-05 Thread Daniel Hornung
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. --