Comment 10 for bug 939577

Revision history for this message
Andreas Roehler (a-roehler) wrote :

closing this considered as a feature request,
revno: 1355 delivers a way how to deal with non-default coding style

####

  Go to the example given by lp:939577, line 4,
  beginning of word "pass" at column 16.

  M-x py-smart-indentation-on
  makes TAB circle between 0, 8 und 16

  M-x py-smart-indentation-off
  makes TAB circle between 0, 4, 8 und 12

  Resp. using `py-toggle-smart-indentation'

  Alternatively:

  `py-indent-line' called with an optional
  \\[universal-argument] followed by a numeric argument
  neither 1 nor 4 will switch off `py-smart-indentation'
  for this execution and introduce default-indent.

#######

should a recipe be available, Python-mode causes such a 8-space indent, please re-open.