From: Berend de B. <be...@po...> - 2001-05-29 06:02:06
|
Eric Bezault <er...@go...> writes: > I know, it is not an editor problem, unless proven otherwise ;-) It is the mix of tabs and spaces that causes problems. Just add this line set tabstop=2 in your .vimrc and browse a few files, not of your own, and you see the problems (take lib_std/collection3.e for example). > > But whatever we decide, what are our options to guarantee it is done > > consistently? > > That's what guidelines are for, and that's why I explicitly > put this rule in the first draft of the guidelines. Not enough. People are not good at tiny details as programming prooves again and again. So at least there should be support for commonly used editors that automagically make the code correct. As Emacs is infinitely extensible it appears to be the candidate for this job... If I find time today (might well be saturday), I'll experiment with the various Emacs Eiffel hooks and the eiffel-mode to see what can be done. And perhaps a sed script to convert existing code to tab format. Groetjes, Berend. (-: |