[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] scratch/editorconfig-cc 2ba007601a 219/351: Add document for ed
From: |
Stefan Monnier |
Subject: |
[nongnu] scratch/editorconfig-cc 2ba007601a 219/351: Add document for editorconfig-trim-whitespaces-mode |
Date: |
Thu, 13 Jun 2024 18:38:55 -0400 (EDT) |
branch: scratch/editorconfig-cc
commit 2ba007601a7e7d5edfd4aff3b2f42b337d8d7925
Author: 10sr <8.slashes@gmail.com>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Add document for editorconfig-trim-whitespaces-mode
---
README.md | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/README.md b/README.md
index 9989969e46..9b540768a9 100644
--- a/README.md
+++ b/README.md
@@ -127,6 +127,24 @@ Possible known values are:
* `editorconfig-core-get-properties-hash`
* Always use built-in Emacs-Lisp implementation to get properties
+
+### `editorconfig-trim-whitespaces-mode`
+
+Buffer local minor-mode to use to trim trailing whitespaces.
+
+If set, enable that mode when `trim_trailing_whitespace` is set to true.
+Otherwise, use `delete-trailing-whitespace'.
+
+One possible value is
+[`ws-butler-mode`](https://github.com/lewang/ws-butler), with which
+only lines touched get trimmed. To use it, add following to yo
+init.el:
+
+``` emacs-lisp
+(setq editorconfig-trim-whitespaces-mode
+ 'ws-butler-mode)
+```
+
## Testing
Make and [CMake](https://cmake.org) must be installed to run the tests.
- [nongnu] scratch/editorconfig-cc aa57926fdf 163/351: docs -> doc, (continued)
- [nongnu] scratch/editorconfig-cc aa57926fdf 163/351: docs -> doc, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc f2c8300dba 129/351: Add Usami Kenta to the contributor list., Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc d7c6a8befd 128/351: Reidentation for all *.el files., Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 8a2e9be119 131/351: Fix indentations of ert-tests/, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 20c8ea8cc9 174/351: Update travis config file, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc b5f1eab15e 169/351: Update texi, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 5986c305c9 167/351: Remove .info and add .texi, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 7b762043d6 176/351: Add commented allow_failure, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 4185bcfac2 210/351: Call -hack-properties-functions in editorconfig-apply, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 2cfbec79f9 216/351: Update core-test submodule, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 2ba007601a 219/351: Add document for editorconfig-trim-whitespaces-mode,
Stefan Monnier <=
- [nongnu] scratch/editorconfig-cc f2d4539bae 228/351: Refactor handle lib, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc b303bfd220 211/351: Add test for -hack-properties-functions, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 8688e1d3bf 230/351: Revert "Add support for Emacs24.5", Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 5f5a7bf03d 237/351: Update commentary section, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 8cf419254d 246/351: Do not update submodule when running tests, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc be0973c580 291/351: Fix for coding-system set when remote files do not exist (#250), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 9bfade9437 257/351: Use dist: trusty, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 0e299b7528 278/351: Silence byte-compiler warnings (#235), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc cf012776b4 306/351: Use new implementation by default (#263), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 0f2c33d11a 282/351: Update README 2 (#225), Stefan Monnier, 2024/06/13