When writing C code in org mode, things , after pressing Enter or Tab, like…

*(p2+1)='e';

end up w/ preceding commas. I’ve tried w/ emacs -q and I have the same issue. Is there any short term fix for this?

UPDATE

I realize now this is a quoting mechanism to prevent confusion inside an org document, and that this should not be removed. Instead is there a good way to font lock these commas so that they are barely visible?

  • yantar92
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Instead is there a good way to font lock these commas so that they are barely visible?

    You can add a custom font-lock-keyword.