1

Sorry guys, but I'm not used to use gedit, so I use emacs instead

The problem with emacs is that I don't know how to set properly the .emacs file in order to indent lines properly.

Can anyone help me?

Thank you for your help

3
  • Why can't you use gedit? It's just a text editor and it's really easy to write code in it (against emacs whose purpose is not that).
    – ChrisG
    Aug 12 '15 at 11:08
  • 1
    emacs is more powerful than gedit. Take a look if you want Aug 12 '15 at 14:29
  • Sure you can also use vim but that doesn't mean it's suitable just because it's more powerfull.
    – ChrisG
    Aug 12 '15 at 14:47
1

You will probably find all the details in the emacs wiki, particularly this page: Indenting for C

There's a search bar there too for other questions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .