This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] ChangeLog width 74 -> 80
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 18 Jun 2013 16:24:04 +0100
- Subject: Re: [patch] ChangeLog width 74 -> 80
- References: <20130618150401 dot GA24795 at host2 dot jankratochvil dot net>
On 06/18/2013 04:04 PM, Jan Kratochvil wrote:
> Hi,
>
> currently ChangeLog has Emacs rule for 74 columns which is also documented at:
> http://sourceware.org/gdb/wiki/ContributionChecklist
> ChangeLog standard max-line-length is 74.
>
> Plus code comments should be formatted to 72 columns (unwritten rule,
> I haven't found it anywhere) and code should be formatted to 80 columns.
>
> One has to reconfigure editor several times a minute, what about unifying
> everything to 80 columns (including the comments formatting). 80 columns is
> already a narrow column on the left of the screen on displays nowadays.
I really don't care that much about the precise width, but
I'll note that 74 is hardcoded in most if not all ChangeLogs
in the src tree:
$ find . -name "ChangeLog*" | xargs grep fill-colu | wc -l
79
It may be simpler to go with the flow than coming up with
an exception...
74 is the default column width in emacs' changelog mode,
so it seems the explicit setting is just trying to making
sure everyone (that uses emacs) is using the default width,
even if one has it overridden in their .emacs file.
--
Pedro Alves