Commit Graph

352 Commits

Author SHA1 Message Date
Guido van Rossum 7b6f3435e4 Added new ftp mirror site ftp://ftp.cdrom.com/pub/python/ (Walnut Creek CDROM). 1997-02-25 23:08:03 +00:00
Barry Warsaw fb07f408b6 (python-font-lock-keywords): Use new convention for installing in mode 1997-02-24 03:37:22 +00:00
Guido van Rossum 01094e4089 Change the question about os.environ changes not working -- it now
works unless you don't have putenv.
1997-02-17 18:40:02 +00:00
Guido van Rossum 8651d27e0a Two changes:
- add awarning about reconfiguring after Slackware96 fix
- add reference to Jim F's ExtensionClass module
1997-02-17 18:27:32 +00:00
Barry Warsaw 941f70c331 (py-mode-map): Comment Out Region / Uncomment Region should use
py-comment-region instead of comment-region.
1997-01-30 20:16:18 +00:00
Barry Warsaw 2ccda502f6 #Updated authorship line 1997-01-30 19:50:39 +00:00
Barry Warsaw f770578225 (py-parse-partial-sexp-works-p): New variable to work around a bug in
parse-partial-sexp in some Emacsen.

(py-goto-beyond-final-line): use py-parse-partial-sexp-works-p.
1997-01-30 19:49:39 +00:00
Barry Warsaw bb779ec4d9 README file for hints on Purify'ing or Quantify'ing the Python
interpreter.  It also mentions the soon to be checked in pure module.
1997-01-16 23:55:38 +00:00
Barry Warsaw fca8371e1f (python-cc-style): Added definitions for c-hanging-braces-alist which
make the most sense for PyMethodDef structures.  [one small fix]
1996-12-20 16:43:32 +00:00
Barry Warsaw 7607e8f4fb (python-cc-style): Added definitions for c-hanging-braces-alist which
make the most sense for PyMethodDef structures.
1996-12-20 16:42:04 +00:00
Barry Warsaw b05399373c (py-delete-function): new variable
(py-delete-char): funcall py-delete-function.
1996-12-17 22:05:07 +00:00
Barry Warsaw 5c8bef1888 (python-mode): added comment-end definitions. 1996-12-17 21:56:10 +00:00
Barry Warsaw eb14d61e28 (python-cc-style): typo "c-offset-alist" => "c-offsets-alist" 1996-12-12 22:57:05 +00:00
Barry Warsaw 1d75734608 Added a provide so the corresponding require will succeed. 1996-12-10 16:29:21 +00:00
Barry Warsaw 5632ce033f (python-cc-style): Although open braces for substatements typically
hang on the right side, if they are on a separate line, indent them
under the keyword.
1996-12-09 23:01:30 +00:00
Barry Warsaw 8c0710fdd3 (python-cc-style): Oops, we decided to use TABs for 8 spaces where
possible.
1996-12-09 22:07:22 +00:00
Barry Warsaw 0b32459004 C coding standard for Python C files.
Currently fairly minimal, but I'll be adding to this as needed.  I
think it's pretty darn close.

To use this, just load the file and in a C buffer type:

M-x c-set-style RET python RET

[there are ways to automate much of this!]
1996-12-09 21:57:25 +00:00
Guido van Rossum ba469ba9d7 More stale info. 1996-12-05 22:26:17 +00:00
Guido van Rossum 794137903f New URL for Swiss ftp mirror. 1996-12-05 22:01:11 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum bec74843de Added note about "boot" implying "clobber".
Added definition TARGET=python for more flexibility.
1996-11-27 19:38:53 +00:00
Guido van Rossum 47427674f6 Corrected *noconfig* to be *shared*; added cc: vlad back. 1996-11-27 19:38:00 +00:00
Guido van Rossum 4662b87604 monty -> grail in Grail URL. 1996-11-27 15:24:34 +00:00
Guido van Rossum c59120ba17 Added os.remove()/unlink(), rmdir(), rename(), and [f]truncate(). 1996-11-14 14:10:11 +00:00
Guido van Rossum caa83c4b9e Added Q. about enabling *shared* on Linux. 1996-11-13 15:06:24 +00:00
Guido van Rossum 7d42d95bd7 Fix syntax of commented-out variables 1996-11-06 16:39:12 +00:00
Barry Warsaw 3622e0d090 (match-string): Added a definition for older Emacsen. 1996-10-29 15:32:57 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 7704bb7f32 Added last-minute changes. 1996-10-25 14:21:55 +00:00
Guido van Rossum 130575dc80 CNRI additions, approved by the boss and his wife :-) 1996-10-25 13:45:43 +00:00
Guido van Rossum b0259bc3ad Add SHELL=/bin/sh definition, to override SGI make's default to $SHELL. 1996-10-24 21:47:45 +00:00
Guido van Rossum a83f3b82b9 Barry's latest (2.83). He likes this version particularly because
83 is a prime number.
1996-10-23 20:55:00 +00:00
Guido van Rossum 9e0e4dd7b2 Added answer by Greg Stein about threads on Linux. 1996-10-23 20:52:55 +00:00
Barry Warsaw 7cb505c89b (py-indent-line): take an optional universal argument which says to
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.
1996-10-23 20:44:59 +00:00
Guido van Rossum bed266ab89 New version for 1.4 from Manus. 1996-10-22 22:08:02 +00:00
Guido van Rossum a4e41a805a Added question about error from misuse of mangled names. 1996-10-22 03:00:43 +00:00
Guido van Rossum 02afd080ec Added all current changes. 1996-10-22 02:16:19 +00:00
Guido van Rossum 9c5dc29c3d Added item about bug in Slackware96 libdl. 1996-10-13 15:48:56 +00:00
Guido van Rossum 43e6661d25 Add a dependency on clobber to the boot target. Now, if you run "make
-f Makefile.pre.in boot", all traces of previous runs are removed.
1996-10-10 19:12:47 +00:00
Guido van Rossum f17fa685aa Nils Fischbeck, Tim Hochberg, Terry Reedy, Ka-Ping Yee 1996-10-08 17:22:00 +00:00
Guido van Rossum 434882e6e9 Added 'static' target; add variable TARGET replacing python 1996-10-08 17:21:11 +00:00
Guido van Rossum 8a91302cf1 Toss Q 3.10 on posix.listdir on NeXT. Add revived vpApp. 1996-10-08 17:18:30 +00:00
Guido van Rossum 098331529b Toss the outdated QuickRef. 1996-10-08 17:16:02 +00:00
Barry Warsaw 7a73ef852f (py-process-filter): Make sure current-buffer is restored, even in the
event of error.  Can't use new Emacs primitive save-current-buffer, so
use unwind-protect instead.
1996-09-30 23:00:40 +00:00
Guido van Rossum dc082eba02 Added editline fix 1996-09-12 17:29:33 +00:00
Guido van Rossum c458e945a4 Rewrite sections on GUI and DOS/Windows, various other small edits,
added 1996 copyright, $Revision$.
1996-09-11 15:43:13 +00:00
Guido van Rossum 946cf890d4 Improvement suggested by Sjoerd: use $(MAKE)
in boot target and use $(srcdir)/Makefile.pre.in
1996-09-11 12:15:07 +00:00
Guido van Rossum 1631cbe03a Added Makefile.pre.in, my generic makefile 1996-09-10 18:19:23 +00:00
Guido van Rossum 694f7010ed Rewritten by Ka-Ping Yee. 1996-09-10 17:59:15 +00:00
Guido van Rossum 8727df4623 Removed some obsolete questions and references to version 1.2.
Added some cross refs about broken lambda and broken recursion of
nested functions.
1996-09-09 15:16:39 +00:00
Guido van Rossum c8adefef70 PS: use -O2, not -O3 1996-09-06 23:31:18 +00:00
Guido van Rossum 8130054c81 New email and zip code for Guido 1996-09-06 16:37:56 +00:00
Guido van Rossum 566b35f1c3 NEXT shared libs instructions 1996-09-06 16:13:30 +00:00
Barry Warsaw 2e049b2b05 (python-font-lock-keywords): with Python 1.4 `access' is no a keyword 1996-09-04 15:21:55 +00:00
Barry Warsaw b3e81d58aa I have been increasingly annoyed about the fact that
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>
1996-09-04 15:12:42 +00:00
Barry Warsaw 01af401e27 #stylistics 1996-09-04 14:57:22 +00:00
Barry Warsaw 550a02e6ae (python-mode): typos 1996-09-04 14:23:00 +00:00
Barry Warsaw 615d4a458f (python-mode): font-lock-defaults must be make-local-variable'd 1996-09-04 14:14:10 +00:00
Barry Warsaw 604cefa8df (py-dump-help-string): Use documentation-property to get docstring. 1996-09-03 18:17:04 +00:00
Barry Warsaw b1f895150a (python-mode): font-lock-defaults necessary for Emacs 19, but doesn't
hurt for XEmacs.
1996-09-03 16:38:30 +00:00
Barry Warsaw c72ad871ba #py-shell gets an autoload cookie 1996-09-03 16:16:04 +00:00
Guido van Rossum 62cf605a04 New version submitted by Jim Fulton. 1996-08-28 19:29:44 +00:00
Guido van Rossum 7629bbc73c Fix paths to match python1.4 installation.
(Forgot LIBP)
1996-08-28 14:28:51 +00:00
Guido van Rossum be725fdddb Fix paths to match python1.4 installation. 1996-08-28 14:27:24 +00:00
Guido van Rossum 52a42fe9e7 Remove the entry for private variables (it's supposed to be a surprise!) 1996-08-26 18:23:19 +00:00
Guido van Rossum 5f9aa9e1f0 Some final changes. I'll give up on nicely reformatting and
structuring it, for now.
1996-08-26 18:22:44 +00:00
Guido van Rossum 4a67a16d8f Added all changes in beta1 and beta3.
Still very rough (needs reordering etc.).
1996-08-26 02:40:59 +00:00
Guido van Rossum 3a1fbb4c70 Added Vlad. 1996-08-20 20:56:19 +00:00
Guido van Rossum e8c0a15697 New generic makefile by Jim F; drop pyimenu.el 1996-08-20 20:54:59 +00:00
Guido van Rossum b4d37791c1 Minor updates. 1996-08-20 20:54:15 +00:00
Guido van Rossum 5c8e256678 typo 1996-08-20 20:53:04 +00:00
Guido van Rossum 880d1eee95 Barry's 2.73 1996-08-20 20:07:34 +00:00
Guido van Rossum 6ba1120767 Barry's 2.72 1996-08-20 19:57:53 +00:00
Barry Warsaw 261f87dac1 *** empty log message *** 1996-08-20 19:57:34 +00:00
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