← Back to team overview

registry team mailing list archive

[Bug 490772] Re: When saving file, gedit reset tab width to 8 characters

 

@Nicolò Chieffo
I have this problem and do not have the ``modelines'' gedit plugin enabled, so it seems that it's not related to that.

I've been using gedit for several hours every day for the past week and
have only noticed it in the last hour. It is also intermittent in its
manifesting, as it only occurs with some files.  For instance, I have
two Python files and a plaintext file that are open right now and it is
only occurring in one of the Python files.

Aha!  While typing this reply, I tested something.  My indentation was
messed up in one function in the file that was giving me trouble (i.e.
the indentation in that function was 8 spaces, while I want a setting of
8 spaces.)  When I reset its indentation to the proper level (i.e. 4
spaces) and re-saved the file, it kept the 4 spaces setting.  So it
seems that gedit infers the setting upon save.

I'm not sure if this is related to the bug, but I thought I would
include it for reference, in case this is the root of the problem for
the original reporter.

-- 
When saving file, gedit reset tab width to 8 characters
https://bugs.launchpad.net/bugs/490772
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for gedit.