This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] more comment cleanups
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: msnyder at vmware dot com, hjl dot tools at gmail dot com, mark dot kettenis at xs4all dot nl, gdb-patches at sourceware dot org
- Date: Mon, 03 Jan 2011 08:00:09 -0500
- Subject: Re: [patch] more comment cleanups
- References: <4D1E60A0.1020601@vmware.com> <201012312312.oBVNC4fc013647@glazunov.sibelius.xs4all.nl> <AANLkTimc4kNHOfO2B95cyKjN9SN1O_+LQ3O_4FpwZ3rR@mail.gmail.com> <4D1E732E.4090002@vmware.com> <834o9tq96f.fsf@gnu.org> <4D1F71B0.9060006@vmware.com> <20110103043359.GO2396@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.