Re: configure separator in org-table-insert-hline

2020-08-24 Thread Nick Dokos
Vladimir Alexiev writes: > How can I use radio tables for that? > By writing a translation function, similar to orgtbl-to-{csv,latex,html,texinfon,unicode,orgtbl}. See (info "(org) Tables in Arbitrary Syntax") -- Nick "There are only two hard problems in computer science: cache

Re: configure separator in org-table-insert-hline

2020-08-22 Thread Vladimir Alexiev
How can I use radio tables for that?

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Hello, Vladimir Alexiev writes: > But I'm not talking about org-mode ! > I'm talking about orgtbl minor mode. Of course you are talking about Org mode. You modified org-table-align, which is clearly an Org function. Also, Orgtbl minor mode is a part of Org. > That minor mode is supposed to

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
> > You may suggest it to Markdown mode. I think this is a terrible idea for > Org mode: syntax should not be optional. > But I'm not talking about org-mode ! I'm talking about orgtbl minor mode. That minor mode is supposed to work in other modes (that's the whole purpose of its existence), and

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Vladimir Alexiev writes: > Here's some code that works for me. > It overwrites 2 org table functions, changing just one line (see "FIXED"). > Would be nice if this can be adopted in org; of course with a proper option > etc. You may suggest it to Markdown mode. I think this is a terrible idea

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
> That will not work without changing Org syntax. Markdown and Org table are incompatible. I guess you're right re support for formulas, table export, table input/output from code, etc. But I don't expect any of that of Markdown tables. All I expect is that I can use table editing and alignment,

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Hello, Vladimir Alexiev writes: > org-table-insert-hline (org-table.el) inserts lines like this > |++| > > But I often use orgtbl-mode in markdown-mode, > and in markdown the hlines should be like this: > |||| > > Perhaps all that's needed is to make this conditional: >

configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
org-table-insert-hline (org-table.el) inserts lines like this |++| But I often use orgtbl-mode in markdown-mode, and in markdown the hlines should be like this: |||| Perhaps all that's needed is to make this conditional: (concat "+"