From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael.cadilhac@lrde.org (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: Re: ChangeLog conventions: fill-column Date: Tue, 23 May 2006 20:37:06 +0200 Organization: Epita/LRDE Message-ID: <87ejykoael.fsf@lrde.org> References: <87psieggla.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1755121088==" X-Trace: sea.gmane.org 1148409457 19110 80.91.229.2 (23 May 2006 18:37:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 18:37:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 23 20:37:35 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fibl1-0005TI-7e for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 20:37:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fibl0-0006MM-Om for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 14:37:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fibkl-0006In-7G for emacs-devel@gnu.org; Tue, 23 May 2006 14:37:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fibkh-0006ES-A3 for emacs-devel@gnu.org; Tue, 23 May 2006 14:37:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fibkh-0006ED-4A for emacs-devel@gnu.org; Tue, 23 May 2006 14:37:07 -0400 Original-Received: from [62.39.139.2] (helo=kualalumpur.lrde.epita.fr) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fibox-0006p3-Hq for emacs-devel@gnu.org; Tue, 23 May 2006 14:41:31 -0400 Original-Received: from mahaena.lrde.epita.fr ([192.168.101.66] helo=mahaena.lrde) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1Fibkf-0006rk-Go for emacs-devel@gnu.org; Tue, 23 May 2006 20:37:05 +0200 Original-To: emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWPh+Tai+5r5YKBAEU CQQzGAtiq7gjAAACR0lEQVQ4jW2UzW7lIAyFzVW8BzTZX5DmCZLuU2H2pMXv/ypzbK7aSh2kRCRf /HNsE0q7Sg+RQ7JFKaqtrRNAl5AIIKe6D5DBqgbmUAe5hBI1wIRFAHjeM0RKtZi7XVVEpb0BSNfA IddChChT5DildSLWOWhY5IEItMnncZgFcUAc/5jjwCMsDosRNdfKPDTFEdVBW8C+RebDb4N5Orio RhM1+11IJyx0ng2+LryFHBMPDQDYHrY6IfGuU3ouiXTQNE8LIJDKOWpNxERTFrggQwRPd7USUsTW fJ0XbR3bdj5KgBYy4SACpxDeUYEUAzLmtJ1iIrD2gczPq8Qomjhsh/RjGIgKIO8p7NITjwlx7WID nsnQe5NeuTvoBpi8LX6vLLOh5icjOHqBypgnuSp7M+RE1agbQKHQr5E2z1WObhYW4gMqeGQL7joM jCf2DxSk5ApADSYHfFF4igNfJZL1z0GKP0FN02s4XiDXr7V5P94W6I9v8MfBOQDmfwAaVYt+x8Da v4DJvX8BAdin3Knm5yMZYAO4ABDkDniZLLfi4P40gP1F0TPGZOu0CGwA1lcowxwlGy6A9705mD0V jHCxwVZT/hYdRJVUGZNlx6l7ScQBTluof6Wj6bsPYlvpwoTvXFD9gHPn2TZPF3ntI2ecxVrW5MrV XiCie5EeNa7BlWu/HNSkprDUva163PHxAv5jyGV7gVzyAghSKOTnat85UIYFICXbD2NV9rRiv0BS tKQsg6OHH4A15F1WW+UHKHHa32h6aPnAm3/pUcWp+WYnTQAAAABJRU5ErkJggg== In-Reply-To: <87psieggla.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Tue, 16 May 2006 17:00:17 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55150 Archived-At: --===============1755121088== Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable michael.cadilhac@lrde.org (Micha=EBl Cadilhac) writes: > storm@cua.dk (Kim F. Storm) writes: > >> Reiner Steib writes: >> >>> Hi, >>> >>> recently some people (Stefan, Kim) reformatted my ChangeLog entries. >>> My `fill-column' in ChangeLog buffers if 74 which is the default from >>> `change-log-mode'[1]. Am I missing some coding convention for Emacs >>> ChangeLog files? >> >> I don't recall when this started, but we now allow max 79 characters >> per line in Emacs ChangeLog files (I see a few lines of 80 chars, >> but I'm not sure that is really ok). >> >> IMO, we should have a file-local setting to reflect this. > > BTW, what is the rational of setting `fill-column' to 74 ? > > AFAIK, such a `fill-column' was used only in mails or news to allow > easy replies under 80 columns. > > I don't see the point here, any clue ? Nobody ? If there's no rational, why not put this limit to 79 in add-log.el ? Making this customizable is probably not a good solution, as we should then, for the sake of consistency, set left-margin, tab-width, ... to be customizable too. Patch attached, if needed. --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline; filename=add-log.patch Content-Transfer-Encoding: quoted-printable Index: lisp/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /sources/emacs/emacs/lisp/ChangeLog,v retrieving revision 1.9586 diff -c -B -b -r1.9586 ChangeLog *** lisp/ChangeLog 23 May 2006 11:23:25 -0000 1.9586 =2D-- lisp/ChangeLog 23 May 2006 18:31:37 -0000 *************** *** 1,3 **** =2D-- 1,7 ---- + 2006-05-23 Micha=EBl Cadilhac +=20 + * add-log.el (change-log-mode): Change `fill-column' from 74 to 79. +=20 2006-05-23 Thien-Thi Nguyen =20=20 * emacs-lisp/ewoc.el (ewoc-delete): New function. Index: lisp/add-log.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /sources/emacs/emacs/lisp/add-log.el,v retrieving revision 1.177 diff -c -B -b -r1.177 add-log.el *** lisp/add-log.el 9 May 2006 22:58:54 -0000 1.177 =2D-- lisp/add-log.el 23 May 2006 18:31:37 -0000 *************** *** 685,697 **** ;;;###autoload (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'. \\{change-log-mode-map}" (setq left-margin 8 ! fill-column 74 indent-tabs-mode t tab-width 8) (set (make-local-variable 'fill-paragraph-function) =2D-- 685,697 ---- ;;;###autoload (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= 79. 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'. \\{change-log-mode-map}" (setq left-margin 8 ! fill-column 79 indent-tabs-mode t tab-width 8) (set (make-local-variable 'fill-paragraph-function) Index: lisp/textmodes/ispell.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /sources/emacs/emacs/lisp/textmodes/ispell.el,v retrieving revision 1.199 diff -c -B -b -r1.199 ispell.el *** lisp/textmodes/ispell.el 21 May 2006 20:25:43 -0000 1.199 =2D-- lisp/textmodes/ispell.el 23 May 2006 18:31:37 -0000 *************** *** 2572,2586 **** (or no-error (error "There is no ispell process running!")) (if ispell-async-processp ! (progn ! (process-send-eof ispell-process) ! (if (eq (ispell-process-status) 'run) ! (ispell-accept-output 1)) ! (if (eq (ispell-process-status) 'run) ! (kill-process ispell-process)) ! (while (not (or (eq (ispell-process-status) 'exit) ! (eq (ispell-process-status) 'signal))) ! (sleep-for 0.25))) ;; synchronous processes (ispell-send-string "\n") ; make sure side effects occurred. (kill-buffer ispell-output-buffer) =2D-- 2572,2578 ---- (or no-error (error "There is no ispell process running!")) (if ispell-async-processp ! (delete-process ispell-process) ;; synchronous processes (ispell-send-string "\n") ; make sure side effects occurred. (kill-buffer ispell-output-buffer) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =2D-=20 | Micha=EBl `Micha' Cadilhac | All your base are belong to us. = | | Epita/LRDE Promo 2007 | You have no change to survive = | | http://www.lrde.org/~cadilh_m | make your time, hahaha. = | `-- - JID: micha@amessage.be --' -- Zero Wings - -= -' --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFEc1ZSZYNf4qobZ7kRAqEEAKCFVBwrV6D5SiS4GAAeyiaZ6H97XwCgtxrp eBL5GhHBlbwfPIqFXMFXPtE= =YtzH -----END PGP SIGNATURE----- --==-=-=-- --===============1755121088== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1755121088==--