|
C formatting: msg#00871emacs.help
hello, I am fighting with EMacs in order to get my programmation style: void function(int x, int y) { blabla; if (...) { blabla blabla } else blabla; } I ma desesperatly playing in my .emacs with the following statements, but no luck: (setq c-mode-hook (function (lambda () (setq c-basic-offset 0) (setq c-indent-level 5) (setq c-continued-statement-offset 5) (setq c-argdecl-indent 0) (setq c-brace-offset -5) (setq c-label-offset -5) ) ) ) If someone has the same formatiing habits, please give me your setup values... By the way, there is no way, in the buffer, to put two following tabs ?? Thanks for help ! -- . . . .:::. ### \|/ ` ___ ' :(o o): . (o o) (o o) - (O o) - ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: .emacs: 00871, Bijan Soleymani |
|---|---|
| Next by Date: | Re: C formatting: 00871, Bijan Soleymani |
| Previous by Thread: | .emacsi: 00871, Oodini |
| Next by Thread: | Re: C formatting: 00871, Bijan Soleymani |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |