[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode
From: |
Matthew Woodcraft |
Subject: |
bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode |
Date: |
Thu, 28 Aug 2014 20:00:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
> If inside a nested block, there is no way for Emacs to determine whereto such
> "else" should belong.
> I.o.w, don't see a difference between these both cases.
What emacs 24.3 does, in the common case, is dedent the 'else:' one step.
This is correct most of the time, and in the cases where it isn't
correct it moves the line one step closer to where it will end up.
In contrast, the behaviour in the current 24.4-pretest for 'def:' and
'class:' is wrong nearly all the time, and when it's wrong it moves the
line away from where it will end up rather than towards it.
-M-
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Jorgen Schaefer, 2014/08/09
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Andreas Röhler, 2014/08/11
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Stefan Monnier, 2014/08/11
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Andreas Röhler, 2014/08/11
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Stefan Monnier, 2014/08/11
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Andreas Röhler, 2014/08/12
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Stefan Monnier, 2014/08/12
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Matthew Woodcraft, 2014/08/27
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode, Andreas Röhler, 2014/08/28
- bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode,
Matthew Woodcraft <=