1. 08 Oct, 2012 1 commit
    • Fabián Ezequiel Gallina's avatar
      Enhancements on forward-sexp movement. · 8dbce54c
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (python-nav-beginning-of-statement)
      (python-nav-end-of-statement): Return point-marker.
      (python-nav-forward-sexp): lisp-like forward-sexp behavior.
      (python-info-current-symbol)
      (python-info-statement-starts-block-p): Rename from
      python-info-beginning-of-block-p.
      (python-info-statement-ends-block-p): Rename from
      python-info-end-of-block-p.
      (python-info-beginning-of-statement-p)
      (python-info-end-of-statement-p)
      (python-info-beginning-of-block-p, python-info-end-of-block-p):
      New functions.
      8dbce54c
  2. 07 Oct, 2012 3 commits
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el (inferior-python-mode) · f27c99dc
      Fabián Ezequiel Gallina authored
      (python-shell-make-comint): Fixed initialization of local
      variables copied from parent buffer.
      f27c99dc
    • Fabián Ezequiel Gallina's avatar
      Enhancements to indentation. · be0d5bae
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-indent-context): Give priority to
      inside-string context.  Make comments indentation markers.
      (python-indent-region): Do not mess with strings, unless it's the
      enclosing set of quotes.
      be0d5bae
    • Fabián Ezequiel Gallina's avatar
      Fix shell output retrieval and comint-prompt-regexp init. · 08f18c3d
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (inferior-python-mode):
      (python-shell-make-comint): Fix initialization of
      comint-prompt-regexp from copied file local variables.
      (python-shell-fetched-lines): Remove var.
      (python-shell-output-filter-in-progress): Rename from
      python-shell-fetch-lines-in-progress.
      (python-shell-output-filter-buffer): Rename from
      python-shell-fetch-lines-string.
      (python-shell-fetch-lines-filter): Delete function.
      (python-shell-output-filter): New function.
      (python-shell-send-string-no-output): Use them.
      08f18c3d
  3. 05 Oct, 2012 2 commits
  4. 04 Oct, 2012 1 commit
    • Fabián Ezequiel Gallina's avatar
      Allow user to set docstring style for fill-paragraph. · fc345011
      Fabián Ezequiel Gallina authored
      * progmodes/python.el
      (python-fill-comment-function, python-fill-string-function)
      (python-fill-decorator-function, python-fill-paren-function):
      Remove :safe for defcustoms.
      (python-fill-string-style): New defcustom
      (python-fill-paragraph-function): Enhanced context detection.
      (python-fill-string): Honor python-fill-string-style settings.
      fc345011
  5. 03 Oct, 2012 1 commit
    • Fabián Ezequiel Gallina's avatar
      Fix cornercase for string syntax. · a1a9f411
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (python-syntax-propertize-function):
      Simplify and enhance the regexp for unescaped quotes.  Now it also
      matches quotes in weird situations like the single quote in
      "something\"'".
      (python-syntax-stringify): Simplify num-quotes detecting code.
      a1a9f411
  6. 01 Oct, 2012 1 commit
    • Fabián Ezequiel Gallina's avatar
      Shell output catching a la gud-gdb. · 0478776b
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (python-shell-fetch-lines-in-progress)
      (python-shell-fetch-lines-string, python-shell-fetched-lines): New
      Vars.
      (python-shell-fetch-lines-filter): New function.
      (python-shell-send-string-no-output): Use them.
      0478776b
  7. 30 Sep, 2012 1 commit
  8. 24 Sep, 2012 2 commits
  9. 23 Sep, 2012 1 commit
  10. 07 Sep, 2012 1 commit
  11. 15 Aug, 2012 1 commit
  12. 14 Aug, 2012 2 commits
  13. 10 Aug, 2012 1 commit
    • Chong Yidong's avatar
      Remove some unnecessary bindings of same-window-* variables. · 1530c98e
      Chong Yidong authored
      * lisp/progmodes/python.el (python-shell-get-process-name): Don't mess
      with same-window-buffer-names.
      
      * lisp/eshell/eshell.el (eshell-add-to-window-buffer-names)
      (eshell-remove-from-window-buffer-names): Make obsolete.
      (eshell-buffer-name, eshell-unload-hook): Don't use them.
      (eshell): Just use pop-to-buffer-same-window instead.
      1530c98e
  14. 09 Aug, 2012 2 commits
  15. 08 Aug, 2012 1 commit
  16. 06 Aug, 2012 1 commit
  17. 31 Jul, 2012 2 commits
  18. 27 Jul, 2012 2 commits
  19. 19 Jul, 2012 1 commit
    • Fabián Ezequiel Gallina's avatar
      Enhancements to ppss related code (thanks Stefan). · 1d29cc7d
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (python-indent-context)
      (python-indent-calculate-indentation, python-indent-dedent-line)
      (python-indent-electric-colon, python-nav-forward-block)
      (python-mode-abbrev-table)
      (python-info-assignment-continuation-line-p): Simplified checks
      for ppss context.
      (python-info-continuation-line-p): Cleanup.
      (python-info-ppss-context): Do not catch 'quote.
      (python-info-ppss-context-type)
      (python-info-ppss-comment-or-string-p): Simplify.
      1d29cc7d
  20. 18 Jul, 2012 2 commits
  21. 17 Jul, 2012 3 commits
  22. 16 Jul, 2012 2 commits
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el: Simplified imenu implementation. · 758e556a
      Fabián Ezequiel Gallina authored
      (python-nav-jump-to-defun): Remove command.
      (python-mode-map): Use `imenu' instead.
      (python-nav-list-defun-positions-cache)
      (python-imenu-include-defun-type, python-imenu-make-tree)
      (python-imenu-subtree-root-label, python-imenu-index-alist):
      Remove vars.
      (python-nav-list-defun-positions, python-nav-read-defun)
      (python-imenu-tree-assoc, python-imenu-make-element-tree)
      (python-imenu-make-tree, python-imenu-create-index): Remove
      functions.
      (python-mode): Update to interact with imenu by setting
      `imenu-extract-index-name-function' only.
      758e556a
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el: Enhancements to navigation commands. · 032d23ab
      Fabián Ezequiel Gallina authored
      (python-nav-backward-sentence)
      (python-nav-forward-sentence): Remove.
      (python-nav-backward-statement, python-nav-forward-statement)
      (python-nav-statement-start, python-nav-statement-end)
      (python-nav-backward-block, python-nav-forward-block)
      (python-nav-block-start, python-nav-block-end)
      (python-nav-forward-sexp-function)
      (python-info-current-line-comment-p)
      (python-info-current-line-empty-p): New functions.
      (python-indent-context): Use `python-nav-statement-start'.
      032d23ab
  23. 23 Jun, 2012 1 commit
  24. 19 Jun, 2012 1 commit
  25. 18 Jun, 2012 3 commits
  26. 17 Jun, 2012 1 commit