Commit graph

73 commits

Author SHA1 Message Date
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
e7f767c25e Replace `iff' in doc-strings and comments. 2007-08-08 07:34:30 +00:00
Vinicius Jose Latorre
47968e06da Fix infinite loop in python.el 2007-08-01 00:47:25 +00:00
Miles Bader
2f12b71311 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 75-83)

   - Update from CVS
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Indicate that emacs--devo--0--patch-834 does not need to be applied
   - Merge from gnus--rel--5.10
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * gnus--rel--5.10  (patch 239-241)

   - Merge from emacs--devo--0
   - Update from CVS

2007-07-29  Kimit Yada  <kimitto@gmail.com>  (tiny change)

   * lisp/emacs-lisp/copyright.el (copyright-update-year, copyright-update)
   (copyright-fix-years, copyright): Correctly handle the case where
   copyright-limit is nil.

2007-07-28  Konstantin Novitsky  <knovitsk@Bear.com>  (tiny change)

   * lisp/progmodes/python.el (run-python): Fix path separator under w32.

2007-07-24  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-msg.el (gnus-summary-supersede-article)
   (gnus-summary-resend-message-edit): Add Gcc header.
   (gnus-summary-resend-bounced-mail): Ditto; search whole body for parent
   article's Message-ID; refer parent article in summary buffer.

   * lisp/gnus/message.el (message-bounce): Call mime-to-mml.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-838
2007-07-31 05:02:54 +00:00
Stefan Monnier
0b3ef4f1e5 (run-python): Fix path separator under w32. 2007-07-28 20:24:19 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
1a484753b2 Switch license to GPLv3 or later. 2007-07-25 04:29:40 +00:00
Stefan Monnier
4f7a582baa (python-which-func-length-limit): New var.
(python-which-func): New function.
(python-current-defun): Add optional `length-limit' and try to fit
computed function name to that length.
(python-mode): Hook `python-which-func' up.
2007-07-12 04:36:48 +00:00
Juanma Barranquero
36754e8e79 (python-complete-symbol): Remove redundant check. 2007-06-14 00:11:40 +00:00
Stefan Monnier
52319b0e59 (python-font-lock-keywords, python-open-block-statement-p, python-mode):
Add support for the new "with" keyword.
2007-05-10 17:39:27 +00:00
Stefan Monnier
0b480dc773 (python-font-lock-keywords, python-open-block-statement-p, python-mode):
Add support for the new "with" keyword.
2007-05-09 16:56:20 +00:00
Stefan Monnier
0f21ecf3c5 (python-end-of-block): Revert last change.
(python-end-of-statement): Make sure we move *forward*.
2007-05-09 16:53:13 +00:00
Stefan Monnier
11c4b29d3a (python-guess-indent): Check non-nullness before comparing indent against
the 2..8 interval.
2007-05-08 01:35:26 +00:00
Glenn Morris
66b08d69be Restore file pending consideration of legal issues. 2007-04-26 19:43:05 +00:00
Chong Yidong
9b71a937c3 Remove python.el due to unclear legal issues. 2007-04-24 01:52:53 +00:00
Chong Yidong
003586aae6 (python-end-of-block): Avoid looping forever if python-next-statement
fails.
2007-04-16 18:55:29 +00:00
Stefan Monnier
070f60e096 (python-mode): Skip comments when parsing. 2007-03-28 01:21:47 +00:00
Juanma Barranquero
e2411870e6 (python-default-template): Doc fix.
(python-buffer): Fix typo in docstring.
2007-03-19 15:37:15 +00:00
Stefan Monnier
86a3e45eea (python-send-command): Restart proc if necessary.
(python-proc): Simplify.
2007-03-05 19:57:03 +00:00
Stefan Monnier
fc553234b5 (python-quote-syntax): Don't bother with syntax-ppss-context.
(python-fill-paragraph): Make sure that fenced-string delimiters that
stand on their own line stay there
2007-03-01 15:07:45 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
a8d5f40f49 (python-indent): Add safe-local-variable prop. 2006-12-04 00:33:19 +00:00
Stefan Monnier
71884b8d18 (inferior-python-mode-syntax-table): New var.
(inferior-python-mode): Use it.
2006-11-14 15:34:15 +00:00
John Wiegley
7a338befad 2006-10-22 John Wiegley <johnw@newartisans.com>
* progmodes/python.el (python-use-skeletons): python-mode was
	auto-inserting templates (for those with abbrev-mode on), not only
	by default -- *but without a configuration variable to disable
	it*.  This rendered python-mode completely useless for me, so I
	have added `python-use-skeletons', which is now off by default.
2006-10-22 20:39:36 +00:00
Richard M. Stallman
be8b7dbd64 (python-preoutput-filter): Fix arg order to string-match. 2006-09-16 17:56:17 +00:00
Stefan Monnier
0b01facaa2 (python-font-lock-keywords): Add `self' and other quasi-keywords. 2006-09-09 19:48:36 +00:00
Stefan Monnier
d8ca7d3475 Quieten the compiler about hippie-expand vars.
(python-send-string): Be slightly more careful about adding \n.
2006-09-09 19:42:35 +00:00
Stefan Monnier
132579d3e8 (python-eldoc-function): Re-enable quit while waiting for process. 2006-08-30 21:10:10 +00:00
Stefan Monnier
e2ac11eba7 (python-send-command): Simplify.
(run-python): Don't generate a new buffer unless `new' was specified.
Make sure we send `import emacs' to the proper process.
2006-08-28 21:58:27 +00:00
Stefan Monnier
6cc91c85a0 (python-send-command): Don't wait for the command
to terminate.  Don't fiddle with compilation-parsing-end.
2006-08-28 21:13:34 +00:00
Stefan Monnier
426348643a (python-send-receive): Wait in the process's buffer so as to check the right
buffer-local variables.
2006-08-26 14:39:16 +00:00
Stefan Monnier
1c1095bfeb (python-preoutput-skip-next-prompt): New var.
(python-preoutput-continuation): Remove.
(python-preoutput-filter): Simplify correspondingly.
Remove handling of _emacs_ok.  Make sure we skip _emacs_out's prompts.
Loop around to catch embedded _emacs_out output.
(run-python): Send the import&print command on a single line.
(python-send-command): Send command&print on a single line.
(python-send-string): Only add double \n if needed.
(python-send-receive): Loop until the result comes.
(python-mode-running): Defvar it.
(python-setup-brm): Remove unused var `menu'.
Only bind py-mode-map and `features' around brm-init.
(python-calculate-indentation): Remove unused var `point'.
(python-beginning-of-defun): Remove unused var `def-line'.
2006-08-25 22:49:14 +00:00
Stefan Monnier
65a16bef23 Remove * in defcustom docstrings.
(run-python, python-proc, python-try-complete): Use derived-mode-p.
(python-mode): Set tab-width and indent-tabs-mode.
2006-08-20 18:14:50 +00:00
Stefan Monnier
c7e8d385a2 Update to Dave Love's latest version.
(python-font-lock-keywords, python-mode): Don't use
font-lock-syntax-table, but match symbol elements explicitly instead.
(python-mode-map): Add help, and a few more key bindings.
(python-skip-comments/blanks): Move out of comments as well.
(python-continuation-line-p): Behave better with unbalanced parens.
(python-blank-line-p): New fun.
(python-open-block-statement-p): Don't use a heuristic.
(python-outdent-p): Better handle blocks-in-the-same-line.
(python-calculate-indentation): Misc improvements.
(python-comment-indent): Remove.
(python-block-pairs): New var.
(python-first-word): New fun.
(python-indentation-levels): Handle more common cases.
(python-indent-line-1): Add `leave' argument.
(python-indent-region): New fun.
(python-skip-out): New fun.
(python-beginning-of-statement, python-end-of-statement): Use it.
(python-next-statement): Return correct count even at eob.
(python-end-of-block): Fix paren-typo.
(python-imenu-create-index): Add module variables.
(run-python): Add `new' arg.  Check we're at a prompt before returning.
(python-send-command): Move to end of buffer.  Wait for prompt to return.
(python-set-proc): New fun.
(python-imports): New var.
(python-describe-symbol): Use it.  Adjust to new interface of `ehelp'.
(python-eldoc-function): Try to move out of arg list.
(python-outline-level): Offset by 1.
(python-find-imports): New fun.
(python-symbol-completions): Use python-imports.
(python-module-path, ffap-alist): Add support for ffap.
(python-skeletons, python-mode-abbrev-table, def-python-skeleton)
(pythin-insert-*, python-default-template, python-expand-template):
Add templates/skeletons.
(python-setup-brm): Support for Bicycle Repair Man.
(python-abbrev-syntax-table): New var.
(python-abbrev-pc-hook, python-pea-hook): New funs.
2006-08-20 17:55:16 +00:00
Stefan Monnier
45e46cb773 (python-continuation-line-p, python-beginning-of-statement):
syntax-ppss may return a negative depth.
2006-04-26 05:26:39 +00:00
Dan Nicolaescu
0fea1d1029 (python-mode): Fix typo. 2006-04-19 06:37:31 +00:00
Dan Nicolaescu
3398a4aee7 (python-mode): Add support for
hs-minor-mode.
2006-04-18 22:34:54 +00:00
Nick Roberts
d91362c9e0 Update copyright for 2006. 2006-02-10 09:00:31 +00:00
Eli Zaretskii
13b0ddbd62 (python-mode) <eldoc-mode-hook>: Pass nil as the first arg to run-python. 2006-01-21 11:48:25 +00:00
Masatake YAMATO
283780dc88 Install to the CVS repository what I forgot to install in my
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.
2005-10-18 04:31:16 +00:00
Eli Zaretskii
ee6e99e0f0 (python-describe-symbol): Add globals() and locals() to the arguments
of emacs.ehelp.
2005-09-24 10:58:16 +00:00
Romain Francoise
a24c45d2bd * progmodes/compile.el (compilation-start): Add autoload cookie.
* progmodes/antlr-mode.el: Don't autoload `compilation-start'.
* textmodes/sgml-mode.el: Likewise.
* progmodes/python.el: Likewise.
2005-08-27 14:38:22 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
419557b9e7 (python): Finish `defgroup' description with period.
(inferior-python-mode): "?\ " -> "?\s".
2005-07-04 03:20:48 +00:00
Stefan Monnier
533438b139 (python-check): Require `compile' before modifying its variables. 2005-06-29 06:58:42 +00:00
Richard M. Stallman
8f348211f9 (python-mode): Use new name eldoc-documentation-function. 2005-04-26 11:01:52 +00:00
Stefan Monnier
9f3f6a1854 (python-preoutput-filter): Fix last change. 2005-03-29 14:12:23 +00:00
Stefan Monnier
12566797d3 (python-preoutput-leftover): New var.
(python-preoutput-filter): Use it.
(python-send-receive): Loop until all the result has been received.
2005-03-28 14:36:25 +00:00
Stefan Monnier
95c9ef20be (python-close-block-statement-p)
(python-outdent-p, python-current-defun): Use symbol-end.
2005-03-25 14:36:08 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00