Commit Graph

22828 Commits

Author SHA1 Message Date
Barry Warsaw f67a57efc4 (py-no-outdent-re): Added return, break, raise, continue since we
already outdent for those statements.
1996-08-12 19:52:27 +00:00
Guido van Rossum 9dc7833988 New AIX-NOTES 1996-08-09 14:38:40 +00:00
Guido van Rossum 36eb6c7331 New AIX-NOTES 1996-08-09 14:38:22 +00:00
Barry Warsaw cf34d2a010 #updated commentary 1996-08-06 15:57:58 +00:00
Barry Warsaw 5490a06fc7 (py-menu): Create default value 1996-08-06 15:43:33 +00:00
Barry Warsaw c5a8cbd35d (py-forward-into-nomenclature): Slightly better regex for stopping on
underscore.
1996-08-05 21:53:02 +00:00
Barry Warsaw a766182f08 (py-electric-colon): Use (py-next-statement -1) instead of
(forward-line -1), to properly catch continued statements.
1996-08-02 16:22:43 +00:00
Barry Warsaw 3fcaf61768 #updated comments 1996-08-01 20:11:51 +00:00
Barry Warsaw 755c6714cc (python-mode): automatically install imenu stuff. 1996-08-01 20:02:55 +00:00
Barry Warsaw 8143746750 (imenu-example--python-show-method-args-p,
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.
1996-08-01 19:48:02 +00:00
Barry Warsaw ce60bc7192 (py-keep-region-active): Zap duplicate defun. 1996-08-01 18:17:14 +00:00
Barry Warsaw 6e527d2ca3 (py-delete-char): Check for py-honor-comment-indentation. 1996-08-01 15:57:48 +00:00
Barry Warsaw a7891718e1 (py-mode): comment-start is now "# " so indent-for-comment does the
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".
1996-08-01 15:53:09 +00:00
Guido van Rossum 64d376a670 New .pyc magic numnber, too. 1996-08-01 01:06:24 +00:00
Barry Warsaw 9e277db76b #comment update 1996-07-31 22:33:40 +00:00
Barry Warsaw c08a949549 #comment update 1996-07-31 22:27:58 +00:00
Barry Warsaw 5c0d00f553 #updated to do list 1996-07-31 21:30:21 +00:00
Barry Warsaw 170ffa775d (py-parse-state): stop searching backwards when we found a keyword at
column zero.  Perhaps a kludge, but similar in nature to Emacs'
beginning-of-defun shortcut.
1996-07-31 20:57:22 +00:00
Barry Warsaw f831d81999 (py-statement-closes-block-p, py-compute-indentation): Outdent one
level after a return, raise, break, or continue statement.
1996-07-31 20:42:59 +00:00
Guido van Rossum ccdfce386a Exhaustive list of news in beta2 compared to beta1.
Now all we need to do is do the same for beta1 compared to 1.3.
1996-07-30 21:34:09 +00:00
Guido van Rossum 74faed299f Got rid of all references to stdwin.
Documented insertion of script directory in path.
Updated author's address.
Changed MAILING LIST section to INTERNET RESOURCES.
1996-07-30 19:27:05 +00:00
Guido van Rossum c30e95f4b0 Moved 1.3 news to HISTORY; put some 1.4 news in NEWS 1996-07-30 18:53:51 +00:00
Guido van Rossum 0d20cfa108 Added two new questions; about globals/locals and about recursive imports. 1996-07-30 18:53:05 +00:00
Guido van Rossum 63d9cd708f Added Bill Tutt 1996-07-30 18:50:22 +00:00
Guido van Rossum d19828d706 directives for Tools/scripts/fixcid.py 1996-07-30 18:02:59 +00:00
Barry Warsaw 42f707f40f (python-mode): Added menu support, requires easymenu. 1996-07-29 21:05:05 +00:00
Barry Warsaw c846f46113 (py-forward-into-nomenclature): small fix to not infinitely loop at
underscores.
1996-07-25 18:53:17 +00:00
Barry Warsaw fb3494276e #comment update, re: py-mode-syntax-table 1996-07-24 18:32:08 +00:00
Barry Warsaw 9e5a9c8c99 (py-forward-into-nomenclature, py-backward-into-nomenclature): New functions. 1996-07-24 18:26:53 +00:00
Barry Warsaw 71e315b9d9 (py-shift-region-left): When checking for left edged code, watch for
blank lines.
1996-07-23 15:03:16 +00:00
Guido van Rossum aaa54309db Additions to the cast of thousands 1996-07-21 02:51:05 +00:00
Barry Warsaw fc9cc3a9ce added a thing on the to-do list 1996-07-08 22:37:06 +00:00
Barry Warsaw 44b7220b8b (python-font-lock-keywords): added class and def 1996-07-05 20:11:35 +00:00
Barry Warsaw 8e9d7d7e83 (py-mode-syntax-table): revert underscore to word class, even though I
don't agree with it.
1996-07-03 23:15:51 +00:00
Barry Warsaw 039707399e (py-delete-char): Obey numeric argument. 1996-07-03 23:12:52 +00:00
Barry Warsaw dea4a29e9a (py-shift-region-left, py-shift-region-right, py-indent-right,
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.
1996-07-03 22:59:12 +00:00
Guido van Rossum ca318ec12e Some updates. Still out of date. 1996-06-26 19:50:09 +00:00
Guido van Rossum 3cd7fa40fa new contributors 1996-06-26 19:48:47 +00:00
Barry Warsaw f2389a0b24 (py-indent-right, py-outdent-left): fixed placement of point after
adjustments.
1996-04-08 23:05:56 +00:00
Barry Warsaw 43ecf8ee58 (py-parse-state): make sure we don't land inside a triple-quoted
string
1996-04-06 00:00:19 +00:00
Barry Warsaw 5f204775bf (py-indent-right, py-outdent-left): Watch out for (mark) returning
nil.
1996-03-25 21:24:26 +00:00
Barry Warsaw 4669d7e415 #updated some comments 1996-03-22 16:13:24 +00:00
Barry Warsaw 826255ba32 (py-indent-right, py-indent-left): support indentation of regions or
current line.
1996-03-22 16:09:34 +00:00
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
Jack Jansen 10d0f8fc40 Renamed module tkinter to _tkinter 1995-10-23 14:36:05 +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
Guido van Rossum bf032a97b9 mention syslog upgrade 1995-10-11 19:28:39 +00:00
Guido van Rossum e7d92d5f41 all sorts of minor nits 1995-10-11 18:06:54 +00:00
Guido van Rossum 5e639d446c transcribed changes from tut.tex 1995-10-11 18:03:13 +00:00
Guido van Rossum c102a13f61 added two names 1995-10-11 17:57:04 +00:00
Guido van Rossum d462f3dc28 added 1.2 news 1995-10-09 21:30:37 +00:00
Guido van Rossum 670ded8422 added some files 1995-10-09 21:29:13 +00:00
Guido van Rossum 3ec97e5d52 interface for Emacs imenu 1995-10-09 21:27:37 +00:00
Guido van Rossum 503b2e87c2 Barry's version 2.30; some chages for triple quotes 1995-10-08 00:44:23 +00:00
Guido van Rossum 05151e0354 +aaron watters, +PSA, +GC, -lance, -beta 1995-09-28 13:24:46 +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
Guido van Rossum b0a2ce515b several new questions, 1.3 beta mentioned 1995-08-28 19:41:35 +00:00
Guido van Rossum d4901c890a changes by Barry, e.g. font lock & email addresses 1995-08-28 03:12:57 +00:00
Guido van Rossum e7017ba0f7 updates 1995-08-28 03:09:31 +00:00
Guido van Rossum bf8e7d598a new stuff 1995-08-28 03:09:13 +00:00
Guido van Rossum 79118131a1 new people 1995-08-28 03:08:42 +00:00
Guido van Rossum 3fc9d73e08 new version 1995-07-25 15:10:56 +00:00
Guido van Rossum ffa257d10e Initial revision 1995-07-20 21:57:15 +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
Guido van Rossum 7be34a8bb3 next version; python.org changes 1995-05-31 15:17:12 +00:00
Barry Warsaw 7a1f6f4f2a #updated to-do list 1995-05-08 21:36:20 +00:00
Guido van Rossum decd2df475 micro lay-out change 1995-04-10 12:32:31 +00:00
Guido van Rossum e530c584f2 changed path references 1995-04-10 12:32:16 +00:00
Guido van Rossum ac3f212cd4 Some more changes for 1.2 1995-04-10 11:53:42 +00:00
Guido van Rossum 0082c1a121 updates for final release of 1.2 1995-04-10 11:52:44 +00:00
Guido van Rossum eae3f73b1c Graham Matthews 1995-04-07 15:36:08 +00:00
Guido van Rossum 2e0d2dd23a fix typo in electric colon 1995-03-22 10:09:31 +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
Guido van Rossum a521c1b751 Barry's 2.18 -- don't indent, only outdent 1995-03-15 20:02:40 +00:00
Guido van Rossum 2ed5354792 Barry's 2.16 -- more electric colon cruft, add py-outdent-left
and py_indent-right
1995-03-15 19:57:14 +00:00
Guido van Rossum d97cc37489 barry's 2.13 -- minor reworking of code (added py-outdent-p) 1995-03-15 19:55:55 +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
Guido van Rossum 1c1fbf817e Barry's 2.12 -- fix some bugs in electric colon code 1995-03-14 21:33:10 +00:00
Guido van Rossum 1d5645d727 Barry's version 2.11 -- electric colon 1995-03-14 21:31:47 +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
Guido van Rossum a8a8d4aadd removed GPL mumbo jumbo 1995-03-10 16:19:31 +00:00
Guido van Rossum deaa1054fa Lots of formatting changes by Barry, and a few real changes. 1995-03-10 16:17:03 +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
Guido van Rossum 1b761a6ef9 cope with triple-quoted strings (says Barry) 1995-03-09 14:45:40 +00:00
Guido van Rossum 04cba5bcec the usual 1995-03-09 14:44:51 +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
Guido van Rossum a3966e7563 ... 1995-02-14 09:44:28 +00:00
Guido van Rossum 077793581d version 1.20 1995-02-07 16:59:56 +00:00
Guido van Rossum 796b259a1c intermediate version -- why not... 1995-01-20 23:05:52 +00:00
Guido van Rossum 3256e87dbc *** empty log message *** 1995-01-17 17:00:56 +00:00
Guido van Rossum 5426ab33d9 1.2beta news 1995-01-17 17:00:47 +00:00
Guido van Rossum 03d4c260e3 New file -- creates FAQ.html. 1995-01-04 19:21:44 +00:00
Guido van Rossum 227a0a1e2d Added 1995 to copyright message; added a few people to acks again... 1995-01-04 19:21:21 +00:00
Guido van Rossum f456b6d691 Moved 1.1 and 1.1.1 news here 1995-01-04 19:20:37 +00:00
Guido van Rossum a6c707c679 Posted as 1.18 1995-01-02 17:32:28 +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
Guido van Rossum 635649f90f next release 1994-11-10 23:04:51 +00:00
Guido van Rossum 9351fdb011 misc stuff 1994-11-10 23:03:51 +00:00
Guido van Rossum d57021eaeb workshop attendees etc 1994-11-10 23:02:22 +00:00
Guido van Rossum a67bb7ea98 python-mode-hook instead of py-mode-hook 1994-11-10 23:01:59 +00:00
Guido van Rossum ac5a4e39ca add hints about doco 1994-10-11 15:04:57 +00:00
Guido van Rossum 1146c8736a final release date of release 1.1 is Oct 11 1994-10-10 18:05:40 +00:00
Guido van Rossum 72eb83ca25 add warning about ultrix cc 1994-10-07 11:33:28 +00:00
Guido van Rossum aa25386fc2 Moved older news to HISTORY file 1994-10-06 17:18:57 +00:00
Guido van Rossum 061f182a16 For release 1.1 1994-10-06 16:03:45 +00:00
Guido van Rossum 457c0ab366 Fix bug in formatting of new questions 1994-09-29 15:19:10 +00:00
Guido van Rossum b34e8aa60a New version: 1.14 (previous oine was misnumbered 1.12).
Lots of new questions about everything.
1994-09-23 14:20:38 +00:00
Guido van Rossum c24da7cbbc Added obfuxcated lambda's by Ulf Bertelt 1994-09-23 14:08:41 +00:00
Guido van Rossum 14421777fc Some new files... 1994-09-14 14:06:46 +00:00
Guido van Rossum 0c4071e69f FAQ: Added lambda stress test by Ulf
ACKS: Added Ulf
README: fix typo
1994-08-30 12:23:22 +00:00
Guido van Rossum f8c76d0cd1 1.12 -- new address for fu-berlin mirror, infoseek uses python, more
info about windows stdwin, more about gnu getopt, correct typo
1994-08-17 12:19:53 +00:00
Guido van Rossum e06752b457 Added cheatsheet 1994-08-05 15:57:47 +00:00
Guido van Rossum c8180cca25 Very useful file! 1994-08-05 15:57:31 +00:00
Guido van Rossum 14cbecc23e Some new names... 1994-08-05 15:56:13 +00:00
Guido van Rossum 3de273691f Version 1.11 -- added several new answers on design questions 1994-07-25 14:19:33 +00:00
Guido van Rossum 8c9736561b ACKS: some new names; NEWS: 1.0.3 1994-07-14 13:57:11 +00:00
Guido van Rossum ea2c6f75c6 rtfm.mit.edu IP number; unix.hensa.ac.uk mirror site 1994-07-14 12:35:14 +00:00
Guido van Rossum 7ce61c1388 Version 1.9 1994-06-13 15:13:56 +00:00
Guido van Rossum c50158e70c Added stuff about indentation 1994-05-31 09:18:50 +00:00
Guido van Rossum 36a373407f Document -s option -- suppress printing of top-level expressions 1994-05-30 13:41:15 +00:00
Guido van Rossum b3107c3bee ACKS: added Rickard Westman
CXOPYRIGHT: removed spaces at end of some lines
1994-05-23 12:33:44 +00:00
Guido van Rossum 44b4cb1f54 Release 1.0.2 1994-05-04 13:28:51 +00:00
Guido van Rossum 5c74304731 News for 1.0.2 1994-05-04 13:10:17 +00:00
Guido van Rossum 59ad40d0b0 Added Andy Bensky 1994-05-04 12:43:33 +00:00
Guido van Rossum 1ed77974d6 Added Adrian Phillips 1994-05-04 09:35:47 +00:00
Guido van Rossum ef5bca380c Documented -u (unbuffered), undocumented -k (killprint) 1994-05-03 14:15:32 +00:00
Guido van Rossum 581d172d61 Now it's 1.09. Only change from 1.08az is to make kill-emacs-hook work under Lucid
Emacs.
1994-04-28 08:31:52 +00:00
Guido van Rossum 9274e2d0e9 Improved guesswork by Tim for continuations where the open bracket
is the last thing on the line.
1994-04-26 07:35:17 +00:00
Guido van Rossum 0ec5c5dcad Improvements from Tim after some complaints... 1994-04-25 08:12:43 +00:00
Guido van Rossum e531e4b042 Tim Peters' version of the indentation changes (and more). 1994-04-16 08:29:27 +00:00
Guido van Rossum 26d86dba2f Added some names 1994-04-14 13:02:53 +00:00
Guido van Rossum 6441c7a4b8 Initial revision 1994-04-14 13:02:35 +00:00
Guido van Rossum 617536e6cf Added news 1994-04-14 13:01:54 +00:00
Guido van Rossum 0d471619a3 Fix by Sjoerd so nested indents also work if the open paren is on a
line containing tabs
1994-04-14 10:37:59 +00:00
Guido van Rossum d3976e20d8 Added Donald Beaudry's change for neater indentation within
parentheses
1994-04-13 19:01:12 +00:00
Guido van Rossum 5333c5d734 Updated for existence of newsgroup and various misc things 1994-04-11 11:06:22 +00:00
Guido van Rossum 9f65ae0093 Fix weird messed up paragraphs 1994-02-23 09:10:27 +00:00
Guido van Rossum 91f6083cc7 At the release of 1.0.1 1994-02-15 15:52:27 +00:00
Guido van Rossum 2434999740 Released version 1.4; out after 1.0.0 is released... 1994-02-02 14:12:45 +00:00
Guido van Rossum 5125908d2b Amrit Prem 1994-01-26 18:20:06 +00:00
Guido van Rossum 99bf250819 Add hier module names to future plans 1994-01-26 17:30:41 +00:00
Guido van Rossum a85d053135 Initial revision 1994-01-26 17:24:14 +00:00
Guido van Rossum 95f61a7ef0 Changes for release of 1.0.0 1994-01-26 17:23:37 +00:00
Guido van Rossum 34e5dcacb0 Descripbe new files 1994-01-26 15:39:28 +00:00
Guido van Rossum a7925f18de Initial revision 1994-01-26 10:20:16 +00:00