https://bugs.kde.org/show_bug.cgi?id=397956
--- Comment #8 from Ardith Metz <itgvk...@grr.la> --- Wow, that's a nice finding! The excerpt that I showed in first post: [Document] ... Keep Extra Spaces=true Remove Spaces=0 ... was from ~/.config/katepartrc, not ~/.config/katerc. I misremembered it but I originally posted this couple of months ago :) Anyway my ~/.config/katepartrc matches ~/.config/katerc so that wasn't much relevant. I indeed have .editorconfig (not sure where it comes from) which has a below line: trim_trailing_whitespace = true after changing it to: trim_trailing_whitespace = false the issue reported here goes away. Thank you very much for helping to find this! There are still couple of things which aren't clear for me: 1. What is the difference between ~/.config/katepartrc and ~/.config/katerc, when they're used and why they both exist. 2. Why .editorconfig takes precedence over ~/.config/katepartrc and ~/.config/katerc? It may create confusion as: a) it makes kate gui config inapplicable b) it may be created by some different app than kate thus users like me may be unaware why the kate behavior suddenly changed -- You are receiving this mail because: You are watching all bug changes.