summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* A few minor Customize changes:Barry Warsaw1999-07-281-3/+6
| | | | | | | (python): Set defgroup :prefix to "py-" to make variable names cleaner. (py-jpython-command, py-jpython-command-args): Set :tag for proper capitalization of JPython in variable name display.
* (python-mode): Set which interpreter (CPython or JPython) to use theBarry Warsaw1999-07-281-18/+21
| | | | | | | | | | | | | | | | | first time a py buffer is visited during the Emacs session. This ensures that py-which-shells is initialized and also guarantees that the mode lines reflect the correct shell. First bug found by GvR, second one has long bugged :) me. (py-toggle-shells): Programmatically, arg can also take the symbols `cpython' or `jpython', which makes it easy to call with the value of py-default-interpreter. (py-shell): Don't need to initialize py-which-* variables since these will guarantee to be initialized by python-mode when the first py buffer is visited. (py-default-interpreter): Update docstring.
* (py-beginning-of-def-or-class): Only move to match-beginning if theBarry Warsaw1999-07-271-2/+2
| | | | regex match actually succeeded!
* (py-statement-closes-block-p): py-goto-initial-line could leave us inBarry Warsaw1999-06-031-2/+2
| | | | the line's whitespace. back-to-indentation should /follow/ this call.
* (py-electric-backspace): I'm not sure this function should be specialBarry Warsaw1999-05-241-4/+5
| | | | | | casing when py-honor-comment-indentation is nil, but this could be a religious issue with some. Seems to me we should still be dedenting such comment lines one level.
* (py-parse-state): When running under Emacs -- which doesn't haveBarry Warsaw1999-05-241-1/+7
| | | | | | buffer-syntactic-context -- just short circuit the TQS test by jumping to point-min and doing the test from there. For long files, this will be faster than looping with a re-search-backwards.
* (py-statement-closes-block-p): Add a py-goto-initial-line which fixesBarry Warsaw1999-05-241-0/+1
| | | | | | | | | | | | | | | indentation when the return value is a multiline sexp: def bug(): try: if 2>1: return (11+ 12) else: #XXX return 12 except: return 13
* News for 1.5.2 (final).Guido van Rossum1999-04-131-1/+134
|
* More (Cameron Laird is honorary; the others are 1.5.2c1 testers).Guido van Rossum1999-04-131-0/+4
|
* Bunch of new names who helped iron out the last wrinkles of 1.5.2.Guido van Rossum1999-04-131-0/+5
|
* Correct missed character in Andrew Dalke's name.Guido van Rossum1999-04-101-1/+1
|
* News for the 1.5.2c1 release.Guido van Rossum1999-04-081-0/+944
|
* Removing an unused image of a snake.Guido van Rossum1999-04-071-0/+0
| | | | | | I don't know what its origins are but I think I've seen it once in a NeXT dictionary application -- not sure whether anyone owns copyright but I don't see why we should risk it.
* Bunch of new contributors, including 9 who contributed to the Docs,Guido van Rossum1999-04-051-0/+21
| | | | reported by Fred.
* Typo: "apparentlt" --> "apparently"Fred Drake1999-02-221-1/+1
|
* New in 1.5.2b2.Guido van Rossum1999-02-181-0/+232
|
* Couple of new names.Guido van Rossum1999-02-181-1/+8
|
* (py-shell): Added optional argprompt, which will prompt for additionalBarry Warsaw1999-02-161-12/+30
| | | | switches to pass into the shell process (only on initial startup).
* (py-default-interpreter): New variable which selects whether CPythonBarry Warsaw1999-02-161-2/+32
| | | | | or JPython is the default interpreter to use when `C-c !' is entered for the first time.
* Finn Bock.Guido van Rossum1999-02-161-0/+1
|
* Uwe Zessin.Guido van Rossum1999-02-081-0/+1
|
* The usual.Guido van Rossum1999-01-251-0/+4
|
* (py-mode-map): Add back force of RET (aka C-m) toBarry Warsaw1999-01-211-0/+9
| | | | py-newline-and-indent.
* (py-mode-map): Removed special bindings for C-m and C-j toBarry Warsaw1999-01-191-3/+0
| | | | | | | | | | | py-newline-and-indent. These ought to get picked up by the mapcar that follows; any existing binding to newline-and-indent gets shadowed to py-newline-and-indent. This will break some people who, e.g. bind C-m or C-j to newline but still want these bound to py-newline-and-indent in Python mode. On the other hand, the forced binding pisses off Emacs diehards. So consider this experimental and see if any tall Dutch guys complain :-)
* (py-narrow-to-defun): New command (bound to C-x n d) which mimics theBarry Warsaw1999-01-181-0/+15
| | | | | | standard narrow-to-defun but works with Python classes and methods. With no arg, narrows to most enclosing def/method. With C-u arg, narrows to most enclosing class.
* (py-electric-delete): Implement the XEmacs 21 blessed way of checkingBarry Warsaw1999-01-151-3/+4
| | | | for delete forwardness.
* (py-outdent-p): Short circuit infloop for illegal constructBarry Warsaw1999-01-091-0/+2
| | | | (e.g. except: on first line of buffer).
* Added shlex and netrc modules; added warning about urllib changeGuido van Rossum1998-12-221-0/+10
| | | | affecting subclasses (which Jeremy just found out).
* News for 1.5.2b1. Moved news before 1.5.1 to HISTORY.Guido van Rossum1998-12-211-2255/+258
|
* New names. Keep those contributions coming!Guido van Rossum1998-12-211-1/+10
|
* Moved history up to and including 1.5.1 here.Guido van Rossum1998-12-211-3/+2258
|
* (py-goto-beginning-of-tqs): Finds the beginning of the triple quotedBarry Warsaw1998-12-151-11/+28
| | | | | | | | | | | | | | | | | | | | | | | string we find ourselves in, based on the passed in delimiter. (py-compute-indentation): Fixes for indentation errors when we land inside a triple quoted string. For example: def foo(): if os.path.isfile(o_pri_mbox_file) and os.path.isfile(o_pub_mbox_file): print """\ I found both a private and a public mbox archive file private: %s public : %s I won't move either file, but you should choose one and move it to %s You may want to merge them manually, but be careful about exposing private correspondences to the public.""" % ( o_pri_mbox_file, o_pub_mbox_file, mbox_file) *----indentation would be wrong on this line.
* Sjoerd Mullender writes:Guido van Rossum1998-12-091-1/+1
| | | | | | The example Makefile.pre.in should also look at Setup.thread and Setup.local. Otherwise modules such as thread don't get incorporated in extensions.
* (py-execute-region): Hack around the different behavior and switchBarry Warsaw1998-11-201-14/+21
| | | | | semantics between CPython/JPython when the script source is piped to stdin.
* (py-execute-region): Patch by Hunter Kelly so that execution uses theBarry Warsaw1998-11-171-4/+4
| | | | correct Python shell (CPython or JPython).
* (py-imenu-method-regexp): Fix suggested by Daniel Calvelo toBarry Warsaw1998-10-281-2/+6
| | | | generalize the matching of function arguments.
* #XEmacs 21 now supports Imenu, so I am able to test (and fix) someBarry Warsaw1998-10-281-92/+73
| | | | | | | | | | | | | #simple things. First step: rename the Imenu supportive variables and #functions in this file to py-imenu-* so I can grok what is part of #python-mode and what is part of Imenu. (py-imenu-create-index-engine): Fixed problem with two classes in a single file, caused by new semantics of py-beginning-of-def-or-class when called programmatically. #Note, there are still some problems with Imenu when arguments to #functions are funky, but it should be much better now.
* #Some minor changes in the commentary, obstensibly to test the newBarry Warsaw1998-10-271-8/+9
| | | | #checkin script.
* #Fixed some typos in docstrings.Barry Warsaw1998-10-271-6/+6
|
* All the news that's fit to print. In other words, it's 1.5.2a2 time.Guido van Rossum1998-10-171-3/+270
|
* A few new ones...Guido van Rossum1998-10-021-0/+4
|
* (py-comint-output-filter-function): Horrible kludgearound for makingBarry Warsaw1998-09-251-1/+4
| | | | the de-queing of exec files work for NT XEmacs 21.0.
* (py-guess-indent-offset): Only print message about py-indent-offsetBarry Warsaw1998-09-251-3/+4
| | | | when in an interactive session (suggested by B. Wiener).
* (py-execute-file, py-execute-import-or-reload): Use a Python `raw'Barry Warsaw1998-09-241-2/+2
| | | | | | string in the argument to execfile() so a Windows temp directory named, e.g. c:\\tmp doesn't get interpreted as a file name with an embedded tab! (given by C. Waldman).
* (py-block-comment-prefix): Remove trailing space. Also explain thatBarry Warsaw1998-09-221-4/+5
| | | | | | | | this string should not end with whitespace. (py-compute-indentation): Append whitespace regexp to py-block-comment-prefix so that any combination of intervening whitespace will be recognized.
* #Code rearranging to quiet byte-compilerBarry Warsaw1998-09-141-88/+88
|
* correct bogus instructions 'ccoment out' -> 'uncomment'Jeremy Hylton1998-09-101-1/+1
|
* Fixed the words in the comment and error message about defining FULL_PATH.Guido van Rossum1998-09-101-2/+2
| | | | (It's not SCRIPTPATH!)
* include <string.h> to get prototype for strcmpJeremy Hylton1998-09-101-7/+9
| | | | | | | change error messages to be a little more straightforward change definition of FULL_PATH so that an error is raised if the setuid wrapper is used un-edited
* (py-in-literal): How'd this get through? c-point => py-pointBarry Warsaw1998-08-291-1/+1
|