From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace) Date: Wed, 13 Jan 2010 10:06:38 +0100 Message-ID: <87d41ewezl.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263373774 30251 80.91.229.12 (13 Jan 2010 09:09:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 09:09:34 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 13 10:09:26 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUzEC-0003WP-SF for guile-devel@m.gmane.org; Wed, 13 Jan 2010 10:09:25 +0100 Original-Received: from localhost ([127.0.0.1]:58626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUzED-0005sG-6L for guile-devel@m.gmane.org; Wed, 13 Jan 2010 04:09:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUzE5-0005qI-Qu for guile-devel@gnu.org; Wed, 13 Jan 2010 04:09:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUzE2-0005n6-Nc for guile-devel@gnu.org; Wed, 13 Jan 2010 04:09:17 -0500 Original-Received: from [199.232.76.173] (port=36154 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUzE2-0005mw-HL for guile-devel@gnu.org; Wed, 13 Jan 2010 04:09:14 -0500 Original-Received: from smtp-out01.alice.it ([85.33.2.12]:2202) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUzE2-0000V3-2V for guile-devel@gnu.org; Wed, 13 Jan 2010 04:09:14 -0500 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out01.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 10:09:09 +0100 Original-Received: from FBCMCL01B08.fbc.local ([192.168.171.46]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 10:09:09 +0100 Original-Received: from ambire.localdomain ([79.16.70.126]) by FBCMCL01B08.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 10:09:09 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NUzBW-0001Bq-BA for guile-devel@gnu.org; Wed, 13 Jan 2010 10:06:38 +0100 X-OriginalArrivalTime: 13 Jan 2010 09:09:09.0348 (UTC) FILETIME=[10BA8240:01CA9430] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9877 Archived-At: The above form lives in my Emacs init flow, causing trailing whitespace to be deleted on `save-buffer' (C-x C-s). For many projects (but not Guile) this DTRT, because trailing whitespace is not tolerated. Jim Meyering gives a nice rationale in . I propose Guile also not tolerate trailing whitespace. What do people think? thi