Hello, are there any examples for Editor settings (e.g. emacs c-mode) resulting in acceptable indentation? Thanks -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
On Tue, Jan 26, 2010 at 4:32 AM, Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> wrote:
Hello,
are there any examples for Editor settings (e.g. emacs c-mode) resulting in acceptable indentation?
Hello Uwe In emacs c-mode, I find M-x c-toggle-electric-state is the best way to not interfere with the surrounding indentation. Jeff
are there any examples for Editor settings (e.g. emacs c-mode) resulting in acceptable indentation?
http://wiki.winehq.org/HackingTips has some useful bits for vim. Maybe they give you an idea for emacs (so you could set up a similar page in the wiki ;)) Regards, Wolfram
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
Hello,
are there any examples for Editor settings (e.g. emacs c-mode) resulting in acceptable indentation?
I'm using the "stroustrup" style in Emacs. Also make sure to set indent-tabs-mode to nil. -- Alexandre Julliard julliard(a)winehq.org
participants (4)
-
Alexandre Julliard -
Jeff Zaroyko -
Uwe Bonnes -
Wolfram Sang