This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Change coding style rule: 80 column "hard limit" for ChangeLogs
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 04 Jan 2014 09:22:35 +0200
- Subject: Re: [RFC] Change coding style rule: 80 column "hard limit" for ChangeLogs
- Authentication-results: sourceware.org; auth=none
- References: <yjt261q0r886 dot fsf at ruffy dot mtv dot corp dot google dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <dje@google.com>
> Date: Fri, 03 Jan 2014 14:50:01 -0800
>
> Does anyone know the origin of the 74 column "hard" limit for ChangeLogs?
AFAIK, that's because this is the default in Emacs's commands that
manipulate ChangeLog entries. Here:
(define-derived-mode change-log-mode text-mode "Change Log"
"Major mode for editing change logs; like Indented Text mode.
Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74.
New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window].
Each entry behaves as a paragraph, and the entries for one day as a page.
Runs `change-log-mode-hook'.
\n\\{change-log-mode-map}"
(setq left-margin 8
fill-column 74 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
indent-tabs-mode t
tab-width 8
show-trailing-whitespace t)