1. 29 Dec, 2014 8 commits
  2. 28 Dec, 2014 8 commits
  3. 27 Dec, 2014 17 commits
    • Fabián Ezequiel Gallina's avatar
      python.el: Native readline completion. · 2cb75922
      Fabián Ezequiel Gallina authored
      This commit adds native readline completion that fallbacks to the old
      mechanism when it cannot be used for the current interpreter.
      
      * lisp/progmodes/python.el (python-shell-completion-native-disabled-interpreters)
      (python-shell-completion-native-enable)
      (python-shell-completion-native-output-timeout): New defcustoms.
      (python-shell-completion-native-interpreter-disabled-p)
      (python-shell-completion-native-try)
      (python-shell-completion-native-setup)
      (python-shell-completion-native-turn-off)
      (python-shell-completion-native-turn-on)
      (python-shell-completion-native-turn-on-maybe)
      (python-shell-completion-native-turn-on-maybe-with-msg)
      (python-shell-completion-native-toggle): New functions.
      (python-shell-completion-native-get-completions): New function.
      (python-shell-completion-at-point): Use it.
      
      * test/automated/python-tests.el
      (python-shell-completion-native-interpreter-disabled-p-1): New
      test.
      2cb75922
    • Dmitry Gutov's avatar
      (elisp--xref-identifier-file): Skip features that have no sources · 968d0962
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-file):
      Skip features that have no sources.
      968d0962
    • Dmitry Gutov's avatar
      Handle nil value of suggest-key-bindings · 43f6eca0
      Dmitry Gutov authored
      * lisp/simple.el (execute-extended-command):
      When `suggest-key-bindings' is nil, don't.
      43f6eca0
    • Fabián Ezequiel Gallina's avatar
      python.el: Enhance shell user interaction and deprecate python-shell-get-or-create-process. · 7d1e62d5
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el
      (python-shell-get-process-or-error): New function.
      (python-shell-with-shell-buffer): Use it.
      (python-shell-send-string, python-shell-send-region)
      (python-shell-send-buffer, python-shell-send-defun)
      (python-shell-send-file, python-shell-switch-to-shell): Use it.
      Add argument MSG to display user-friendly message when no process
      is running.
      (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
      (python-shell-make-comint): Rename argument SHOW from POP.  Use
      display-buffer instead of pop-to-buffer.
      (run-python): Doc fix.  Return process.
      (python-shell-get-or-create-process): Make obsolete.
      
      * test/automated/python-tests.el (python-shell-get-or-create-process-1)
      (python-shell-get-or-create-process-2)
      (python-shell-get-or-create-process-3): Remove tests.
      7d1e62d5
    • Fabián Ezequiel Gallina's avatar
      * lisp/progmodes/python.el (python-shell-buffer-substring): Handle · 433af0a0
      Fabián Ezequiel Gallina authored
      cornercase when region sent starts at point-min.
      433af0a0
    • Fabián Ezequiel Gallina's avatar
    • Fabián Ezequiel Gallina's avatar
      Fix ChangeLog typo · a5f38fa1
      Fabián Ezequiel Gallina authored
      a5f38fa1
    • Dmitry Gutov's avatar
      elisp-xref-find: Don't create buffers eagerly · 6d14e0d3
      Dmitry Gutov authored
      * lisp/emacs-lisp/find-func.el (find-function-library): New function,
      extracted from `find-function-noselect'.
      
      * lisp/progmodes/elisp-mode.el (elisp--identifier-location): Fold back
      into `elisp--company-location'.
      (elisp--identifier-completion-table): Rename to
      `elisp--identifier-completion-table', and do not include just any
      symbols with a property list.
      (elisp-completion-at-point): Revert the 2014-12-25 change.
      (elisp--xref-identifier-file): New function.
      (elisp--xref-find-definitions): Use it.
      
      * lisp/progmodes/xref.el (xref-elisp-location): New class.
      (xref-make-elisp-location): New function.
      (xref-location-marker): New implementation.
      6d14e0d3
    • Eli Zaretskii's avatar
      Fix composition of characters from Syriac and Arabis scripts. · c6400e17
      Eli Zaretskii authored
       lisp/language/misc-lang.el (composition-function-table): Add Syriac
       characters and also ZWJ/ZWNJ.  See
       http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
       for the details.
      c6400e17
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · 09d2e847
      Glenn Morris authored
      09d2e847
    • Fabián Ezequiel Gallina's avatar
      python.el: Fix message when sending region. · 7e9dfded
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-shell-send-region): Rename argument
      send-name from nomain.  Fix message.
      (python-shell-send-buffer): Rename argument send-name from arg.
      7e9dfded
    • Fabián Ezequiel Gallina's avatar
      python.el: Cleanup temp files even with eval errors. · 800260c4
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-shell-send-file): Make file-name
      mandatory.  Fix temp file removal in the majority of cases.
      800260c4
    • Fabián Ezequiel Gallina's avatar
      Fix for previous commit · ed65b915
      Fabián Ezequiel Gallina authored
      ed65b915
    • Fabián Ezequiel Gallina's avatar
      python.el: Handle file encoding for shell. · 2dd5163d
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-rx-constituents): Add coding-cookie.
      (python-shell--save-temp-file): Write file with proper encoding.
      (python-shell-buffer-substring): Add coding cookie for detected
      encoding to generated content.  Fix blank lines when removing
      if-name-main block.
      (python-shell-send-file): Handle file encoding.
      (python-info-encoding-from-cookie)
      (python-info-encoding): New functions.
      
      * test/automated/python-tests.el (python-shell-buffer-substring-1)
      (python-shell-buffer-substring-2, python-shell-buffer-substring-3)
      (python-shell-buffer-substring-4, python-shell-buffer-substring-5)
      (python-shell-buffer-substring-6, python-shell-buffer-substring-7)
      (python-shell-buffer-substring-8)
      (python-info-encoding-from-cookie-1)
      (python-info-encoding-from-cookie-2)
      (python-info-encoding-from-cookie-3)
      (python-info-encoding-from-cookie-4)
      (python-info-encoding-from-cookie-5)
      (python-info-encoding-from-cookie-6)
      (python-info-encoding-from-cookie-7, python-info-encoding-1)
      (python-info-encoding-2): New tests.
      2dd5163d
    • Juri Linkov's avatar
      Avoid duplicate calls of window-height in with-displayed-buffer-window · 162660c3
      Juri Linkov authored
      * lisp/minibuffer.el (minibuffer-completion-help):
      Use shrink-window-if-larger-than-buffer in window-height
      when temp-buffer-resize-mode is nil.
      
      * lisp/window.el (with-displayed-buffer-window): Remove window-height
      from the action alist in the temp-buffer-window-show call
      when window-height is handled explicitly afterwards.
      
      Fixes: debbugs:19355
      162660c3
    • Juri Linkov's avatar
      Support subdirectories when saving places in dired. · d5145924
      Juri Linkov authored
      * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
      (save-places-to-alist, save-place-dired-hook):
      Use dired-current-directory instead of dired-directory.
      (save-place-dired-hook): Add check for alist to make the new
      format future-proof to allow other possible formats.
      
      Fixes: debbugs:19436
      d5145924
    • Filipp Gunbin's avatar
      Fix ChangeLog · c5ac00f0
      Filipp Gunbin authored
      c5ac00f0
  4. 26 Dec, 2014 6 commits
  5. 25 Dec, 2014 1 commit