> > Dick Hollenbeck wrote: > >/ Are other folks having problems with tab expansion differences between > />/ editors? > />/ > />/ I load jtag.c into two different editors and get two different results > />/ when tab width is set to 4. > />/ > />/ This makes it difficult to view a table like tms_seq in the two > />/ editors. The editors are well established, JEdit and gedit. > />/ > />/ This reminds me why in my own source code internally, we don't use tabs. > />/ > />/ It extremely hard to mis-interpret the width of a space, and my hard > />/ disk, compiler, and eyes cannot tell the difference. > />/ > />/ What are you seeing when you look at tms_seq? Does it look nice and > />/ organized neatly into columns? > />/ > />/ > />/ Dick > / > Looks bad in vim with ts=8 and ts=4. You can correct it for one but > change to the other and it looks bad again. I tend to agree with you in > this case that spaces are better for column alignment. However, not sure > that this totally justifies banning tabs. > -gene
Looks very Bad for me too. We should replace all TABs in all openocd files and replace by 2 or 3 SPACEs. TABs only have the advantage to make some files smaller. SPACEs are spaces and ever spaces ;-) PS: I never use TABs, but 2x SPACES instead. Laurent http://www.amontec.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development