1. 22 Feb, 2008 29 commits
  2. 21 Feb, 2008 11 commits
    • Ken Manheimer's avatar
      Revise pdbtrack functionality to incorporate advances in python-mode.el. · 82ede389
      Ken Manheimer authored
      (I'm doing this python.el checkin with some byte-compiler warnings.  These
      warnings existed before Nick Roberts or I applied any of the pdbtrack
      changes, and look very clearly like preexisting, incomplete adoption of
      code from python-mode.el.  I'm going to next look at settling those
      warnings, though I don't have time for a major reconciliation of the two
      python-mode implementations.)
      
      (python-pdbtrack-toggle-stack-tracking): Clarify docstring.
      (python-pdbtrack-minor-mode-string): A sign indicating that pdb
      tracking is happening.
      (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
      (python-pdbtrack-input-prompt): Better recognize PDB prompts.
      (add python-pdbtrack-track-stack-file to comint-output-filter-functions):
      Tracking is plugged in to all comint buffers once python.el is loaded.
      (python-pdbtrack-overlay-arrow): Toggle activation of
      `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
      (python-pdbtrack-track-stack-file): Use new
      `python-pdbtrack-get-source-buffer' for more flexible access to
      debugging source files.
      (python-pdbtrack-get-source-buffer): Identify debugging target
      buffer according to pdb stack trace, optionally using new
      `python-pdbtrack-grub-for-buffer' if file is not locally
      available.
      (python-pdbtrack-grub-for-buffer): Find most recent python-mode
      named buffer, or having function with indicated name.
      (python-shell): Remove comint-output-filter-functions hook
      addition, it's being done elsewhere.  Wrap long line.
      82ede389
    • Michael Olson's avatar
      lisp/ChangeLog: Update. · 26e99723
      Michael Olson authored
      26e99723
    • Michael Olson's avatar
      lisp/net/json.el: Fix compiler warning. · e771f9d0
      Michael Olson authored
      e771f9d0
    • Michael Olson's avatar
      lisp/time.el: Fix compiler warning. · e0b72bbd
      Michael Olson authored
      e0b72bbd
    • Michael Olson's avatar
    • Chong Yidong's avatar
      Merge from Dave Love's 2008-01-20 version. · 2bcda1d5
      Chong Yidong authored
      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.
      2bcda1d5
    • Chong Yidong's avatar
      New file. · e21766aa
      Chong Yidong authored
      e21766aa
    • Chong Yidong's avatar
      * progmodes/sym-comp.el: New file. · ff493c63
      Chong Yidong authored
      * progmodes/python.el: 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.
      ff493c63
    • Stefan Monnier's avatar
      (x_connection_closed): Consolidate identical tests. · 6bd92640
      Stefan Monnier authored
      (x_delete_terminal): Don't crash if called via x_connection_closed.
      6bd92640
    • Juanma Barranquero's avatar
    • Dan Nicolaescu's avatar
      *** empty log message *** · 3ba75732
      Dan Nicolaescu authored
      3ba75732