threads / rfc / 17139

RFC patchDocumentation/SubmittingPatches: emacs whitespace tip

Subject: [PATCH/RFC] Documentation/SubmittingPatches: emacs whitespace tip

## tl;dr

2 messages between Jan 13, 2009 and Jan 13, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

jidanni@jidanni.org· Jan 13, 2009, 03:27 UTC · lore
Signed-off-by: jidanni <jidanni@jidanni.org>
---
 Documentation/SubmittingPatches |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Show changes to Documentation/SubmittingPatches +2 −0
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index ba07c8c..7b64343 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -442,6 +442,8 @@ whitespaces (fatal in patches).  Running 'C-u g' to display the
 message in raw form before using '|' to run the pipe can work
 this problem around.
 
+Inside gnus or not, a (setq-default show-trailing-whitespace t) in
+one's ~/.emacs file will reduce whitespace embarrassment incidents.
 
 KMail
 -----
-- 
1.6.0.6
Junio C Hamano· Jan 13, 2009, 08:28 UTC · re: jidanni@jidanni.org · lore

Re: [PATCH/RFC] Documentation/SubmittingPatches: emacs whitespace tip

jidanni@jidanni.org writes:
Show 15 quoted lines
> Signed-off-by: jidanni <jidanni@jidanni.org>
> ---
>  Documentation/SubmittingPatches |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
> index ba07c8c..7b64343 100644
> --- a/Documentation/SubmittingPatches
> +++ b/Documentation/SubmittingPatches
> @@ -442,6 +442,8 @@ whitespaces (fatal in patches).  Running 'C-u g' to display the
>  message in raw form before using '|' to run the pipe can work
>  this problem around.
>  
> +Inside gnus or not, a (setq-default show-trailing-whitespace t) in
> +one's ~/.emacs file will reduce whitespace embarrassment incidents.

What bothered me a lot more is that this part (and only this part) talks about patch acceptance tip, not patch submission tip. The Gnus/Emacs section needs a total rewrite, I think.

Having a separate patch acceptance tip is fine, but I do not think it belongs to SubmittingPatches document, and the current text certainly does not mesh well with its neighbours.

← back to recent threads