Re: Inserting tables programatically in elisp

2022-11-05 Thread Jean Louis
* Heime [2022-11-05 12:27]: > The problem I see is that the code assumes use of org-mode, whereas > I am interested in more general tables in any buffer. At first > perhaps just making a table for display rather than for user > interaction. You said you want them generated programmatically

Re: Inserting tables programatically in elisp

2022-11-05 Thread Jean Louis
* Heime [2022-11-05 12:27]: > > And now the final result: > > > > (rcd-org-table my-table) ⇒ " > > | ID | Description | Amount | > > |--++| > > | 1.00 | Payment for domain | 10.50 | > > | 2.00 | Transfer from Doe | 250.00 | > > > > " > > The problem I see is

Re: Inserting tables programatically in elisp

2022-11-05 Thread Heime
--- Original Message --- On Saturday, November 5th, 2022 at 9:02 AM, Jean Louis wrote: > * Heime heimebor...@protonmail.com [2022-11-05 10:45]: > > > Have been introspecting the possibility of conveniently inserting table > > programatically > > in elisp and encountered "table.el". >

Re: Inserting tables programatically in elisp

2022-11-05 Thread Heime
--- Original Message --- On Saturday, November 5th, 2022 at 8:49 AM, Ihor Radchenko wrote: > Heime heimebor...@protonmail.com writes: > > > Have constructed this function, but the difficulty centers around > > the challenge of inserting text in specific tests. > > > > (defun

Re: Inserting tables programatically in elisp

2022-11-05 Thread Jean Louis
* Heime [2022-11-05 10:45]: > Have been introspecting the possibility of conveniently inserting table > programatically > in elisp and encountered "table.el". > > Have constructed this function, but the difficulty centers around > the challenge of inserting text in specific tests. > > (defun

Re: Inserting tables programatically in elisp

2022-11-05 Thread Ihor Radchenko
Heime writes: > Have constructed this function, but the difficulty centers around > the challenge of inserting text in specific tests. > > (defun make-table () > (interactive) > (table-insert 4 5) > (table-forward-cell) > (table-insert-sequence "icomplt-horz" 1 1 1 'center) >

Inserting tables programatically in elisp

2022-11-05 Thread Heime
Have been introspecting the possibility of conveniently inserting table programatically in elisp and encountered "table.el". Have constructed this function, but the difficulty centers around the challenge of inserting text in specific tests. (defun make-table () (interactive) (table-insert