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?

You are viewing a single thread.
View all comments
1 point

What type of source block is it? Did you configure org-babel?

permalink
report
reply

Emacs

!emacs@communick.news

Create post

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

Community stats

  • 18

    Monthly active users

  • 562

    Posts

  • 2.4K

    Comments