-*-text-*- * Revision 1.40 (emacs.py 1.22 python-21.el 1.88) * python-use-skeletons controls expansion of skeletons in Abbrev mode. * Revision 1.39 (emacs.py 1.22 python-21.el 1.87) * Bug fix: Update the last fix. * Revision 1.38 (emacs.py 1.22 python-21.el 1.86) * Bug fix: Fix treatment of escaped quotes. * Revision 1.37 (emacs.py 1.22 python-21.el 1.85) * Allow completion and symbol description in inferior buffer. * Revision 1.36 (emacs.py 1.22 python-21.el 1.84) * Bug fixes: * Fix reloading in Python 3. * Recognize augmented assignments. * Revision 1.35 (emacs.py 1.20, python-21.el 1.83) * Take local imports into account for completion. * For checking, use epylint if available, and use python-saved-check-command. * Revision 1.32 (emacs.py 1.20, python-21.el 1.80) * Fix flymake running from timer. * Better default for pylint checker args. * Revision 1.31 (emacs.py 1.20, python-21.el 1.79) * Bug fixes: * Fix some problems with execution in an inferior Python 2. * Deal with sending non-ASCII regions to the inferior process and fix loading whole non-ASCII files. * Bind C-c C-z in inferior buffer to switch back to code after C-c C-z there. * Revision 1.30 (emacs.py 1.18, python-21.el 1.78) * Tidy up processing of output in inferior buffer, avoiding multiple prompts and occasional lost output. Print a message if inferior process can't accept text to evaluate. * Revert mistaken last change to `python-load-file'. * Revision 1.29 (emacs.py 1.17, python-21.el 1.77) * Change the mechanism for Python2/Python3: `python-2-mode' and `python-3-mode' are no longer proper major modes, but just invoke `python-mode' with `python-default-version' bound appropriately. Thus you can use, say, python-3-mode in file-local variables, but `major-mode' is always `python-mode' to avoid breaking things which test `major-mode'. * Bug fixes: * Allow trailing comments on outline headings. * `python-load-file' produces a stack trace with the file name. * Revision 1.25 (emacs.py 1.16, python-21.el 1.73) * Fix hideshow to work with the new major modes, and make it consistent with outlining. * Revision 1.24 (emacs.py 1.16, python-21.el 1.72) * Flymake support (via `python-check-command'). * Bug/infelicity fixes: * Error with backslash-continued line inside parens. * Allow "else" after "finally". * Set `comment-start-skip', `local-abbrev-table'. * Allow non-ASCII ids with Eldoc. * `python-process-kill-without-query' allows silent killing of inferior process. * Avoid possible bad indentation of try block clauses. * Revision 1.18 (emacs.py 1.16, python-21.el 1.66) * Support for Python 3: * New modes, `python-3-mode' and `python-2-mode'. `python-mode' changed just to invoke the one determined by `python-default-version'. * emacs.py should work with python 2.3 up. (Only 2.5 and 3.0 tested.) * Bug fixes: * Completion works again in python 2.4 up. * `python-beginning-of-block' moves to the beginning properly when point is in the first statement of an outer block. * `python-mark-block' is more sensible because of the above. * `python-mark-block' doesn't push marks or deactivate the region if it doesn't find a block. * `indent-tabs-mode' is now normally nil -- Python 3 objects to typical mixed tab/space indentation otherwise. The indentation isn't guessed if it's set file-locally. * Avoid error in `python-find-function'. * Try harder to find Info files for info-look. * Customizing `python-python-command' updates things which depend on it. * Fix Imenu finding nested definitions. * Fix python-beginning-of-defun with nested definitions. * Other changes * Imenu generation is sanitized: class names are indicated by a suffix, not a prefix; sorting is sorted; the default `imenu-sort-function' gives an overall order of module variables, class definitions, and function definitions. * In Emacs 21, bind C-M-h and C-x n d usefully to work around problems with normal bindings.