joostkremers / writeroom-mode

Writeroom-mode: distraction-free writing for Emacs.
BSD 3-Clause "New" or "Revised" License
605 stars 28 forks source link

Let some parts of the buffer (eg, tables) use full width [Feature request] #35

Closed thblt closed 7 years ago

thblt commented 7 years ago

This is a bit of a crazy request, but it would be great to allow some parts of the buffer to use the full width of the window, even if most of the contents is in a centered column. It would allow, eg, to have org or latex tables appear without random line breaks in writeroom-mode.

I'm thinking of something like this:

        Text appears with
        large margins

        Lorem ipsum dolor
        sit amet,
        consectetur
        adipiscing
        elit. Etiam at
        aliquam ex.
        Ut iaculis turpis
        nisl, vehicula
        lobortis libero

        Then, a table:

| Header | First field | Second field |
|--------+-------------+--------------|
| This   |          12 | 32           |
| That   |        48.5 | N/A          |

        Then, text goes
        on.

Not sure if I'm clear...

Thanks, Th

thblt commented 7 years ago

This is probably a duplicate of joostkremers/visual-fill-column/issues/11. Sorry, I should have noticed sooner.

joostkremers commented 7 years ago

Yes, it is a duplicate, and unfortunately, the answer is that it's not possible. I agree it would be very practical, I run into the issue myself from time to time.

thblt commented 7 years ago

Thanks for your answer, closing the issue then.