summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* (py-parse-partial-sexp-works-p): Removed as obsolete. All currentBarry Warsaw1997-09-041-20/+10
| | | | | | Emacs and XEmacs versions should have working parse-partial-sexp's. (py-emacs-features): Defined as future placeholder.
* #Fixed two byte-compiler errorsBarry Warsaw1997-08-091-2/+2
|
* #Checkpointing X/Emacs 20'fication of this mode.Barry Warsaw1997-08-091-210/+231
|
* #Bumping to version 3.0Barry Warsaw1997-08-081-2/+1
|
* (py-shell): Remove support for Emacs 18, implicitly add support forBarry Warsaw1997-07-101-15/+7
| | | | Emacs 20, and bind TAB key to self-insert-command in *Python* process.
* (python-font-lock-keywords): Use new convention for installing in modeBarry Warsaw1997-02-241-2/+3
|
* (py-mode-map): Comment Out Region / Uncomment Region should useBarry Warsaw1997-01-301-2/+2
| | | | py-comment-region instead of comment-region.
* #Updated authorship lineBarry Warsaw1997-01-301-1/+1
|
* (py-parse-partial-sexp-works-p): New variable to work around a bug inBarry Warsaw1997-01-301-3/+23
| | | | | | parse-partial-sexp in some Emacsen. (py-goto-beyond-final-line): use py-parse-partial-sexp-works-p.
* (py-delete-function): new variableBarry Warsaw1996-12-171-1/+7
| | | | (py-delete-char): funcall py-delete-function.
* (python-mode): added comment-end definitions.Barry Warsaw1996-12-171-0/+2
|
* (match-string): Added a definition for older Emacsen.Barry Warsaw1996-10-291-0/+9
|
* (py-indent-line): take an optional universal argument which says toBarry Warsaw1996-10-231-13/+22
| | | | | | | | | | | | | | defeat extra outdentation for block closing statements (return, raise, break, continue, pass). (py-compute-indentation): extra argument to honor block closing statements. (py-electric-colon, py-indent-region): use py-compute-indentation's extra argument (py-statement-closes-block-p): `pass' treated as a block closing statement.
* (py-process-filter): Make sure current-buffer is restored, even in theBarry Warsaw1996-09-301-36/+41
| | | | | event of error. Can't use new Emacs primitive save-current-buffer, so use unwind-protect instead.
* (python-font-lock-keywords): with Python 1.4 `access' is no a keywordBarry Warsaw1996-09-041-1/+1
|
* I have been increasingly annoyed about the fact thatBarry Warsaw1996-09-041-0/+28
| | | | | | | | add-change-log-entry-other-window is so bad about guessing the proper name of Python functions, methods and variables, so finally I wrote the following (unidiff patch against python-mode.el 2.73): Per Cederqvist <ceder@signum.se>
* #stylisticsBarry Warsaw1996-09-041-2/+4
|
* (python-mode): typosBarry Warsaw1996-09-041-2/+2
|
* (python-mode): font-lock-defaults must be make-local-variable'dBarry Warsaw1996-09-041-16/+23
|
* (py-dump-help-string): Use documentation-property to get docstring.Barry Warsaw1996-09-031-2/+1
|
* (python-mode): font-lock-defaults necessary for Emacs 19, but doesn'tBarry Warsaw1996-09-031-1/+3
| | | | hurt for XEmacs.
* #py-shell gets an autoload cookieBarry Warsaw1996-09-031-0/+1
|
* *** empty log message ***Barry Warsaw1996-08-201-3/+3
|
* (py-no-outdent-re): Added return, break, raise, continue since weBarry Warsaw1996-08-121-1/+3
| | | | already outdent for those statements.
* #updated commentaryBarry Warsaw1996-08-061-4/+3
|
* (py-menu): Create default valueBarry Warsaw1996-08-061-0/+7
|
* (py-forward-into-nomenclature): Slightly better regex for stopping onBarry Warsaw1996-08-051-2/+4
| | | | underscore.
* (py-electric-colon): Use (py-next-statement -1) instead ofBarry Warsaw1996-08-021-1/+1
| | | | (forward-line -1), to properly catch continued statements.
* #updated commentsBarry Warsaw1996-08-011-19/+22
|
* (python-mode): automatically install imenu stuff.Barry Warsaw1996-08-011-8/+15
|
* (imenu-example--python-show-method-args-p,Barry Warsaw1996-08-011-0/+210
| | | | | | | | | | | | | imenu-example--python-class-regexp, imenu-example--python-method-regexp, imenu-example--python-method-no-arg-parens, imenu-example--python-method-arg-parens, imenu-example--generic-python-expression, imenu-example--python-generic-regexp, imenu-example--python-generic-parens): New variables. (imenu-example--create-python-index, imenu-example--create-python-index-engine): New functions.
* (py-keep-region-active): Zap duplicate defun.Barry Warsaw1996-08-011-11/+6
|
* (py-delete-char): Check for py-honor-comment-indentation.Barry Warsaw1996-08-011-0/+1
|
* (py-mode): comment-start is now "# " so indent-for-comment does theBarry Warsaw1996-08-011-6/+41
| | | | | | | | | | right thing. (py-comment-region): let-bind comment-start to "## " so commented regions get transformed into non-indenting comment lines. (py-compute-region): Implement modification to rule for recognizing "indenting comment lines".
* #comment updateBarry Warsaw1996-07-311-0/+2
|
* #comment updateBarry Warsaw1996-07-311-0/+4
|
* #updated to do listBarry Warsaw1996-07-311-4/+4
|
* (py-parse-state): stop searching backwards when we found a keyword atBarry Warsaw1996-07-311-2/+6
| | | | | column zero. Perhaps a kludge, but similar in nature to Emacs' beginning-of-defun shortcut.
* (py-statement-closes-block-p, py-compute-indentation): Outdent oneBarry Warsaw1996-07-311-3/+17
| | | | level after a return, raise, break, or continue statement.
* (python-mode): Added menu support, requires easymenu.Barry Warsaw1996-07-291-10/+45
|
* (py-forward-into-nomenclature): small fix to not infinitely loop atBarry Warsaw1996-07-251-1/+1
| | | | underscores.
* #comment update, re: py-mode-syntax-tableBarry Warsaw1996-07-241-4/+5
|
* (py-forward-into-nomenclature, py-backward-into-nomenclature): New functions.Barry Warsaw1996-07-241-0/+31
|
* (py-shift-region-left): When checking for left edged code, watch forBarry Warsaw1996-07-231-1/+2
| | | | blank lines.
* added a thing on the to-do listBarry Warsaw1996-07-081-1/+2
|
* (python-font-lock-keywords): added class and defBarry Warsaw1996-07-051-7/+13
|
* (py-mode-syntax-table): revert underscore to word class, even though IBarry Warsaw1996-07-031-1/+5
| | | | don't agree with it.
* (py-delete-char): Obey numeric argument.Barry Warsaw1996-07-031-15/+21
|
* (py-shift-region-left, py-shift-region-right, py-indent-right,Barry Warsaw1996-07-031-88/+32
| | | | | | | py-outdent-left, py-mode-map): Folded all functionality into py-shift-region-* commands. Bound C-c C-l to py-shift-region-left and C-c C-r to py-shift-region-right. Removed py-indent-right and py-indent-left.
* (py-indent-right, py-outdent-left): fixed placement of point afterBarry Warsaw1996-04-081-16/+22
| | | | adjustments.