Confirmed.

Khalid Rafi <[email protected]> writes:

> It's a very old bug that word-wrap in Emacs includes Org tables which
> renders them unreadable. Tables should never get wrapped. I'm not sure
> what hinders this long-standing bug from getting fixed. I think this bug
> can be approached in several ways. Maintainers and those familiar with
> Org source can help decide which one is the best.

This is a difficult bug because word-wrap in Emacs is implemented in C.
Any changes there are tricky.

> 1. Ask Emacs upstream to consider this exception for Org mode

Unlikely to happen.
There was a discussion already, and the required changes upstream are so
vast that are unlikely to be accepted.
https://yhetil.org/emacs-devel/CAO=W_ZqYfaDPkwyBNa-87=rv=pQos8=a=xecss9ct4qybtk...@mail.gmail.com/

> 2. Make Org's own word wrap function to exclude tables from wrapping

There is no such thing as word wrap function. Introducing one would have
even more slim chances to be accepted because it will create yet another
Elisp bottleneck in the redisplay.

> 3. Disable word wrapping in buffer when point is on table. Re-enable it
> when point exits the table. 

This might be an non-ideal improvement.
Also, not too hard to implement.
Although I am not sure if it will feel good. I imagine that sudden
changes between wrapping/no wrapping will feel distracting.
May be worth experimenting with.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to