Skip to contentSkip to conversation

Documentation/SubmittingPatches: emacs whitespace tip

PATCH/RFC [email protected] 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw
---
 Documentation/SubmittingPatches |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Documentation/SubmittingPatches +2 -0
index ba07c8c..7b64343 100644
@@ -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
 -----
Signature · 1 line
1.6.0.6
#1 lore raw
Quoted 10 lines · [email protected] writes:
---
 Documentation/SubmittingPatches |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Documentation/SubmittingPatches +0 -0
index ba07c8c..7b64343 100644

Documentation/SubmittingPatches whitespaces (fatal in patches). Running 'C-u g' to display the · line 446

Quoted 5 lines
Documentation/SubmittingPatches +2 -0
@@ -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.