Anush V <[email protected]> writes:

> global-whitespace-mode does not enable whitespace-mode in Org mode
> source block edit buffers (opened with C-'). This happens because
> whitespace-enable-predicate prevents whitespace-mode from activating
> in buffers whose names start with ‘*’, with only *scratch* as an
> exception. This exclusion makes sense for system buffers like
> *Messages* or *Ibuffer*, it unintentionally affects source block edit
> buffers, which should ideally be treated like *scratch* since they are
> used for manual editing.
>
> I’m not sure, if I need to report this here or to emacs.
>
> Relevant bug report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79230

As discussed on debbugs, it has been addressed on Emacs side and Emacs
maintainers insist that it should be up to users where whitespace-mode
is activated. The outcome of that bug report is a new customization
`whitespace-global-mode-buffers' where you can allow
global-whitespace-mode in Org Src buffers if deemed necessary.

Canceled.

-- 
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