Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459424 - kde-base/katepart-4.10.0: please provide USE flag to avoid KDE silliness
Summary: kde-base/katepart-4.10.0: please provide USE flag to avoid KDE silliness
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 05:33 UTC by Andrew Udvare
Modified: 2013-02-28 04:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to undo the change in behaviour (katepart-4.10.0-trailing-behaviour.patch,1.22 KB, text/plain)
2013-02-27 05:34 UTC, Andrew Udvare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2013-02-27 05:33:40 UTC
In katepart 4.10 a change was made to the behaviour regarding saving trailing spaces. Many users including myself are a little annoyed with the change.

It would be awesome if this patch could be used with a USE flag so that we can keep the behaviour we like. The change is only about 5 lines and I think we can be sure at least for 4.10 the change we do not like will stay permanent and these lines won't get fuzzy for patching.

Some say the behaviour before was a bug. I would disagree and would prefer not to have extra trailing spaces in my file.

Reproducible: Always

Steps to Reproduce:
1. emerge katepart 4.10
2. Open file in Kate
3. Enable remove trailing spaces on save in settings "In entire document"
3. make some extra trailing space
3. Save
Actual Results:  
Saves the file with trailing spaces remove on every line except behind the cursor.

Expected Results:  
It should remove trailing spaces on every line including the one the cursor is on. If this moves the cursor, so be it.

https://bugs.kde.org/show_bug.cgi?id=310712
http://quickgit.kde.org/?p=kate.git&a=commit&h=cebe2e4c47655d4fdef27ad4a306b89dfbdf3302
Comment 1 Andrew Udvare 2013-02-27 05:34:21 UTC
Created attachment 340262 [details]
patch to undo the change in behaviour
Comment 3 Chris Reffett (RETIRED) gentoo-dev Security 2013-02-27 15:01:52 UTC
We can't just add a USE flag for every minor change that upstream makes, especially with optional patches. You're free to make use of the fact that most KDE packages support epatch_user by putting the patch in /etc/portage/patches/kde-base/katepart/ so that it continues to apply, if you haven't done so already.
Comment 4 Damien Levac 2013-02-28 04:20:23 UTC
This request looks like an option that should be turn on/off in the preferences. Maybe you should request that feature to upstream directly.