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] ChangeLog width 74 -> 80


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


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