[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/ws-butler 7d30203cf9 19/64: forgot to trim blanks in READM
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/ws-butler 7d30203cf9 19/64: forgot to trim blanks in README (oh the irony!) |
Date: |
Fri, 31 Dec 2021 11:09:29 -0500 (EST) |
branch: elpa/ws-butler
commit 7d30203cf9db17fabc51813de143dc2064ddac06
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>
forgot to trim blanks in README (oh the irony!)
---
README.md | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 1ba6fe6fc6..4b2404b261 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Build
Status](https://travis-ci.org/lewang/ws-butler.png)](http://travis-ci.org/lewang/ws-butler)
+
## ws-butler -- an unobtrusive way to trim spaces from end of line
- Only lines touched get trimmed. If the white space at end of buffer is
@@ -18,21 +20,21 @@ the data on disk has been cleaned up (revert the buffer to
confirm).
1. I started by to trim all spaces at EOL in source code in a
"write-file-hook", when I started programming. It seemed like a great idea.
-
+
2. Then I got a job working on a code base where no one else trimmed spaces,
so my commits became super noisy. I wanted to stop being the "white space"
police, so switched to [ws-trim][].
* ws-trim works in a `post-command-hook` and trims white space while you
edit.
* This was too eager for me, for example I would stop scroll away to look
- at some code and when I get back to continue, my indentation is gone.
+ at some code and when I get back to continue, my indentation is gone.
* It caused some problems with other customizations which also rely on
`post-command-hook`.
-
+
3. I started experimenting with using `highlight-changes-mode` to trim only
- lines I touch on save.
-
-
+ lines I touch on save.
+
+
## This is the result
[ws-trim]: ftp://ftp.lysator.liu.se/pub/emacs/ws-trim.el
- [nongnu] elpa/ws-butler d265cef1ef 12/64: rename function, (continued)
- [nongnu] elpa/ws-butler d265cef1ef 12/64: rename function, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler d62694365c 34/64: Merge pull request #11 from chris-martin/readme-cleanup, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler b59e36b245 53/64: bump version to 0.5, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 7d57ac7cf6 42/64: Added `ws-butler-trim-predicate' custom variable, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 6f46d5885a 63/64: Revert "Inhibit modification hooks in ws-butler-after-save", Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler b9bcf50496 60/64: Inhibit modification hooks in ws-butler-after-save, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler af050ffb6c 09/64: fix typo in commentary #1, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler a5c01e3221 06/64: remove debug message, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 45a93f2bc2 18/64: add Travis-CI tests skeleton, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 0c941aedeb 31/64: Declare type of keep-whitespace-before-point, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 7d30203cf9 19/64: forgot to trim blanks in README (oh the irony!),
Stefan Kangas <=
- [nongnu] elpa/ws-butler fe08e8770b 08/64: update lighter, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 8ca373047a 24/64: Fix point moving if after blanks., Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 4154816145 27/64: Clean up end marker., Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 106d313c0d 30/64: Fix package problems; bump version to 0.3., Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 34393f1aaa 07/64: add install instructions, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 75deadecb9 35/64: Remove dependency on highlight-changes-mode., Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler ee0fc31020 52/64: Merge branch 'xificurC-master', Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 76265d11f8 44/64: Debian and Ubuntu installation instructions, Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler 7553d6392a 36/64: Handle adding back text during undo correctly., Stefan Kangas, 2021/12/31
- [nongnu] elpa/ws-butler aa1935f150 37/64: update documentation re: highlight-changes-mode, Stefan Kangas, 2021/12/31