Hello,
are there any examples for Editor settings (e.g. emacs c-mode) resulting in acceptable indentation?
Thanks
On Tue, Jan 26, 2010 at 4:32 AM, Uwe Bonnes bon@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@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.