1. 04 Feb, 2014 1 commit
  2. 01 Jan, 2014 1 commit
  3. 26 Dec, 2013 1 commit
  4. 25 Dec, 2013 1 commit
    • Fabián Ezequiel Gallina's avatar
      * lisp/progmodes/python.el: · 01379221
      Fabián Ezequiel Gallina authored
      (python-nav--lisp-forward-sexp): New function.
      (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
      python-nav-lisp-forward-sexp-safe.
      (python-nav--forward-sexp): New argument SAFE allows switching
      forward sexp movement behavior for parens.
      (python-nav-forward-sexp): Throw errors on unterminated parens.
      (python-nav-backward-sexp, python-nav-forward-sexp-safe)
      (python-nav-backward-sexp-safe): New functions.
      (python-shell-buffer-substring): Use
      `python-nav-forward-sexp-safe'.
      
      * test/automated/python-tests.el
      (python-nav-lisp-forward-sexp-safe-1): Remove test.
      (python-nav-forward-sexp-safe-1): New test.
      
      Fixes: debbugs:16191
      01379221
  5. 24 Dec, 2013 1 commit
  6. 13 Dec, 2013 1 commit
  7. 12 Dec, 2013 3 commits
  8. 29 Nov, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el (python-mode-map): Remove binding for ":". · bd15d9d1
      Stefan Monnier authored
      (python-indent-electric-colon): Remove command.
      (python-indent-post-self-insert-function): Integrate the previous code
      of python-indent-electric-colon.  Make it conditional on
      electric-indent-mode.
      (python-mode): Add ?: to electric-indent-chars.
      Move python-indent-post-self-insert-function to the end of
      post-self-insert-hook.
      bd15d9d1
  9. 26 Nov, 2013 1 commit
  10. 23 Nov, 2013 3 commits
  11. 05 Nov, 2013 1 commit
  12. 04 Nov, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el: Fix up last change. · e5afbcac
      Stefan Monnier authored
      (python-shell--save-temp-file): New function.
      (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
      `string' comes from the current buffer.
      (python-shell-send-string-no-output): Remove `msg' arg.
      (python--use-fake-loc): New var.
      (python-shell-buffer-substring): Obey it.  Try to compensate for the
      extra coding line added by python-shell--save-temp-file.
      (python-shell-send-region): Use python-shell--save-temp-file and
      python-shell-send-file directly.  Add `nomain' argument.
      (python-shell-send-buffer): Use python-shell-send-region.
      (python-electric-pair-string-delimiter): New function.
      (python-mode): Use it.
      e5afbcac
  13. 30 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el (python-shell-get-buffer): New function. · 195ee2f0
      Stefan Monnier authored
      (python-shell-get-process): Use it.
      (python-shell-send-string): Always use utf-8 and add a cookie to tell
      Python which encoding was used.  Don't split-string since we only care
      about the first line.  Return the temp-file, if applicable.
      (python-shell-send-region): Tell compile.el how to turn locations in
      the temp-file into locations in the source buffer.
      195ee2f0
  14. 07 Oct, 2013 1 commit
  15. 11 Sep, 2013 1 commit
    • Glenn Morris's avatar
      Improve previous interpreter-mode-alist change · 2a08047a
      Glenn Morris authored
      * lisp/files.el (interpreter-mode-alist): Remove \\` \\' parts.
      (set-auto-mode): Don't regexp-quote elements.
      
      * lisp/progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
      
      * lisp/progmodes/cc-mode.el (interpreter-mode-alist):
      * lisp/progmodes/ruby-mode.el (interpreter-mode-alist):
      Revert previous change.
      
      * etc/NEWS: Update.
      2a08047a
  16. 10 Sep, 2013 2 commits
  17. 09 Sep, 2013 1 commit
  18. 05 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (pop): Use `car-safe'. · c0458e0b
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
      to detect unused `pop' return value.
      
      * lisp/emacs-lisp/advice.el (defadvice): Add indent rule.
      
      * lisp/international/mule-cmds.el: Require CL.
      (find-coding-systems-for-charsets): Avoid add-to-list.
      (sanitize-coding-system-list): New function, extracted from
      select-safe-coding-system-interactively.
      (select-safe-coding-system-interactively): Use it.
      (read-input-method-name): Accept symbols for `default'.
      
      * lisp/progmodes/python.el (python-nav-beginning-of-block): Remove unused
      var `block-regexp'.
      (python-nav--forward-sexp): Remove unused var `re-search-fn'.
      (python-fill-string): Remove unused var `marker'.
      (python-skeleton-add-menu-items): Remove unused var `items'.
      c0458e0b
  19. 02 Sep, 2013 3 commits
  20. 27 Aug, 2013 1 commit
  21. 16 Aug, 2013 1 commit
  22. 13 Aug, 2013 1 commit
  23. 13 Jul, 2013 1 commit
  24. 18 Jun, 2013 1 commit
  25. 26 May, 2013 2 commits
  26. 09 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix a bunch of custom types (thank you cus-test.el) · a931698a
      Glenn Morris authored
      * lisp/bookmark.el (bookmark-search-delay):
      * lisp/cus-start.el (vertical-centering-font-regexp):
      * lisp/ps-mule.el (ps-mule-font-info-database-default):
      * lisp/ps-print.el (ps-default-fg, ps-default-bg):
      * lisp/type-break.el (type-break-good-break-interval):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      (whitespace-space-after-tab-regexp):
      * lisp/emacs-lisp/testcover.el (testcover-1value-functions)
      (testcover-noreturn-functions, testcover-progn-functions)
      (testcover-prog1-functions):
      * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
      * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
      * lisp/eshell/em-glob.el (eshell-glob-translate-alist):
      * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
      * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
      * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
      * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
      * lisp/gnus/gnus-picon.el (gnus-picon-properties):
      * lisp/gnus/gnus-util.el (gnus-completion-styles):
      * lisp/gnus/gnus.el (gnus-other-frame-resume-function):
      * lisp/gnus/message.el (message-user-organization-file)
      (message-cite-reply-position):
      * lisp/gnus/nnir.el (nnir-summary-line-format)
      (nnir-retrieve-headers-override-function):
      * lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
      * lisp/gnus/shr.el (shr-blocked-images):
      * lisp/gnus/spam-report.el (spam-report-resend-to):
      * lisp/gnus/spam.el (spam-summary-exit-behavior):
      * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
      * lisp/play/tetris.el (tetris-tty-colors):
      * lisp/progmodes/cpp.el (cpp-face-default-list):
      * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
      * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
      (idlwave-help-browser-generic-args):
      * lisp/progmodes/make-mode.el (makefile-special-targets-list):
      * lisp/progmodes/python.el (python-shell-virtualenv-path):
      * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
      (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
      (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
      (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
      * lisp/textmodes/reftex-vars.el (reftex-format-label-function):
      * lisp/textmodes/remember.el (remember-diary-file):
      Fix custom types.
      
      * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
      Fix value.
      
      * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
      a931698a
  27. 19 Apr, 2013 2 commits
    • Fabián Ezequiel Gallina's avatar
      Small fixes to 2013-04-19T02:31:09Z!fgallina@gnu.org · 6bd1a072
      Fabián Ezequiel Gallina authored
      * lisp/ChangeLog: Fix Changelog Entry.
      
      * progmodes/python.el (python-imenu-create-flat-index): Remove
        leftover `message' call and give credit to old
        imenu--flatten-index-alist.
      6bd1a072
    • Fabián Ezequiel Gallina's avatar
      New faster Imenu implementation. · adc31213
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el:
      (python-imenu-prev-index-position):
      (python-imenu-format-item-label-function)
      (python-imenu-format-parent-item-label-function)
      (python-imenu-format-parent-item-jump-label-function):
      New vars.
      (python-imenu-format-item-label)
      (python-imenu-format-parent-item-label)
      (python-imenu-format-parent-item-jump-label)
      (python-imenu--put-parent, python-imenu--build-tree)
      (python-imenu-create-index, python-imenu-create-flat-index)
      (python-util-popn): New functions.
      (python-mode): Set imenu-create-index-function to
      python-imenu-create-index.
      
      * test/automated/python-tests.el (python-imenu-prev-index-position-1):
      Removed test.
      (python-imenu-create-index-1, python-imenu-create-flat-index-1):
      New tests.
      
      Fixes: debbugs:14058
      adc31213
  28. 17 Apr, 2013 3 commits
  29. 16 Apr, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from · 351edece
      Stefan Monnier authored
      python-mode-abbrev-table.
      (python-skeleton-define): Adjust accordingly.
      (python-mode-abbrev-table): New table that inherits from it so that
      python-skeleton-autoinsert does not affect non-skeleton abbrevs.
      * lisp/abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
      (abbrev-symbol): Use it.
      (abbrev--before-point): Use it since we already handle inheritance.
      351edece