Commit Graph

44 Commits

Author SHA1 Message Date
Barry Warsaw 867a32ab53 (py-comment-region): obsoleted by comment-region
(python-mode): set comment-start to "## " for comment-region.

(py-mode-map): Bind C-c# to comment-region.
1996-03-07 18:30:26 +00:00
Barry Warsaw 62d9d6ed40 (python-font-lock-keywords): make it a defconst 1996-03-06 20:32:27 +00:00
Barry Warsaw 6d627754c1 (py-honor-comment-indentation, py-compute-indentation): allow other
than nil or t values.
1996-03-06 18:41:38 +00:00
Barry Warsaw 33d6ec062e (py-honor-comment-indentation): new variable.
(py-compute-indentation): use new variable.
1996-03-05 16:28:07 +00:00
Barry Warsaw 6245a3ca3f #removed font-lock cruft 1996-03-05 16:20:19 +00:00
Barry Warsaw 33ab6e4915 (python-font-lock-keywords): Much improved descrimination between
keywords and names with keywords in them.
1996-03-05 00:44:31 +00:00
Barry Warsaw fd0fb38055 (py-compute-indentation): fix skipping backwards over comments by
using forward-comment (and Emacs 19 function) if available.
1996-03-04 17:15:40 +00:00
Barry Warsaw 9fbcc6a6c2 (py-shell): Fixed Emacs 18 bug, use of boundp instead of fboundp. 1996-01-23 22:52:02 +00:00
Barry Warsaw 17914f4e17 (py-indent-offset): Change default to 4. 1995-11-03 18:25:15 +00:00
Barry Warsaw 2bbe49bf6f changed underscore to have symbol syntax 1995-10-18 14:41:12 +00:00
Barry Warsaw 52bc17cd9e (py-indent-offset): this should be buffer local. 1995-10-12 21:15:49 +00:00
Barry Warsaw 095e9c6954 (py-align-multiline-strings-p): new variable 1995-09-19 20:01:42 +00:00
Barry Warsaw 0c6563f7c7 (py-electric-colon): turn off electric behavior inside strings and
comments.
1995-09-14 20:57:02 +00:00
Barry Warsaw 57697af9b0 (python-mode): comment-multi-line must be nil for Emacs 19 1995-09-14 20:01:14 +00:00
Barry Warsaw c01c5c859c (py-compute-indentation): when inside a comment, indent to under the
most previous non-blank line.
1995-09-14 18:49:11 +00:00
Barry Warsaw fec75d66a7 #changed all email address to go through python.org 1995-07-05 23:26:15 +00:00
Barry Warsaw 4dba7e2b67 (py-append-to-process-buffer): XEmacs doesn't have last-input-start or
last-input-end either!
1995-07-05 23:01:43 +00:00
Barry Warsaw 4d82c9aef5 (python-font-lock-keywords): merged with XEmacs 19.12 font-lock.el
value
1995-07-05 22:50:55 +00:00
Barry Warsaw e64bfee412 (py-process-filter): if command takes a long time, input typed before
the next prompt could end up in the middle of the line, instead of
after it.  Fix given by klm@nist.gov.
1995-07-05 22:27:23 +00:00
Barry Warsaw 6e98f3350f (py-shell): cope with make-comint instead of make-shell 1995-07-05 22:06:50 +00:00
Barry Warsaw b01b4fa130 Added tbd's on python-font-lock-keywords 1995-06-20 18:55:34 +00:00
Barry Warsaw 7a1f6f4f2a #updated to-do list 1995-05-08 21:36:20 +00:00
Barry Warsaw 3aca2a1f1c (py-electric-colon): use a save-excursion instead of a progn in
indentation calculation test.
1995-03-20 18:32:14 +00:00
Barry Warsaw d865bc5984 #(py-electric-colon): updated comment 1995-03-15 18:23:16 +00:00
Barry Warsaw a6a714eb3b (py-electric-colon): don't indent, only outdent. 1995-03-15 18:19:15 +00:00
Barry Warsaw 1a6c82f1e6 (py-indent-right, py-outdent-left): new commands, bound to C-c C-r and
C-c C-l respectively.
1995-03-15 16:23:59 +00:00
Barry Warsaw 9b623b3d63 (py-electric-colon): don't re-indent the line if it starts in column
zero
1995-03-14 23:59:07 +00:00
Barry Warsaw 464c94af2a (py-no-outdent-re): fixed the regexp for try: clauses 1995-03-14 23:25:44 +00:00
Barry Warsaw 3874a3d7ef (py-outdent-p): new function
(py-electric-colon, py-indent-line): watch out for intervening blank
or comment lines.
1995-03-14 22:05:53 +00:00
Barry Warsaw 4f009fb092 (py-no-outdent-re): new constant
(py-indent-line, py-electric-colon): watch for compound statements one
line after another.
1995-03-14 20:53:08 +00:00
Barry Warsaw b5e0ecbd33 (py-submit-bug-report): fixed summary querying
#Added a summary of changes
1995-03-14 18:32:54 +00:00
Barry Warsaw 0012c1ec74 (py-outdent-re): new constant
(py-electric-colon): use py-outdent-re instead of hardcoding

(py-indent-line): look for py-outdent-re and outdent a level
accordingly
1995-03-14 16:32:55 +00:00
Barry Warsaw b86bbada37 #(py-indent-line): cosmetic 1995-03-14 15:56:35 +00:00
Barry Warsaw b91b743476 (py-electric-colon): new command 1995-03-14 15:55:20 +00:00
Barry Warsaw cfec359016 #updated copywrite notice by removing the GPL language according to
#Guido's request.

# Updated the `Created' date
1995-03-10 15:58:16 +00:00
Barry Warsaw fc8a01fc5a (py-delete-char): must have 'supersede value for 'delete-selection and
'pedning-delete properties.
1995-03-09 16:07:29 +00:00
Barry Warsaw 65bc7a7bf2 (python-font-lock-keywords): better defaults. 1995-03-08 22:25:47 +00:00
Barry Warsaw 74d9cc5b73 (py-keep-region-active): new function. 1995-03-08 22:05:16 +00:00
Barry Warsaw c723b75fe3 #(python-font-lock-keywords): paren typo 1995-03-08 22:03:16 +00:00
Barry Warsaw 4f005cf5d6 (python-font-lock-keywords): new variable 1995-03-08 22:02:44 +00:00
Barry Warsaw 850437a932 (py-mode-map): py-mark-block moved to C-c C-m (was C-c C-b).
py-submit-bug-report placed on C-c C-b, and py-version placed on C-c
C-v.

(py-version, py-submit-bug-report): new functions

(py-version, py-help-address): new variables
1995-03-08 21:50:28 +00:00
Barry Warsaw 7b0f5681d8 #initial stylistic rewrite 1995-03-08 21:33:04 +00:00
Barry Warsaw 3ff444992f (py-compute-indentation): in `t' clause, watch for the
re-search-backwards landing you inside a mult-line string.
1994-12-16 00:13:34 +00:00
Barry Warsaw 7ae7768890 Initial revision 1994-12-12 20:38:05 +00:00