aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (python-continuation-line-p, python-beginning-of-statement):Stefan Monnier2006-04-261-5/+7
| | | | syntax-ppss may return a negative depth.
* (python-mode): Fix typo.Dan Nicolaescu2006-04-191-1/+1
|
* (python-mode): Add support forDan Nicolaescu2006-04-181-0/+8
| | | | hs-minor-mode.
* Update copyright for 2006.Nick Roberts2006-02-101-1/+1
|
* (python-mode) <eldoc-mode-hook>: Pass nil as the first arg to run-python.Eli Zaretskii2006-01-211-1/+1
|
* Install to the CVS repository what I forgot to install in myMasatake YAMATO2005-10-181-1/+1
| | | | | | | | | 2005-10-16 changes. * progmodes/python.el (python-complete-symbol): Pass the common prefix substring of completion to `display-completion-list'. * textmodes/org.el (org-complete): Ditto.
* (python-describe-symbol): Add globals() and locals() to the argumentsEli Zaretskii2005-09-241-3/+3
| | | | of emacs.ehelp.
* * progmodes/compile.el (compilation-start): Add autoload cookie.Romain Francoise2005-08-271-1/+0
| | | | | | * progmodes/antlr-mode.el: Don't autoload `compilation-start'. * textmodes/sgml-mode.el: Likewise. * progmodes/python.el: Likewise.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (python): Finish `defgroup' description with period.Juanma Barranquero2005-07-041-2/+2
| | | | (inferior-python-mode): "?\ " -> "?\s".
* (python-check): Require `compile' before modifying its variables.Stefan Monnier2005-06-291-0/+1
|
* (python-mode): Use new name eldoc-documentation-function.Richard M. Stallman2005-04-261-2/+2
|
* (python-preoutput-filter): Fix last change.Stefan Monnier2005-03-291-2/+2
|
* (python-preoutput-leftover): New var.Stefan Monnier2005-03-281-15/+29
| | | | | (python-preoutput-filter): Use it. (python-send-receive): Loop until all the result has been received.
* (python-close-block-statement-p)Stefan Monnier2005-03-251-10/+11
| | | | (python-outdent-p, python-current-defun): Use symbol-end.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-1/+1
| | | | Change development version from 21.3.50 to 22.0.50.
* (python-mode): Use mode-require-final-newline.Richard M. Stallman2004-12-311-1/+1
|
* (python-font-lock-syntactic-keywords): Fix previous change.Richard M. Stallman2004-12-031-1/+1
|
* (python-font-lock-syntactic-keywords): Check for escapes in the regexp.Richard M. Stallman2004-11-251-25/+26
| | | | (python-quote-syntax): Don't do it here.
* (run-python): Don't hard code *Python*. Don't modify process-environment.Stefan Monnier2004-11-221-29/+21
| | | | | | (python-send-region, python-load-file): Don't assume that python-buffer == (process-buffer (python-proc)). (python-switch-to-python): Simplify.
* Don't alter debug-ignored-errors.Richard M. Stallman2004-11-201-2/+0
|
* (python-switch-to-python): If Python isn't running, start it.Richard M. Stallman2004-11-201-3/+7
|
* (python-beginning-of-statement): Exit the loop if backward-up-list gets error.Richard M. Stallman2004-07-021-10/+11
|
* (python-open-block-statement-p): FixEli Zaretskii2004-06-121-1/+2
| | | | indentation after a block opening that contains a comment.
* (help-buffer): Autoload when compiling.Stefan Monnier2004-05-101-6/+9
| | | | | (python-after-info-look): Don't assume Info-goto-node returns non-nil. (run-python): Prepend to any existing PYTHONPATH.
* (inferior-python-mode-map): Remove erroneous C-c C-z binding.Stefan Monnier2004-05-101-3/+1
|
* (python-describe-symbol): Pass INTERACTIVE-P argument to `help-setup-xref'.Juanma Barranquero2004-05-081-2/+2
|
* Changes largely merged in from Dave Love's code. Doc fixes.Stefan Monnier2004-05-061-129/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (python-mode-map): Add python-complete-symbol. (python-comment-line-p, python-beginning-of-string): Use syntax-ppss. (python-comment-indent, python-complete-symbol) (python-symbol-completions, python-partial-symbol) (python-try-complete): New. (python-indent-line): Remove optional arg. Use python-block-end-p. (python-check): Bind compilation-error-regexp-alist. (inferior-python-mode): Use rx. Move keybindings to top level. Set comint-input-filter. (python-preoutput-filter): Use rx. (python-input-filter): Re-introduce. (python-proc): Start new process if necessary. Check python-buffer non-nil. (view-return-to-alist): Defvar. (python-send-receive): New. (python-eldoc-function): Use it. (python-mode-running): Don't defvar. (python-mode): Set comment-indent-function. Maybe update hippie-expand-try-functions-list. (python-indentation-levels): Initialize differently. (python-block-end-p): New. (python-indent-line): Use it. (python-compilation-regexp-alist): Augment. (run-python): Import `emacs' module to Python rather than loading code directly. Set python-buffer differently. (python-send-region): Use emacs.eexecfile. Fix orig-start calculation. Use python-proc. (python-send-command): Go to end of comint buffer. (python-load-file): Use python-proc, emacs.eimport. (python-describe-symbol): Simplify interactive form. Use emacs.help. Do use temp-buffer-show-hook. Call print-help-return-message. (hippie-exp): Require when compiling. (python-preoutput-continuation): Use rx.
* (python-compilation-line-number): Remove.Stefan Monnier2004-05-011-35/+7
| | | | | | | (python-compilation-regexp-alist): Don't use it any more. (python-orig-start, python-input-filter): Remove. (inferior-python-mode): Don't set up comint-input-filter-functions. (python-send-region): Use compilation-fake-loc.
* (python-send-command): New fun.Stefan Monnier2004-04-291-24/+21
| | | | (python-send-region, python-load-file): Use it.
* (python-maybe-jython): Don't assume point-min==1.Stefan Monnier2004-04-211-1/+1
|
* (python-compilation-line-number): Fix braindamage.Stefan Monnier2004-04-161-7/+12
| | | | (python-load-file): Fix python-orig-start setting.
* (python-after-info-look): Use with-no-warnings.Stefan Monnier2004-04-161-35/+44
|
* (python-orig-start-line, python-orig-file): Remove.Stefan Monnier2004-04-141-31/+25
| | | | | | (python-orig-start): New var. (python-input-filter, python-compilation-line-number) (python-send-region, python-load-file): Use it.
* (run-python): Fix use of \n.Stefan Monnier2004-04-141-7/+5
| | | | | (python-load-file): Remove `try' from Python fragment. (python-describe-symbol): Fix message.
* (python-mouse-2-command, python-RET-command): Remove unused functions.Stefan Monnier2004-04-141-27/+0
|
* Doc fixes. Changes for compiler warnings.Stefan Monnier2004-04-131-197/+361
| | | | | | | | | | | | | | | | | | | | | | | | (syntax): Don't require. (python) <defgroup>: Add :version. (python-quote-syntax): Re-written. (inferior-python-mode): Move stuff here from run-python and add some more. (python-preoutput-continuation, python-preoutput-result) (python-dotty-syntax-table): New. (python-describe-symbol): Use them. (run-python): Move stuff to inferior-python-mode. Modify code loaded into Python. (python-send-region): Use python-proc, python-send-string. (python-send-string): Send newlines too. Callers changed. (python-load-file): Re-written. (python-eldoc-function): New. (info-look): Don't require. (python-after-info-look): New. A modified version of former top-level code for use with eval-after-load. (python-maybe-jython, python-guess-indent): Use widened buffer. (python-fill-paragraph): Re-written. (python-mode): Fix outline-regexp. Set outline-heading-end-regexp, eldoc-print-current-symbol-info-function. Add to eldoc-mode-hook.
* (run-python): Use compilation-shell-minor-mode.Stefan Monnier2004-04-131-17/+3
| | | | Set compilation-error-regexp-alist earlier.
* New file.Stefan Monnier2004-04-121-0/+1499