On Wed, 9 May 2007, Andre Poenitz wrote:
On Wed, May 09, 2007 at 02:00:00AM +0200, Uwe Stöhr wrote:
Reduce the line length of the comments, i.e.:
You asked me about reasons for the line length a while back. One
trivial reason is that your diff is diff(icult:-) to read in my mail
program...
The common line length is 80 characters per line I read somewhere.
As lots of terminals use this (heck, even that 'console' on Windows has
it and one can't even resize the windows there...).
As we want to see patches (with +/- on the line start) and quoted mails
in the same style it'd be actually better to have ~72-75 max.
Andre replied before I did, but his points are exactly the same I was
going to make...
Btw, Uwe, here's a link to the coding style guidelines if you haven't seen
them before:
http://www.lyx.org/trac/browser/lyx-devel/trunk/development/Code_rules
But when you look at BufferParams.cpp, the longest line alredy has 93
characters and there are many lines exceeding the 80 characters limit.
Feel free to correct such stuff as soon you see it.
I agree. Seems like a nice and tediuous task for me if I'm bored. Just for
fun. Of the 179000 lines in src/*.{h,cpp}, 0.7% are over 76 characters.
src# grep -r --include="*.cpp" --include="*.h" -v '^.\{0,75\}$' . | wc
/C
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr