Stop emacs paste from indenting, eg in python-mode
Put this in your .emacs: (add-hook ‘python-mode-hook ‘(lambda () (electric-indent-local-mode -1))
Put this in your .emacs: (add-hook ‘python-mode-hook ‘(lambda () (electric-indent-local-mode -1))
If you are using emacs to edit Python with auto-complete enabled, you really should install smart-tab to intelligently toggle between indentation and completion.