Chong Yidong
2bcda1d5ac
Merge from Dave Love's 2008-01-20 version.
...
Require sym-comp. Add Python buffer to same-window-buffer-names.
Fixup whitespaces.
(python-font-lock-keywords): Add highlighting for Python builtins.
(python-font-lock-syntactic-keywords): Rewrite.
(python-quote-syntax): Use syntax-ppss-context instead of parsing
ppss directly.
(python-mode-map): Add binding for python-find-function.
(python-calculate-indentation): Clean up the logic.
(python-beginning-of-defun): Explicitly set return value.
(python-beginning-of-statement): Stop looping if we get stuck
going backwards.
(python-next-statement): Stop looping if we somehow end up inside
a string while advancing.
(python-preoutput-continuation, python-version-checked): New vars.
(python-check-version): New function.
(run-python): Set default command to python-command instead of
python-python-command.
(run-python): Use python-check-version. Give PYTHONPATH
precedence over data-directory in the process environment. Load
function definitions in python process after.
(python-check-comint-prompt): New function.
(python-send-command, python-send-receive): Use it.
(python-complete-symbol, python-try-complete): Functions deleted.
Use symbol-complete instead of python-complete-symbol throughout.
(python-fill-paragraph): Further refine the fenced-string regexp.
(def-python-skeleton): Expand to the original abbrev instead if in
a comment or string. Tweak skeletons for `if', `while', `for',
`try/except', `try/finally', `name'.
(python-pea-hook, python-abbrev-pc-hook): New functions.
(python-abbrev-syntax-table): New var.
(python-mode): Add python-pea-hook to pre-abbrev-expand-hook. Use
symbol-completion-try-complete for hippie expansion. Turn on font
lock unconditionally.
(python-mode-hook): Defcustom it. No need to use make-local
variable on indent-tabs-mode in "Turn off Indent Tabs mode"
option, since it's buffer-local.
2008-02-21 17:03:47 +00:00
..
2008-02-21 07:52:22 +00:00
2008-02-16 03:30:28 +00:00
2008-02-12 11:25:01 +00:00
2008-01-30 07:57:28 +00:00
2008-01-26 21:49:41 +00:00
2008-01-09 01:21:15 +00:00
2008-02-10 13:08:48 +00:00
2008-02-21 08:26:10 +00:00
2008-02-21 07:38:40 +00:00
2008-02-20 06:00:13 +00:00
2008-02-18 22:40:03 +00:00
2008-02-19 19:23:19 +00:00
2008-02-18 02:04:38 +00:00
2008-02-01 03:01:11 +00:00
2008-02-21 15:27:15 +00:00
2008-02-21 17:03:47 +00:00
2008-02-15 23:49:15 +00:00
2008-02-21 09:01:37 +00:00
2008-02-06 20:34:23 +00:00
2008-01-14 20:17:52 +00:00
2008-01-07 02:45:14 +00:00
2008-01-27 19:52:46 +00:00
2008-01-07 02:45:14 +00:00
2008-01-29 06:54:30 +00:00
2008-01-24 15:14:52 +00:00
2008-01-08 20:46:54 +00:00
2008-01-30 07:57:28 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-02-16 01:45:47 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-09 22:48:06 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-01-07 02:45:14 +00:00
2008-02-21 17:03:10 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-25 01:09:01 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-30 07:57:28 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-22 23:53:46 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-02-21 07:53:55 +00:00
2008-01-08 20:46:54 +00:00
2008-01-16 16:22:29 +00:00
2008-01-08 20:46:54 +00:00
2008-02-08 20:12:26 +00:00
2008-01-07 02:45:14 +00:00
2008-02-08 07:59:31 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-24 11:13:45 +00:00
2008-01-11 04:16:14 +00:00
2008-02-14 14:37:00 +00:00
2008-01-08 20:46:54 +00:00
2008-02-10 18:38:05 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-01-09 01:21:15 +00:00
2008-02-21 03:45:04 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 06:16:07 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-02-03 11:58:58 +00:00
2008-01-08 20:46:54 +00:00
2008-01-10 06:54:12 +00:00
2008-01-10 06:54:12 +00:00
2008-01-09 01:21:15 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-12 01:24:20 +00:00
2008-02-10 20:57:47 +00:00
2008-02-10 21:59:27 +00:00
2008-02-12 01:24:20 +00:00
2008-02-10 20:57:47 +00:00
2008-02-10 20:57:47 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-02-11 04:07:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-19 02:21:08 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-02-14 21:16:36 +00:00
2008-01-10 18:44:27 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-12 07:10:49 +00:00
2008-01-07 02:45:14 +00:00
2008-02-20 11:27:28 +00:00
2008-02-12 07:10:49 +00:00
2008-01-08 20:46:54 +00:00
2008-02-12 17:29:07 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-25 05:38:31 +00:00
2008-01-07 02:45:14 +00:00
2008-02-11 18:39:22 +00:00
2008-01-18 03:19:07 +00:00
2008-02-04 09:57:16 +00:00
2008-02-16 16:17:37 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-02-21 05:38:30 +00:00
2008-01-14 13:20:31 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-02-18 12:14:24 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 04:31:51 +00:00
2008-02-12 00:50:44 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-02-16 23:54:28 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-11 09:53:56 +00:00
2008-01-07 02:45:14 +00:00
2008-01-31 10:59:14 +00:00
2008-01-25 22:50:33 +00:00
2008-02-01 22:43:25 +00:00
2008-01-08 20:46:54 +00:00
2008-01-15 15:03:36 +00:00
2008-01-07 02:45:14 +00:00
2008-01-16 16:23:00 +00:00
2008-01-29 06:54:30 +00:00
2008-01-26 13:15:27 +00:00
2008-01-07 02:45:14 +00:00
2008-02-14 03:57:12 +00:00
2008-01-09 01:21:15 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-09 04:31:51 +00:00
2008-01-09 04:31:51 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-02-21 09:15:32 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-21 19:48:56 +00:00
2008-01-07 02:45:14 +00:00
2008-01-09 04:31:51 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-02-08 05:14:03 +00:00
2008-01-08 20:46:54 +00:00
2008-01-21 23:10:32 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-16 06:22:59 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-02-02 04:15:23 +00:00
2008-02-02 04:16:23 +00:00
2008-02-21 01:57:10 +00:00
2008-02-21 08:39:34 +00:00
2008-01-09 03:27:04 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-20 10:35:27 +00:00
2008-01-23 10:49:31 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-09 01:21:15 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-02-08 20:16:52 +00:00
2008-01-27 22:47:58 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-10 04:04:46 +00:00
2008-02-17 16:57:44 +00:00
2008-01-09 01:21:15 +00:00
2008-02-13 15:10:57 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-17 16:57:44 +00:00
2008-01-08 20:46:54 +00:00
2008-02-21 08:13:45 +00:00
2008-01-24 04:49:39 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-02-12 21:20:05 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-09 01:21:15 +00:00
2008-02-17 23:11:26 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-02-14 14:32:44 +00:00
2008-01-07 02:45:14 +00:00
2008-01-22 23:53:46 +00:00
2008-01-08 20:46:54 +00:00
2008-02-19 11:45:54 +00:00
2008-02-18 07:46:44 +00:00
2008-02-20 15:21:55 +00:00
2008-02-19 11:45:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-02-19 11:45:54 +00:00
2008-02-19 12:26:40 +00:00
2008-02-20 12:42:35 +00:00
2008-02-21 08:26:00 +00:00
2008-01-08 20:46:54 +00:00
2008-01-30 21:51:43 +00:00
2008-02-02 16:07:47 +00:00
2008-01-08 20:46:54 +00:00
2008-01-08 20:46:54 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-02-01 03:01:11 +00:00
2008-02-18 15:34:34 +00:00
2008-02-17 00:30:06 +00:00
2008-02-02 17:41:55 +00:00
2008-01-08 20:46:54 +00:00
2008-02-09 22:48:06 +00:00
2008-01-07 02:45:14 +00:00
2008-01-07 02:45:14 +00:00
2008-01-08 20:46:54 +00:00
2008-01-24 15:14:52 +00:00
2008-02-08 20:43:50 +00:00
2008-01-08 20:46:54 +00:00
2008-01-17 17:21:34 +00:00
2008-01-08 20:46:54 +00:00