1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
emacs/lisp/progmodes
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
..
.gitignore
ada-mode.el Merge from emacs--rel--22 2008-01-22 23:53:46 +00:00
ada-prj.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ada-stmt.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
ada-xref.el Merge from emacs--rel--22 2008-01-22 23:53:46 +00:00
antlr-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
asm-mode.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
autoconf.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
cap-words.el Update copyright years and GPL version. 2008-02-02 04:22:46 +00:00
cc-align.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
cc-awk.el Correct typos, enhance comments. 2008-01-27 17:03:43 +00:00
cc-bytecomp.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
cc-cmds.el Introduce elements for the syntactic symbol arglist-cont-nonempty into 2008-01-27 13:59:47 +00:00
cc-compat.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
cc-defs.el (c-version): increase to 5.31.5. 2008-01-29 20:07:20 +00:00
cc-engine.el (c-guess-basic-syntax, CASE 5A.5): Anchor the "{" of a template function 2008-01-29 20:21:42 +00:00
cc-fonts.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
cc-langs.el (c-block-stmt-1-kwds, c-block-stmt-2-kwds, c-simple-stmt-kwds): New 2008-01-29 20:47:03 +00:00
cc-menus.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
cc-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
cc-styles.el Introduce elements for the syntactic symbol arglist-cont-nonempty into 2008-01-27 13:59:47 +00:00
cc-subword.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
cc-vars.el Introduce elements for the syntactic symbol arglist-cont-nonempty into 2008-01-27 13:59:47 +00:00
cfengine.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
cmacexp.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
compile.el add php error regex for compile mode 2008-02-13 22:26:33 +00:00
cperl-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
cpp.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
cwarn.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
dcl-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
delphi.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf2ps.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf-abn.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf-bnf.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf-dtd.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf-ebx.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf-iso.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebnf-otz.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
ebnf-yac.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ebrowse.el Merge from emacs--rel--22 2008-01-22 23:53:46 +00:00
etags.el Add many doc strings. 2008-02-11 17:36:03 +00:00
executable.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
f90.el * sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at): 2008-01-24 15:14:52 +00:00
flymake.el add support to flymake for php, add support to flymake for perl module files (.pm) 2008-02-13 19:30:58 +00:00
fortran.el (fortran-comment-indent-char): Use characterp rather than char-valid-p. 2008-02-02 04:23:20 +00:00
gdb-ui.el (gdb-output-sink): Define with an invalid value. 2008-02-19 04:30:50 +00:00
glasses.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
grep.el (grep-compute-defaults): 2008-02-01 01:38:32 +00:00
gud.el *** empty log message *** 2008-02-18 15:36:39 +00:00
hideif.el Remove out-of-date section of commentary. 2008-01-24 04:46:59 +00:00
hideshow.el (hs-minor-mode-map): Move menu creation to 2008-02-17 18:55:24 +00:00
icon.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
idlw-complete-structtag.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
idlw-help.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
idlw-shell.el Delete trailing whitespace. 2008-02-02 04:28:47 +00:00
idlw-toolbar.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
idlwave.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
inf-lisp.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
ld-script.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
m4-mode.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
make-mode.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
mantemp.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
meta-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
mixal-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
modula2.el (m2-definition, m2-module): Don't use previous-line. 2007-08-27 13:41:54 +00:00
octave-hlp.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
octave-inf.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
octave-mod.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
pascal.el * sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at): 2008-01-24 15:14:52 +00:00
perl-mode.el Merge from emacs--devo--0 2008-01-09 01:21:15 +00:00
prolog.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
ps-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
python.el Merge from Dave Love's 2008-01-20 version. 2008-02-21 17:03:47 +00:00
scheme.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
sh-script.el Merge from emacs--devo--0 2008-01-30 07:57:28 +00:00
simula.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
sql.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
sym-comp.el New file. 2008-02-21 17:03:30 +00:00
tcl.el Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
vera-mode.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
verilog-mode.el (customize): Fix typo in error message. 2008-02-18 15:39:33 +00:00
vhdl-mode.el * sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at): 2008-01-24 15:14:52 +00:00
which-func.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00
xscheme.el Merge from emacs--rel--22 2008-01-08 20:46:54 +00:00