summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* (py-parse-state): make sure we don't land inside a triple-quotedBarry Warsaw1996-04-061-10/+16
| | | | string
* (py-indent-right, py-outdent-left): Watch out for (mark) returningBarry Warsaw1996-03-251-4/+10
| | | | nil.
* #updated some commentsBarry Warsaw1996-03-221-7/+9
|
* (py-indent-right, py-indent-left): support indentation of regions orBarry Warsaw1996-03-221-34/+69
| | | | current line.
* (py-comment-region): obsoleted by comment-regionBarry Warsaw1996-03-071-28/+6
| | | | | | (python-mode): set comment-start to "## " for comment-region. (py-mode-map): Bind C-c# to comment-region.
* (python-font-lock-keywords): make it a defconstBarry Warsaw1996-03-061-2/+2
|
* (py-honor-comment-indentation, py-compute-indentation): allow otherBarry Warsaw1996-03-061-10/+23
| | | | than nil or t values.
* (py-honor-comment-indentation): new variable.Barry Warsaw1996-03-051-1/+13
| | | | (py-compute-indentation): use new variable.
* #removed font-lock cruftBarry Warsaw1996-03-051-44/+0
|