After creating a new temporary buffer, (py-execute-region) calls (python-mode) in the temp buffer. That call to (python-mode) was becoming a pain - every time I ran a piece of code, emacs was slowing me down as it re-loaded the libraries I have hooked in to python-mode. Commenting out line 1,733 sped things up. _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode