-;;; Major mode for editing Python programs, version 1.10
-;; by: Tim Peters <tim@ksr.com>
-;; after an original idea by: Michael A. Guravage
+;;; python-mode.el --- Major mode for editing Python programs
+
+;; Copyright (C) 1992,1993,1994  Tim Peters
+
+;; Author: 1995 Barry A. Warsaw <bwarsaw@cnri.reston.va.us>
+;;         1992-1994 Tim Peters <tim@ksr.com>
+;; Maintainer:    bwarsaw@cnri.reston.va.us
+;; Created:       ???
+;; Version:       2.6
+;; Last Modified: 1995/03/09 16:07:29
+;; Keywords: python editing language major-mode
+
+;; This file is not part of GNU Emacs.
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2 of the License, or
+;; (at your option) any later version.
+;; 
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+;; 
+;; You should have received a copy of the GNU General Public License
+;; along with this program; if not, write to the Free Software
+;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+;;; Commentary:
 ;;
+;; This is a major mode for editing Python programs.  It was developed
+;; by Tim Peters <tim@ksr.com> after an original idea by Michael
+;; A. Guravage.  Tim doesn't appear to be on the 'net any longer so I
+;; have undertaken maintenance of the mode.  Here is Tim's original
+;; copyright notice:
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Copyright (c) 1992,1993,1994  Tim Peters
 ;;
 ;; This software is provided as-is, without express or implied warranty.

colon and is indented less than the statement you started on.  If
successful, also sets the mark to the starting point.

`\\[py-mark-block]' can be used afterward to mark the whole code block, if desired.

If called from a program, the mark will not be set if optional argument
NOMARK is not nil."
  (interactive)
  (let ( (start (point))
	 (found nil)
	 initial-indent)
    (py-goto-initial-line)
    ;; if on blank or non-indenting comment line, use the preceding stmt
    (if (looking-at "[ \t]*\\($\\|#[^ \t\n]\\)")

  (py-execute-region (point-min) (point-max)))



;; Functions for Python style indentation
(defun py-delete-char ()
  "Reduce indentation or delete character.
If point is at the leftmost column, deletes the preceding newline.
