Commit graph

85 commits

Author SHA1 Message Date
Glenn Morris
5cec305694 Remove directory part from filenames in function declarations. 2007-12-06 04:09:57 +00:00
Glenn Morris
981ed8df13 (compilation-shell-minor-mode): Declare as a function. 2007-12-05 03:32:55 +00:00
Glenn Morris
2650c1dbf9 (top-level): Don't require cl when compiling. 2007-12-02 20:04:11 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Dan Nicolaescu
6d00e226c3 * progmodes/python.el (info-lookup-maybe-add-help):
* progmodes/ps-mode.el (doc-view-minor-mode):
* mail/emacsbug.el (Info-menu, Info-goto-node):
* emulation/viper-keym.el (viper-ex)
(viper-normalize-minor-mode-map-alist, viper-set-mode-vars-for):
* emulation/viper-cmd.el (widget-type, widget-button-press)
(viper-set-hooks):
* emacs-lisp/tcover-unsafep.el (unsafep-function):
* emacs-lisp/tcover-ses.el (ses-set-curcell, ses-update-cells)
(ses-load, ses-vector-delete, ses-create-header-string)
(ses-read-cell, ses-read-symbol, ses-command-hook, ses-jump):
* emacs-lisp/gulp.el (mail-subject, mail-send): Declare as
functions.

* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
(url-generate-unique-filename): Declare as functions.
2007-11-20 07:56:02 +00:00
Stefan Monnier
c01b997152 (python-mode-abbrev-table): Use :regexp.
Merge defvar and define-abbrev-table.
(def-python-skeleton): Use :case-fixed and :enable-function.
(python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook): Remove.
(python-mode): Don't modify pre-abbrev-expand-hook.
2007-10-31 20:00:36 +00:00
Stefan Monnier
d720f96e93 (python-current-defun): Remove left-over assignment to `start'. 2007-10-23 21:27:20 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Juanma Barranquero
d56f40cb55 (python-eldoc-function): Doc fix. 2007-09-27 21:23:43 +00:00
Juanma Barranquero
2092ac41d6 (python-eldoc-function): Doc fix. 2007-09-27 11:55:06 +00:00
Glenn Morris
f4ff3e5cc0 Adam Hupp <adam at hupp.org>
(run-python): Import emacs module without waiting; prevents lockup on
error.
2007-09-24 00:12:25 +00:00
Stefan Monnier
308114ef9f Merge changes from Dave Love's v2007-Sep-10.
(python-font-lock-keywords): Update to the 2.5 version of the language.
(python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
(python-backspace): Only behave funny in code.
(python-compilation-regexp-alist): Add PDB stack trace regexp.
(inferior-python-mode): Add PDB prompt regexp.
(python-fill-paragraph): Refine the fenced-string regexp.
(python-find-imports): Handle imports spanning several lines.
(python-mode): Add `class' to hideshow support.
2007-09-10 20:02:31 +00:00
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