This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [patch] more comment cleanups


> Date: Mon, 3 Jan 2011 08:33:59 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,	"hjl.tools@gmail.com" <hjl.tools@gmail.com>,	"mark.kettenis@xs4all.nl" <mark.kettenis@xs4all.nl>,	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
> 
> > So what do others think about source lines over 70 columns?
> 
> Enforcing a maximum length of 70 characters seems awfully low to me.
> It's fine if someone decides to use 70 characters for his comments,
> of even his code, but I think that 76 or 78 would give better results.

If we go for a higher number and want to enforce it (and I'm not
saying we should), we should try to add a suitable setting to the C
source files (in the local variables section), or maybe provide a
.dir-locals.el file, for the benefit of Emacs users.  Of course, not
everyone uses Emacs.


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