emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH]: org-columns does not respect global-visual-line-mode for long t


From: Nick Savage
Subject: [PATCH]: org-columns does not respect global-visual-line-mode for long text within headlines
Date: Sun, 2 May 2021 10:20:30 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0

I've done some more research on 875z02si3g.fsf@nicolasgoaziou.fr/">https://orgmode.org/list/875z02si3g.fsf@nicolasgoaziou.fr/, and I believe the issue is that `org-columns' is setting `truncate-lines' as t, while `global-visual-line-mode' is expecting it to be set to nil. The interaction between the two causes the wrapping to not occur. `org-columns; also cleans up after itself and replaces truncate-lines with the original value, which is why the problem only occurs when `org-columns' is enabled it.

The attached patch ensures the behaviour is correct when `global-visual-line-mode' is enabled and that there are no behaviour changes when it has not already been enabled.


Attachment: 0001-lisp-org-colview.el-Update-org-columns-to-respect-gl.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]