On Tue, 2 Oct 2018, John M wrote:
This may be a bit off-topic but the feature responsible for this is 'electric-indent-mode', which is enabled by default in 24.4 or later.
It is not enough to prevent indentation in Tcl mode. (setq tcl-mode-map (make-sparse-keymap)) is not anymore documented and prevents not only indentation. I would stop using emacs, but after so much years using it ... Rodrigo