all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* couldn't org-table-create-with-table\.el respect hline
@ 2022-01-28 17:44 Uwe Brauer
  2022-10-27 12:04 ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Uwe Brauer @ 2022-01-28 17:44 UTC (permalink / raw)
  To: emacs-orgmode

Hi

I start with 



| Example | Text    | Dates        | other   |
|---------+---------+--------------+---------|
| this    | comment | <2022-01-28 vie> | nothing |


That is converted to 



+---------+---------+--------------+---------+
| Example | Text    | Dates        | other   |
+---------+---------+--------------+---------+
| this    | comment | <2022-01-28 vie> | nothing |
+---------+---------+--------------+---------+


And is converted back to 


| Example | Text    | Dates        | other   |
| this    | comment | <2022-01-28 vie> | nothing |


Couldn't in the last step the hlines be respected?

Regards

Uwe Brauer 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: couldn't org-table-create-with-table\.el respect hline
  2022-01-28 17:44 couldn't org-table-create-with-table\.el respect hline Uwe Brauer
@ 2022-10-27 12:04 ` Ihor Radchenko
  2022-10-28 14:41   ` Uwe Brauer
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2022-10-27 12:04 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> I start with 
>
>
>
> | Example | Text    | Dates        | other   |
> |---------+---------+--------------+---------|
> | this    | comment | <2022-01-28 vie> | nothing |
>
>
> That is converted to 
>
>
>
> +---------+---------+--------------+---------+
> | Example | Text    | Dates        | other   |
> +---------+---------+--------------+---------+
> | this    | comment | <2022-01-28 vie> | nothing |
> +---------+---------+--------------+---------+
>
>
> And is converted back to 
>
>
> | Example | Text    | Dates        | other   |
> | this    | comment | <2022-01-28 vie> | nothing |
>
>
> Couldn't in the last step the hlines be respected?

That would not make sense.
AFAIK, table.el has no notion of hlines. The +---+ separators in
table.el tables mark cell boundaries, not hlines.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: couldn't org-table-create-with-table\.el respect hline
  2022-10-27 12:04 ` Ihor Radchenko
@ 2022-10-28 14:41   ` Uwe Brauer
  2022-10-29  4:29     ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Uwe Brauer @ 2022-10-28 14:41 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Uwe Brauer, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> I start with 
>> 
>> 
>> 
>> | Example | Text    | Dates        | other   |
>> |---------+---------+--------------+---------|
>> | this    | comment | <2022-01-28 vie> | nothing |
>> 
>> 
>> That is converted to 
>> 
>> 
>> 
>> +---------+---------+--------------+---------+
>> | Example | Text    | Dates        | other   |
>> +---------+---------+--------------+---------+
>> | this    | comment | <2022-01-28 vie> | nothing |
>> +---------+---------+--------------+---------+
>> 
>> 
>> And is converted back to 
>> 
>> 
>> | Example | Text    | Dates        | other   |
>> | this    | comment | <2022-01-28 vie> | nothing |
>> 
>> 
>> Couldn't in the last step the hlines be respected?

> That would not make sense.
> AFAIK, table.el has no notion of hlines. The +---+ separators in
> table.el tables mark cell boundaries, not hlines.

It would make sense if I later want to export the final table (after converting org-->table-->org

To say latex. There the hlines make a difference, that is why I am asking

-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: couldn't org-table-create-with-table\.el respect hline
  2022-10-28 14:41   ` Uwe Brauer
@ 2022-10-29  4:29     ` Ihor Radchenko
  2022-10-29  6:42       ` Uwe Brauer
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2022-10-29  4:29 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>>> Couldn't in the last step the hlines be respected?
>
>> That would not make sense.
>> AFAIK, table.el has no notion of hlines. The +---+ separators in
>> table.el tables mark cell boundaries, not hlines.
>
> It would make sense if I later want to export the final table (after converting org-->table-->org

org-->table conversion is not reversible. hlines are not part of
table.el syntax and cannot be retained.

> To say latex. There the hlines make a difference, that is why I am asking

I recommend using native Org tables.

Do you need a specific table.el feature that you miss in native Org tables?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: couldn't org-table-create-with-table\.el respect hline
  2022-10-29  4:29     ` Ihor Radchenko
@ 2022-10-29  6:42       ` Uwe Brauer
  2022-10-29  6:47         ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Uwe Brauer @ 2022-10-29  6:42 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Uwe Brauer, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]


> Uwe Brauer <oub@mat.ucm.es> writes:

   org--> table conversion is not reversible. hlines are not part of
> table.el syntax and cannot be retained.


> I recommend using native Org tables.

> Do you need a specific table.el feature that you miss in native Org tables?

 Merging and splitting cells!

-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: couldn't org-table-create-with-table\.el respect hline
  2022-10-29  6:42       ` Uwe Brauer
@ 2022-10-29  6:47         ` Ihor Radchenko
  2022-10-29  6:54           ` Uwe Brauer
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2022-10-29  6:47 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>> Do you need a specific table.el feature that you miss in native Org tables?
>
>  Merging and splitting cells!

Can you please send a separate message detailing the feature request and
how you envision this functionality to work? (I know that many people
desire this feature, but it is not easy. A good dedicated discussion
may help to push things forward in this area.)

Also, I am wondering what happens with merged cells when you convert
from table.el to native Org tables. I suspect that it does not work
well... 

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: couldn't org-table-create-with-table\.el respect hline
  2022-10-29  6:47         ` Ihor Radchenko
@ 2022-10-29  6:54           ` Uwe Brauer
  0 siblings, 0 replies; 7+ messages in thread
From: Uwe Brauer @ 2022-10-29  6:54 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Uwe Brauer, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>>> Do you need a specific table.el feature that you miss in native Org tables?
>> 
>> Merging and splitting cells!

> Can you please send a separate message detailing the feature request and
> how you envision this functionality to work? (I know that many people
> desire this feature, but it is not easy. A good dedicated discussion
> may help to push things forward in this area.)

Ok I do this later.

I suspect that the wrapping function might be useful.


> Also, I am wondering what happens with merged cells when you convert
> from table.el to native Org tables. I suspect that it does not work
> well... 

Well the hline problem makes it somehow difficult 😉

But when I was able to convert, the merged cells end up as individual
cells, so it did not help

-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-29  7:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 17:44 couldn't org-table-create-with-table\.el respect hline Uwe Brauer
2022-10-27 12:04 ` Ihor Radchenko
2022-10-28 14:41   ` Uwe Brauer
2022-10-29  4:29     ` Ihor Radchenko
2022-10-29  6:42       ` Uwe Brauer
2022-10-29  6:47         ` Ihor Radchenko
2022-10-29  6:54           ` Uwe Brauer

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.