Date: Fri, 15 Jul 2011 19:17:41 +0200 From: magnum <rawsmooth@...dband.net> To: john-dev@...ts.openwall.com Subject: Re: coding styles for c/c++? indenter? emacs settings? On 2011-07-15 00:44, Aleksey Cherepanov wrote: > Also i want to set my editor up to support such style. Does anyone have > such settings for emacs? Probably set up editor could replace indenter. This is a very good page IMO: http://www.emacswiki.org/emacs/SmartTabs I use emacs and settings that are included (or linked) in that page but I believe they mention how to get the same result for other editors too. I use a tab width of 4, but because of the basic idea of "tabs for indentation, spaces for alignment", anyone reading my code with *any* other tab setting will get it right. magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.