summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* #(py-emacs-features): Fixed typo in docstring.Barry Warsaw1997-11-061-2/+2
|
* (python-font-lock-keywords): Pick up block introducing keywords withBarry Warsaw1997-11-061-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | immediately following colons. Sjoerd noticed this one too. Here's a nonsense.py file that flexes all the font-lock keyword combinations. class A: class B(A): pass def __init__(self): if i == 2 and j == 3 or k == 4: import stuff from otherstuff import cool for i in range(cool.count): if i == j: break elif j == 1: continue print i else: return not i elif q is not i: return lambda x: x + 1 else: try: try: raise stuff.error except stuff.error, v: print v except: global q finally: while q > 0: q = q - 1 assert q == 0 def make(): a = A() exec "nonsense" del a
* (python-font-lock-keywords): Fix for consecutive keyword font locking,Barry Warsaw1997-11-051-6/+2
| | | | given by Sjoerd Mullender <Sjoerd.Mullender@cwi.nl>.
* (py-emacs-features): Test for working make-temp-name, which is brokenBarry Warsaw1997-11-051-10/+20
| | | | | | | | | | | on NTEmacs 19.34.6. (py-serial-number): New variable. (py-execute-region): If make-temp-name is broken, simply append a serial number to the string "python-" to get a temporary file name. It's possible concurrent NTEmacs can step on each others toes, but it makes no sense to further coddle a busted NTEmacs.
* A nice blurb that Mark Hammond wrote, aimed at Windows users.Guido van Rossum1997-11-051-0/+81
|
* (py-execute-region): Fixed small bug with queuing file for executionBarry Warsaw1997-11-051-2/+1
| | | | in a py-shell. Temp files now get cleaned up.
* (mark-python-def-or-class): Renamed to py-mark-def-or-class globally.Barry Warsaw1997-11-051-11/+13
| | | | | | | (py-mode-map): Moved py-mark-def-or-class from M-C-h to C-c C-m since the old binding conflicts with the standard global backward-kill-word binding, and this new binding is more conformant with other language modes. Moved py-mark-block to C-c C-k.
* (py-backspace-function): New variable.Barry Warsaw1997-11-041-60/+101
| | | | | | | | | | | (py-electric-backspace, py-electric-delete): Support the XEmacs 20 Way for backspace and delete mappings. In XEmacs 19, Emacs 19, and Emacs 20, both backspace and delete keysyms are bound to py-electric-backspace. In XEmacs 20, backspace and delete keysyms are bound separately, allowing the user to specify forward or backward deletion of the delete keysym through the variable delete-key-deletes-forward. All this is the Right Way To Do It and this implementation was largely ripped from CC Mode.
* First round of changes, mostly subprocess stuff.Barry Warsaw1997-11-041-138/+129
| | | | | | | | | | | | | | | | | | | | | | (py-execute-file): Better interaction with comint. Set comint-scroll-to-bottom-on-output to t. Wrapper buffer change in unwind-protect in case process filter fails. (py-shell): Start Python with -i flag to fix tty problem on Windows; presumably -- not yet tested. (py-clear-queue): New function to clear the pending exec file queue. Not currently keybound. (py-execute-region, py-execute-buffer): Added optional async flag (use via C-u prefix) to execute the region in a new asynchrous buffer, even if the Python shell is running. (py-append-to-process-buffer): Removed as obsolete. Comint provides this functionality. Removed fbound test defun of match-string. All modern X/Emacsen have this function.
* Doing the most complicated CVS dance I've ever seen. Barry has hadGuido van Rossum1997-11-031-2442/+0
| | | | | | | | | | his *own* RCS file for python-mode.el, and I've agreed that it would be better if his version was in the Python source tree. However I don't want to totally get rid of the old RCS file (which has interesting info such as which version was in which Python release). So I've moved the old one to python-mode-old.el behind the scenes, and this checkin message indicates that I'm now deleting it. If you do an update, you will actually get Barry's *new* version!
* Changes in preparation for integrating into the Python CVS tree.Barry Warsaw1997-11-031-70/+59
| | | | | | | | | | | | | | | | | | | | | | | Introductory comment updates. (python-font-lock-keywords): Added "assert" (py-block-closing-keywords-re): New variable. (py-no-outdent-re): Rewrite to use py-block-closing-keywords-re. (py-shell): py-process-filter should no longer be necessary. Comint should do all the work. Note that more fixes to the py-shell process mechanism need to be done. (py-execute-region): Check for empty region. Some questionable changes to set-buffer after shell-command-on-region. Again, this all needs to be closely examined for X/Emacs 19/20 compatibility. (py-goto-beyond-final-line): py-parse-partial-sexp-works-p should no longer be necessary. (py-statement-closes-block-p): Use py-block-closing-keywords-re.
* Final touch -- Don's SGI_ABI patches.Guido van Rossum1997-10-091-0/+4
|
* Don Beaudry's changes to support SGI_ABI on Irix 6.x.Guido van Rossum1997-10-091-0/+6
|
* Typo in description of news in errno; added setlocale() call.Guido van Rossum1997-10-081-1/+4
|
* A few last-minute additions and some rearrangements and corrections.Guido van Rossum1997-10-071-13/+16
| | | | What's "xlib"? I took the line that mentioned it out.
* Updated for Python 1.5, including my experiences with Purify onBarry Warsaw1997-10-071-22/+31
| | | | | Solaris 2.6 and with a threaded interpreter. I also included my name and email address.
* Whole bunch of additions...Guido van Rossum1997-10-071-1/+23
|
* Completed the changes between 1.5a3 and now. Not yet sorted though.Guido van Rossum1997-10-071-9/+273
|
* Done with adding changes from 1.4 till 1.5a3.Guido van Rossum1997-10-061-76/+321
|
* The directory containing config.h has changed.Guido van Rossum1997-10-051-1/+2
|
* install: New target that installs shared modules inFred Drake1997-10-041-0/+17
| | | | $exec_prefix/lib/python$VERSION/site-packages by default.
* Brought up to date with new options and env vars.Guido van Rossum1997-09-081-7/+44
|
* (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.
* Complete log of changes since 1.5a3 at the end.Guido van Rossum1997-08-281-13/+143
|
* I'm tired -- checking in more news items. This isn't complete; I'mGuido van Rossum1997-08-181-106/+229
| | | | about halfways.
* Removed ancient FAQ from distributionGuido van Rossum1997-08-182-2273/+1
|
* Another checkpoint -- reorganized, in sections.Guido van Rossum1997-08-151-427/+466
|
* .Guido van Rossum1997-08-151-0/+1
|
* Checkpoint checkin of list of changes. Much more to follow, but it'sGuido van Rossum1997-08-151-0/+618
| | | | late...
* #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
|
* New version of Vladimir Marangozov's AIX hacks -- simpler etc.Guido van Rossum1997-08-061-25/+11
|
* Adapted to the new build system.Guido van Rossum1997-07-191-23/+10
|
* Remove -s option and $PYTHONSUPPRESS environment variable.Guido van Rossum1997-07-191-11/+0
|
* Emptied (in expectation of a laundry list of what's new in 1.5).Guido van Rossum1997-07-191-766/+0
|
* Added note about libpython1.5.a.Guido van Rossum1997-07-191-0/+3
|
* Some new names.Guido van Rossum1997-07-191-0/+5
|
* (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.
* Moved the 1.4 NEWS file here (it had to happen someday...).Guido van Rossum1997-05-231-0/+768
|
* Added warning about the optimizer bug on AIX 4.2.1Guido van Rossum1997-05-221-0/+1
|
* Oops, another forgotten renaming: varobject -> PyVarObject.Guido van Rossum1997-05-151-0/+1
|
* New heros.Guido van Rossum1997-05-091-0/+6
|
* Oops -- missed FloatingPointError in renaming.Guido van Rossum1997-05-091-0/+1
|
* Fix old typo PyArgs_VaParse -> PyArg_VaParse.Guido van Rossum1997-05-051-1/+1
|
* Added inittab.Guido van Rossum1997-04-291-0/+1
|
* Remove err_input from rename list -- it is a static inside errors.c.Guido van Rossum1997-04-291-1/+0
|
* Remove renaming instructions for ANY -- this is not renamed inGuido van Rossum1997-04-291-1/+0
| | | | | mymalloc.h. (Since it's a macro, I don't care much. It is used internally only; others can use void *.)
* Oops, added <URL:...> around the URL.Guido van Rossum1997-04-111-1/+1
|
* (Sjoerd:) Incorporate `build number' stuff.Guido van Rossum1997-04-111-2/+8
|