dejagnu
[Top][All Lists]
Advanced

[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:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

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  
<blc@@redhat.com>
       nfsdir and nfsroot_server.

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


-- Jacob



reply via email to

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