| Summary: | Kate does not remember indentation settings for new files | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Yuriy Kozlov <yuriy.kozlov> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph, esigra, finex, matthias, medhefgo |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Yuriy Kozlov
2007-02-23 01:11:44 UTC
Every new file (File->New) has the indentation mode set to my default. Saving the setting, then exiting kate, then starting it again: The first file follows the indentation setting, subsequent new files still don't. On Friday 23 February 2007, Yuriy Kozlov wrote:
> Saving the setting, then exiting kate, then starting it again:
> The first file follows the indentation setting, subsequent new files still
> don't.
It obviously does here, my default is 'normal' rather than 'none' which is the
default. Are you sure the setting is actually saved?
I don't know what the other indentation settings are supposed to do at all, but the symptoms I described happen with the Python and XML indentation settings. The setting dialog shows the setting as whatever was saved, and the first file follows the setting, but new files don't. Pease check in the Tools->Indentation Mode that your files have the expected mode set. For KDE Version 2.5.5 (KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-6 (4.0)) Application Advanced Text Editor Operating System Linux (i686) release 2.6.18-4-k7 Compiler Target: i486-linux-gnu, steps 1..3 described Yuriy also apply for Ruby indentation. 4, I didn't check out, nor the Tools->Indentation Mode, suggested by Anders. - Currently, I have to achieve some programming goal, hence, sorry, no time for in-depth bug-checking. The new file does have the mode set in Tools > Indentation I've got the same problem here and took a look in some config files. It looks like the default session overrides the the indentation mode. ~/.kde/share/apps/kate/sessions/default.katesession [Document 0] Bookmarks= Encoding=UTF-8 Highlighting=None Indentation Mode=0 URL= After deleting this session file the default indentation mode is applied. This report seems to be a dup of #153564. On http://bugs.kde.org/show_bug.cgi?id=153564#c3 Anders says that in new kate version (3.0) the indentation is unset for new documents. Is this the right behaviour? I can reproduce this on both kate 2.5.9 (Kubuntu 8.04) and kate 3.0.83 (Kubuntu Intrepid Alpha 1). *** Bug 153564 has been marked as a duplicate of this bug. *** That works for me in KDE 4.4, each session remembers the right settings. |