Files
emacs/lisp
Fabián Ezequiel Gallina 5485e3e5b2 python.el: New non-global state dependent indentation engine.
Fixes: debbugs:18319
Fixes: debbugs:19595

* lisp/progmodes/python.el (python-syntax-comment-or-string-p): Accept
PPSS as argument.
(python-syntax-closing-paren-p): New function.
(python-indent-current-level)
(python-indent-levels): Mark obsolete.
(python-indent-context): Return more context cases.
(python-indent--calculate-indentation)
(python-indent--calculate-levels): New functions.
(python-indent-calculate-levels): Use them.
(python-indent-calculate-indentation, python-indent-line):
(python-indent-line-function): Rewritten to use new API.
(python-indent-dedent-line): Simplify logic.
(python-indent-dedent-line-backspace): Use `unless`.
(python-indent-toggle-levels): Delete function.

* test/automated/python-tests.el (python-indent-pep8-1)
(python-indent-pep8-2, python-indent-pep8-3)
(python-indent-after-comment-1, python-indent-after-comment-2)
(python-indent-inside-paren-1, python-indent-inside-paren-2)
(python-indent-after-block-1, python-indent-after-block-2)
(python-indent-after-backslash-1, python-indent-after-backslash-2)
(python-indent-after-backslash-3, python-indent-block-enders-1)
(python-indent-block-enders-2, python-indent-block-enders-3)
(python-indent-block-enders-4, python-indent-block-enders-5)
(python-indent-dedenters-1, python-indent-dedenters-2)
(python-indent-dedenters-3, python-indent-dedenters-4)
(python-indent-dedenters-5, python-indent-dedenters-6)
(python-indent-dedenters-7, python-indent-dedenters-8): Fix tests.
(python-indent-base-case, python-indent-after-block-3)
(python-indent-after-backslash-5, python-indent-inside-paren-3)
(python-indent-inside-paren-4, python-indent-inside-paren-5)
(python-indent-inside-paren-6, python-indent-inside-string-1)
(python-indent-inside-string-2, python-indent-inside-string-3)
(python-indent-dedent-line-backspace-1): New Tests.
2015-01-27 00:17:24 -03:00
..
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-02 07:22:18 -05:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-02 07:22:18 -05:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-04 13:45:44 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-02 07:22:18 -05:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-02 07:22:18 -05:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2014-12-01 07:23:04 -05:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-02 07:22:18 -05:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00
2015-01-01 09:18:06 -08:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
`term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.