python-mode defaults to indenting with tab rather than spaces
Bug #953765 reported by
Richard Stanton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
I'm not sure if this is new behavior, but it looks like python-mode (today's version, 3/12/12) by default uses a tab to indent rather than 4 spaces when I press Return (running the command py-newline-and indent). I can override this by setting indent-tabs-mode to nil, but wouldn't it make more sense to have spaces as the default?
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.0.6 |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
indent-tabs-mode is a global variable
previously it was set to nil by python-mode, now a function toggle- indent- tabs-mode is delivered
will make it buffer-local and default it to nil again than, rename function into py-toggle- indent- tabs-mode