Mercurial > emacs
comparison lisp/progmodes/python.el @ 101769:fcd47e055a66
Comment (python-mode is now separate from Python).
| author | Glenn Morris <rgm@gnu.org> |
|---|---|
| date | Tue, 03 Feb 2009 04:13:17 +0000 |
| parents | a9dc0e7c3f2b |
| children | 84b9607bddb0 |
comparison
equal
deleted
inserted
replaced
| 101768:740893b50e9e | 101769:fcd47e055a66 |
|---|---|
| 1 ;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*- | 1 ;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*- |
| 2 | 2 |
| 3 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 3 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 4 ;; Free Software Foundation, Inc. | |
| 4 | 5 |
| 5 ;; Author: Dave Love <fx@gnu.org> | 6 ;; Author: Dave Love <fx@gnu.org> |
| 6 ;; Maintainer: FSF | 7 ;; Maintainer: FSF |
| 7 ;; Created: Nov 2003 | 8 ;; Created: Nov 2003 |
| 8 ;; Keywords: languages | 9 ;; Keywords: languages |
| 24 | 25 |
| 25 ;;; Commentary: | 26 ;;; Commentary: |
| 26 | 27 |
| 27 ;; Major mode for editing Python, with support for inferior processes. | 28 ;; Major mode for editing Python, with support for inferior processes. |
| 28 | 29 |
| 29 ;; There is another Python mode, python-mode.el, used by XEmacs and | 30 ;; There is another Python mode, python-mode.el: |
| 30 ;; maintained with Python. That isn't covered by an FSF copyright | 31 ;; http://launchpad.net/python-mode |
| 31 ;; assignment, unlike this code, and seems not to be well-maintained | 32 ;; used by XEmacs, and originally maintained with Python. |
| 32 ;; for Emacs (though I've submitted fixes). This mode is rather | 33 ;; That isn't covered by an FSF copyright assignment (?), unlike this |
| 33 ;; simpler and is better in other ways. In particular, using the | 34 ;; code, and seems not to be well-maintained for Emacs (though I've |
| 34 ;; syntax functions with text properties maintained by font-lock makes | 35 ;; submitted fixes). This mode is rather simpler and is better in |
| 35 ;; it more correct with arbitrary string and comment contents. | 36 ;; other ways. In particular, using the syntax functions with text |
| 37 ;; properties maintained by font-lock makes it more correct with | |
| 38 ;; arbitrary string and comment contents. | |
| 36 | 39 |
| 37 ;; This doesn't implement all the facilities of python-mode.el. Some | 40 ;; This doesn't implement all the facilities of python-mode.el. Some |
| 38 ;; just need doing, e.g. catching exceptions in the inferior Python | 41 ;; just need doing, e.g. catching exceptions in the inferior Python |
| 39 ;; buffer (but see M-x pdb for debugging). [Actually, the use of | 42 ;; buffer (but see M-x pdb for debugging). [Actually, the use of |
| 40 ;; `compilation-shell-minor-mode' now is probably enough for that.] | 43 ;; `compilation-shell-minor-mode' now is probably enough for that.] |
