1. 27 Jan, 2015 1 commit
    • Fabián Ezequiel Gallina's avatar
      python.el: New non-global state dependent indentation engine. · 5485e3e5
      Fabián Ezequiel Gallina authored
      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.
      5485e3e5
  2. 26 Jan, 2015 1 commit
  3. 24 Jan, 2015 3 commits
  4. 23 Jan, 2015 1 commit
  5. 22 Jan, 2015 1 commit
    • Wolfgang Jenkner's avatar
      Backport: Handle the `neg' operator in some calc-units functions. · 3a345b50
      Wolfgang Jenkner authored
      * lisp/calc/calc-units.el (math-units-in-expr-p)
      (math-single-units-in-expr-p, math-find-compatible-unit-rec)
      (math-extract-units): Handle the `neg' operator.  (Bug#19582)
      * test/automated/calc-tests.el (calc-tests-equal, calc-tests-simple):
      New functions.
      (test-calc-remove-units, test-calc-extract-units)
      (test-calc-convert-units): New tests.
      3a345b50
  6. 21 Jan, 2015 5 commits
  7. 20 Jan, 2015 4 commits
  8. 17 Jan, 2015 2 commits
  9. 16 Jan, 2015 1 commit
  10. 15 Jan, 2015 1 commit
  11. 14 Jan, 2015 2 commits
  12. 13 Jan, 2015 4 commits
  13. 10 Jan, 2015 1 commit
  14. 09 Jan, 2015 3 commits
  15. 06 Jan, 2015 2 commits
  16. 05 Jan, 2015 1 commit
    • Eli Zaretskii's avatar
      Fix assertion violations in try_window_id (Bug#19511) · d279e668
      Eli Zaretskii authored
       src/xdisp.c (move_it_to, try_cursor_movement): Don't use the window
       end information if the window_end_valid flag is unset.
       (try_window_id): If the call to display_line invalidated the
       window end information, give up the try_window_id optimization.
      d279e668
  17. 04 Jan, 2015 4 commits
  18. 03 Jan, 2015 1 commit
  19. 02 Jan, 2015 1 commit
  20. 01 Jan, 2015 1 commit