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

lintian: file-contains-trailing-whitespace only mentions Emacs



Hi,

would you please be so kind as to apply the following patch?

>From a61fe2c073740c7f843636bca22ce2200eb7ad90 Mon Sep 17 00:00:00 2001
From: mirabilos <tg@debian.org>
Date: Fri, 4 May 2018 16:58:37 +0200
Subject: [PATCH] file-contains-trailing-whitespace: also mention jupp

---
 checks/cruft.desc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/checks/cruft.desc b/checks/cruft.desc
index d1ba9335a..255f52104 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -912,6 +912,7 @@ Info: This file appears to contain one or more lines with trailing
   $ sed -i -e 's@[[:space:]]*$@@g' debian/control debian/changelog
  .
  If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
+ If you use jupp, you can also use "^K]".
  .
  However, if you wish to only remove trailing spaces and leave trailing tabs
  (eg. for Makefiles), you can use the following code snippet:
-- 
2.17.0



(Yes, lowercase name. Ctrl-K+] removes trailing whitespace at EOL and,
in the latest versions, also at EOF. This way of writing the keyboard
shortcut is standard for wordstar-like editors like joe and jupp.)

Thanks in advance,
//mirabilos


Reply to: