emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Syntax Proposal: Multi-line Table Cells/Text Wrapping
@ 2021-03-17 20:29 Atlas Cove
  2021-03-17 21:02 ` Daniele Nicolodi
                   ` (3 more replies)
  0 siblings, 4 replies; 33+ messages in thread
From: Atlas Cove @ 2021-03-17 20:29 UTC (permalink / raw)
  To: emacs-orgmode

Hello!
Sorry to barge in with such a big request as someone entirely new, but I have a feature proposal that I'd to discuss.

I'd like to propose an addition to the table syntax that would allow for text wrapping in tables, I personally have myself managing
very large org tables, and having to scroll through them is often cumbersome. As a result, I often yearn for greater control over how I format
my tables.

Allow me to give an example of the updated syntax I propose.

```
| Name         | Description            | Price |
|--------------+------------------------+-------|
| Orange Juice | Very Citrusy! Very \\  |  5.00 |
|              | nice indeed!           |       |
| Grape Juice  | It's like wine, but \\ |  6.00 |
|              | you can have it all \\ |       |
|              | day!                   |       |
```

As you can see, this is a lot more space-efficient than the current, vanilla solution, especially if there's a large block of text.

```
| Name         | Description                                  | Price |
|--------------+----------------------------------------------+-------|
| Orange Juice | Very Citrusy! Very nice indeed!              |  5.00 |
| Grape Juice  | It's like wine, but you can have it all day! |  6.00 |
```

I *am* aware of table-mode's existence, however, I would prefer to work with native org syntax, which often has a cleaner, less bloated HTML output.

Code-wise, the use of the '\\' symbol is only tentative, as I understand that '\' has special meaning elsewhere in org's syntax, (I was even going to submit a
patch to add two special symbols somewhere down the line). '\\' (or whatever symbol is decided on) would cause the org parser to concatenate the next line
into the outputted previous cell, rendering the output of the first example identical to the second example.

Please tell me what you think of this proposal.



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

end of thread, other threads:[~2021-04-01  6:16 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 20:29 Syntax Proposal: Multi-line Table Cells/Text Wrapping Atlas Cove
2021-03-17 21:02 ` Daniele Nicolodi
2021-03-17 22:07 ` Juan Manuel Macías
2021-03-18 13:38   ` Atlas Cove
2021-03-18 14:04     ` Daniele Nicolodi
2021-03-18 15:15     ` Juan Manuel Macías
2021-03-18 14:19 ` Maxim Nikulin
2021-03-18 14:26 ` Timothy
2021-03-18 14:31   ` Atlas Cove
2021-03-18 21:58     ` Tim Cross
2021-03-18 22:41       ` Juan Manuel Macías
2021-03-19  8:08         ` tomas
2021-03-19  8:44           ` Juan Manuel Macías
2021-03-19  8:53             ` tomas
2021-03-19  9:22               ` Juan Manuel Macías
2021-03-19 10:14                 ` tomas
2021-03-19 10:53                   ` Juan Manuel Macías
2021-03-19 11:08                     ` Juan Manuel Macías
2021-03-19 13:43                     ` tomas
2021-03-19 15:07                       ` Juan Manuel Macías
2021-03-20 22:49         ` Samuel Wales
2021-03-21  8:43           ` Juan Manuel Macías
2021-03-19  2:27       ` Timothy
2021-03-19  3:50         ` Tim Cross
2021-03-19  4:02           ` Timothy
2021-03-19 13:33       ` Eric S Fraga
2021-03-19 21:33         ` Tim Cross
2021-03-20  9:19           ` Eric S Fraga
2021-03-20 10:40           ` Juan Manuel Macías
2021-03-20 13:41         ` Andreas Eder
2021-03-20 22:06           ` Tim Cross
2021-03-22 10:54             ` Eric S Fraga
2021-04-01  6:15       ` Tom Gillespie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).