unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-devel@gnu.org
Subject: Re: rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace)
Date: Tue, 09 Feb 2010 14:30:45 +0100	[thread overview]
Message-ID: <87sk9abkoq.fsf@ambire.localdomain> (raw)
In-Reply-To: <87iqasvm2d.fsf@gnu.org> ("Ludovic Courtès"'s message of "Sat, 23 Jan 2010 17:10:50 +0100")

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

() ludo@gnu.org (Ludovic Courtès)
() Sat, 23 Jan 2010 17:10:50 +0100

   To me it’s clear: status quo, i.e., no ‘whitespace-cleanup’
   or similar all around, but encourage people not to leave
   trailing whitespace.

OK, thanks for the clarification.
Please find attached a patch to HACKING.

thi



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Document-trailing-whitespace-policy.patch --]
[-- Type: text/x-diff, Size: 1377 bytes --]

From 893dfb5d11e6d2ae6ff56492741711ec368257a4 Mon Sep 17 00:00:00 2001
From: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Tue, 9 Feb 2010 14:29:36 +0100
Subject: [PATCH] Document trailing whitespace policy.

* HACKING (Coding standards): Delete trailing whitespace.
Add blurb documenting trailing whitespace policy.

Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
---
 HACKING |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/HACKING b/HACKING
index ffe04a8..7463fe5 100644
--- a/HACKING
+++ b/HACKING
@@ -230,7 +230,7 @@ When deprecating a definition, always follow this procedure:
 
 - Write commit messages for functions written in C using the
 functions' C names, and write entries for functions written in Scheme
-using the functions' Scheme names.  For example, 
+using the functions' Scheme names.  For example,
 
   * foo.c: Moved scm_procedure_documentation from eval.c.
 
@@ -278,6 +278,9 @@ the list of years in the copyright notice at the top of the file.
 - When you get bug reports or patches from people, be sure to list
 them in THANKS.
 
+- Do not introduce trailing whitespace (and feel free to clean it up
+opportunistically, that is, if doing so is part of some other change).
+The goal is to reduce (and over time, eliminate) spurious diffs.
 
 Naming conventions =================================================
 
-- 
1.6.3.2


  reply	other threads:[~2010-02-09 13:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13  9:06 rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace) Thien-Thi Nguyen
2010-01-13 10:53 ` Ludovic Courtès
2010-01-13 14:22   ` Thien-Thi Nguyen
2010-01-21 20:31   ` Neil Jerram
2010-01-21 20:44     ` Ludovic Courtès
2010-01-13 20:02 ` Andy Wingo
2010-01-13 20:45   ` Thien-Thi Nguyen
2010-01-14  0:10     ` Ludovic Courtès
2010-01-21 20:46 ` Neil Jerram
2010-01-23  0:38   ` Thien-Thi Nguyen
2010-01-23 16:10     ` Ludovic Courtès
2010-02-09 13:30       ` Thien-Thi Nguyen [this message]
2010-02-14 14:20         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sk9abkoq.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).