help-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-recutils] modifying ob-rec.el to eliminate the header and hline -


From: Charles Millar
Subject: [help-recutils] modifying ob-rec.el to eliminate the header and hline - is there a better way
Date: Sun, 26 Jul 2015 11:54:08 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

I know that the following is strongly discouraged (modifying the original .el code), so could someone provide the better way.

I have a number of tables that are generated using ob-rec.el in a org file

I do not want the column names or hline, so I have commented out the penultimate line in ob-rec.el (v 7.7), i.e.

           (cons (car table) (cons 'hline (cdr table))))))))

and instead have inserted simply

          (cdr table))))))

I have tried to use :hline no as mentioned in the org manual, and :colnames (nil no, yes) and these do not have any effect on the output if I use ob-rec.el as Jose coded it.

(BTW, I don't want the heading and hline because the fields in the record set usually are short compared to what should be in the final product, such as "Basis: " in the record, but "Inventory Value" in the final print out)

Is there some code that I could include in my .emacs that takes care of this so that I avoid changing Jose's code?

Charlie Millar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]