[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline
From: |
Eli Zaretskii |
Subject: |
bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline |
Date: |
Wed, 12 Jun 2024 10:46:52 +0300 |
> Date: Tue, 11 Jun 2024 20:16:03 +0200
> From: Björn Lindström <bkhl@elektrubadur.se>
>
> attaching patch to make the whitespace-cleanup and whitespace-cleanup-region
> functions add a final newline to a file if whitespace-style contains
> `missing-newline-at-eof
>
> I'm aware this somewhat replicates what setting `require-final-newline would
> do, but I think since whitespace.el with this configuration highlights this
> as an error, it should also clean it up when asked.
This is an incompatible change of behavior on behalf of
whitespace-cleanup, so I don't think we can accept it as in this patch
(or the next one you sent). Se we'd need some new user option, by
default off, to turn on this new feature. Or maybe a new action for
whitespace-action?
Thanks.
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Björn Lindström, 2024/06/12
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Björn Lindström, 2024/06/12
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline,
Eli Zaretskii <=
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Björn Lindström, 2024/06/12
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Eli Zaretskii, 2024/06/12
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Stefan Kangas, 2024/06/12
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Andrea Corallo, 2024/06/13
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Eli Zaretskii, 2024/06/13
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Robert Pluim, 2024/06/14
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Eli Zaretskii, 2024/06/14
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Stefan Kangas, 2024/06/20
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Robert Pluim, 2024/06/20
- bug#71499: [PATCH] Make whitespace.el cleanup add missing final newline, Stefan Kangas, 2024/06/20