Bug 253193

Summary: Kate forgets mode after saving file
Product: [Applications] kate Reporter: Alessandro Ghersi <alessandro-ghersi>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: becheru.petru.ioan, oss
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alessandro Ghersi 2010-10-04 02:21:16 UTC
Version:           3.4.1 (using KDE 4.4.1) 
OS:                Linux

Bug reported here:
https://bugs.launchpad.net/ubuntu/+source/kdesdk/+bug/537621

I'm using Kate 3.4.1 (4.4.1-0ubuntu1~karmic1~ppa1) under KDE 4.4.1 under Kubuntu 9.10 to edit Ruby code. For that I choose Ruby mode, which gives me highlighting, indentation, autocompletion, etc. But each time I save the file I just edited, Kate forgets the mode I put it in and I have to switch Ruby mode back on again.

Reproducible: Didn't try
Comment 1 Becheru Petru-Ioan 2010-12-06 09:26:01 UTC
I think this bug is a duplicate of Bug 258980, that gives a much better description.
Comment 2 Christoph Cullmann 2012-11-01 01:33:04 UTC
*** Bug 307041 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Cullmann 2012-11-01 12:46:46 UTC
Git commit 98b3fc790e6702821c724cdfd30c7cacf633bc80 by Christoph Cullmann.
Committed on 01/11/2012 at 13:46.
Pushed by cullmann into branch 'master'.

remember right mode, once set by user
stupid, somehow the bool got never set :/

M  +3    -0    part/document/katedocument.cpp

http://commits.kde.org/kate/98b3fc790e6702821c724cdfd30c7cacf633bc80