kate ignores settings for TAB
Bug #282234 reported by
wateenellende
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Software Development Kit |
Fix Released
|
Medium
|
|||
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | ||
Fedora |
Invalid
|
Low
|
|||
kdesdk (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: kate
When I press TAB, I want to have a tabulator (no spaces), and have it 8 chars wide. This is in my config under "Editing", and in previous versions was respected. The current version in Intrepid (see below for details) ignores these settings, even though they are really set correctly, and produces 2 spaces.
This is extremely annoying when typing source code, I now have to copy-paste tabs from existing documents.
$ dpkg -s kate
Package: kate
Status: install ok installed
Priority: optional
Section: editors
Installed-Size: 2652
Maintainer: Kubuntu Developers <email address hidden>
Architecture: amd64
Source: kdesdk
Version: 4:4.1.2-0ubuntu1
Replaces: kate-kde4
Changed in kdesdk: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in kdesdk: | |
status: | Unknown → New |
Changed in kdesdk: | |
status: | New → Fix Released |
Changed in kdesdk: | |
status: | Fix Released → Unknown |
Changed in kdesdk: | |
status: | Unknown → New |
Changed in fedora: | |
status: | Unknown → Invalid |
Changed in kdesdk: | |
importance: | Unknown → Medium |
Changed in kdesdk: | |
status: | New → Fix Released |
Changed in fedora: | |
importance: | Unknown → Low |
To post a comment you must log in.
Version: KDE 3.90.1 (using KDE Devel)
Installed from: Compiled sources
Compiler: g++ 4.1.1-51.fc6
OS: Linux
I normally indent with spaces, so I want to have the indentation mode set to spaces, however when I press the TAB key, I really really want a tab, not a bunch of spaces, I'd have pressed the space key if I wanted that! ;-)
I don't think I'm the only one who wants that, thus this RFE.
Note that I can get the KDE 3.5 KatePart to mostly do what I want by disabling "use spaces instead of tabs" under Editing and enabling it under Indentation (and also disabling the "Emacs-style" option, which isn't there in KDE 3.90.1 anymore either), but the fact that this works is probably more accidental than intentional. :-)
Speaking of that "Emacs-style" option which can't be disabled anymore, I think that's a horrible way to do indentation. For example, the following code:
[TAB]if (foo
[TAB]____&& bar)
will only align correctly independently of the tabstop setting (which is something the user should be able to set, otherwise what's the point of using tabs at all?) if tabs are used where I used [TAB] and spaces where I used _. The "Emacs-style" indentation breaks that (try it with 4-space tabs and it will change the spaces to a tab, then try switching to 8-space tabs and look at the resulting mess!).
But that's a separate issue, the fact that the tab key can't be configured to simply insert a tab without setting the indentation mode to tabs throughout is much worse.