Permalink
Switch branches/tags
Nothing to show
Commits on Mar 19, 2012
  1. Adds a .gitignore file to avoid dirty submodules.

    gorakhargosh committed Mar 19, 2012
    * When python.el is included as a submodule and the
      entire .emacs.d/ directory is byte-recompiled,
      it causes the iedit submodule to appear dirty
      when the only change that has occurred is the
      generation of an .elc file.  This set of ignore
      rules should prevent dirty submodules from
      occurring unnecessarily.
    
    Signed-off-by: Yesudeep Mangalapilly <yesudeep@google.com>
Commits on Mar 7, 2012
  1. Enhancements on ipython 0.10 setup documentation (thanks to @tkf for …

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Mar 7, 2012
    …the hint)
  2. Added missing dot in `python-completion-complete-at-point' error

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Mar 7, 2012
  3. Enhanced completion subject finding logic for `python-shell-completio…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Mar 7, 2012
    …n--do-completion-at-point'
  4. Make `python-shell-completion--do-completion-at-point' to return a li…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Mar 7, 2012
    …st for `completion-at-point' do it's job instead of replicating completion logic.
    
    Removed vars:
     + python-shell-completion-original-window-configuration
Commits on Feb 23, 2012
  1. Make `python-shell-completion--do-completion-at-point' work for calls…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Feb 23, 2012
    … done via `python-completion-complete-at-point'.
    
    The comint prompt retrieval logic was failing on
    `python-shell-completion--do-completion-at-point' when calls to it
    happened from outside the process buffer.
Commits on Dec 27, 2011
  1. python-end-of-defun-function now works correctly when comments are no…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Dec 27, 2011
    …t indented properly.
    
    Calling `end-of-defun' on a python file will now do the correct thing,
    even for cases like this:
    
        def fib(n):
            if n < 2:
        #       base cases
                return n
            else:
                return fib(n - 2) + fib(n - 1)
Commits on Dec 18, 2011
  1. Enhancements on indentation for lines after a backslash continuation.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Dec 18, 2011
    Backslashed continuations with parens in the middle are now handled
    correctly. Things like this are now indented properly:
    
    objects = Thing.objects.all() \
                           .filter(
                               type="toy",
                               status="bought"
                               subtype="car"
                           ) \
                           .aggregate(
                               Sum('amount')
                           ) \
                           .values_list()
    
    New Functions:
    
        * `python-info-beginning-of-backlash' returns the point where a
          backslashed line start.
Commits on Nov 21, 2011
  1. Added self to the list of font-lock-keywords

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Nov 21, 2011
Commits on Nov 20, 2011
  1. Updated `python-font-lock-keywords' to match latest Python 2.7 and 3.…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Nov 20, 2011
    …2 documentation.
Commits on Nov 18, 2011
  1. Beautified code

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Nov 18, 2011
      * All columns are now less that 79 chars.
      * Removed tabs that were beign used to indent code.
      * Reindented the whole file.
  2. Enhancements on indentation code and related functions.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Nov 18, 2011
    This commit includes:
    
        * A more robust implementation of `python-indent-calculate-indentation'.
        * enhancements on `python-indent-context' when dealing with backslashes
          and blocks.
        * Many changes, comments and enhancements to
          `python-indent-calculate-indentation'. Many of them especially focused
          to match pep8 guidelines, being this one the most important new one:
          http://mail.python.org/pipermail/python-dev/2011-June/111760.html
        * Better `python-info-line-ends-backslash-p' that would work as intended
          on narrowed buffers.
        * `python-info-continuation-line-p' now does what's supposed to do.
        * Enhanced implementation of `python-info-continuation-line-p',
          `python-info-block-continuation-line-p' and
          `python-info-assignment-continuation-line-p'
    
    New Functions:
    
        * `python-util-forward-comment' a simple replacement `forward-comment'
          with some necessary enhancements.
Commits on Sep 26, 2011
  1. `python-check' now can have named buffers on its own depending the co…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 26, 2011
    …mmand launched.
    
    New vars:
      + python-check-buffer-name
  2. Enhancements on python-check command.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 26, 2011
    Use pyflakes (PyChecker is dead) and run the process respecting
    virtualenv rules.
  3. Removed :safe attribute for dangerous variables

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 26, 2011
    Changed vars:
     + python-shell-interpreter
     + python-shell-interpreter-args
     + python-shell-completion-setup-code
     + python-shell-completion-string-code
     + python-shell-completion-module-string-code
     + python-shell-completion-pdb-string-code
     + python-ffap-setup-code
     + python-ffap-string-code
     + python-check-command
     + python-eldoc-setup-code
     + python-eldoc-string-code
  4. Fixed docstring typos

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 26, 2011
  5. Enhanced shell setup for Windows.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 26, 2011
    Also added documentation explaining how to spawn the iPython process
    on Windows.
Commits on Sep 24, 2011
  1. Added compatibility with lastest CEDET.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 24, 2011
    Obsolete variables definitions:
      + python-buffer => python-shell-internal-buffer
    
    Obsolete functions definitions:
      + python-proc => python-shell-internal-get-or-create-process
      + python-send-string => python-shell-internal-send-string
Commits on Sep 19, 2011
  1. Merge branch 'master' of github.com:fgallina/python.el

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 19, 2011
    Conflicts:
    	python.el
  2. Improvements on completion code.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 16, 2011
    Do no complete when defining a code block (we can't do this until
    finding some way of getting raw tabs to the interpreter correctly)
  3. Improved completion support when in [i]pdb

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 16, 2011
    `python-shell-completion--do-completion-at-point' has been modified in
    order to support different completion contexts easily.
    
    New vars:
     + python-shell-completion-pdb-string-code
  4. Added `python-pdbtrack-activate' variable to allow users to activate/…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 16, 2011
    …deactivate pdbtrack.
    
    To keep in sync with the old behavior its default value is t.
  5. Renamed stuff to keep "namespace" clean.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 16, 2011
    Renamed vars:
     + python-shell-module-completion-string-code => python-shell-completion-module-string-code
     + python-completion-original-window-configuration => python-shell-completion-original-window-configuration
  6. Don't request completions for zero-length input

    dandavison authored and Fabián Ezequiel Gallina committed Sep 11, 2011
    Fixes a bug in which incorrect completion output was displayed, for
    example when point was after a closing paren.
Commits on Sep 12, 2011
  1. Merge pull request #53 from dandavison/fix-minor-completion-bug

    fgallina committed Sep 12, 2011
    Don't request completions for zero-length input
  2. Make `python-shell-send-string-no-output' delete trailing newlines fr…

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 12, 2011
    …om output.
  3. Merge pull request #52 from dandavison/dismiss-completions-buffer

    fgallina committed Sep 12, 2011
    Dismiss completions buffer when unique completion has been made
Commits on Sep 11, 2011
  1. Don't request completions for zero-length input

    dandavison committed Sep 11, 2011
    Fixes a bug in which incorrect completion output was displayed, for
    example when point was after a closing paren.
  2. Documentation enhancements

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 11, 2011
  3. Renamed indentity occurrences to identity in previous commmit

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 11, 2011
  4. Enhancements to internal python shell naming.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 11, 2011
    The internal python shell now takes into account more shell settings
    in order to generate the unique hash for its name.
    
    Also `python-shell-setup-codes' has been simplified and is not allowed
    to be a list of cons anymore.
  5. Enhancements to pdbtrack.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 11, 2011
    pdbtrack now handles correctly the case where the stacktrace
    information is on the second line.
    
    All python buffers not opened by the user and used for tracking are
    closed automatically when tracking process finishes.
    
    Simplified code for keeping the tracked buffer.
    
    Removed vars:
     + python-pdbtrack-tracking-buffers
    
    Removed functions:
     + python-pdbtrack-get-or-add-tracking-buffers
    
    New vars:
     + python-pdbtrack-tracked-buffer
     + python-pdbtrack-buffers-to-kill
    
    New functions:
     + python-pdbtrack-set-tracked-buffer
Commits on Sep 10, 2011
  1. Enhancements to pdbtrack

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 10, 2011
    pdbtracking now autodetects the filename being tracked from the prompt
    and not from the `inferior-python-mode-current-file' variable.
    
    Removed vars:
      + `inferior-python-mode-current-file'
  2. Documentation enhancements and other small fixes.

    Fabián Ezequiel Gallina
    Fabián Ezequiel Gallina committed Sep 10, 2011
    Removed vars:
      + python-shell-import-line-regexp