[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: solution for rogue whitespace in ChangeLog

From: Jacob Bachmeyer
Subject: PATCH: solution for rogue whitespace in ChangeLog
Date: Thu, 13 Dec 2018 18:47:21 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090807 MultiZilla/ SeaMonkey/1.1.17 Mnenhy/

A bit of rogue whitespace has slipped into ChangeLog again. I spent some time reading the Emacs manual and found that Emacs can automatically fix the issue if the "whitespace-auto-cleanup" variable is set. Setting this variable globally is a bad idea, since some files really do need whitespace that Emacs sees as problematic: portable shell scripts that need to restore IFS are an example.

I suggest adding this to ChangeLog to make this problem stay solved:

diff --git a/ChangeLog b/ChangeLog
index 69a22dc..5520e77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3578,3 +3578,7 @@ Tue Feb 25 05:19:57 UTC 2003  Brendan Conoboy  
       nfsdir and nfsroot_server.

See ChangeLog-1992 for earlier changes.
+Local Variables:
+whitespace-auto-cleanup: t

-- Jacob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]