This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Formatting, tabs vs spaces.


Paolo Carlini escreveu:
... so you are really following me in my nitpicking passion. Good, good ;)

Seriously, I think the general answer is easy: never use by-hand spaces. When you use a normally configured emacs, for example, you *never* press the spacebar for formatting purposes, only to separate words. In fact, since emacs is The reference GNU programmers tool, I would suggest just using it as such and configure any other tool to mimic its behavior.

Or, if you're like me and don't want a full-blown lisp interpreter hanging around loaded in memory ( :) ), just stick with vi and make sure the option 'expandtab' is set. Put 'set expandtab' in your vimrc.


Regards,
Rodolfo Lima


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]