1. 23 Aug, 2015 5 commits
  2. 22 Aug, 2015 14 commits
    • Fabián Ezequiel Gallina's avatar
      python.el: fallback completion, ffap and eldoc setup enhancements · 24ae0525
      Fabián Ezequiel Gallina authored
      Setup codes are now sent continuously so that the current frame is
      always taken into account.  This allows working within debuggers
      and always keeping a fresh version of setup codes that will return
      proper results.
      
      * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
      (python-shell-send-setup-code): Send code only when
      python-shell-setup-codes is non-nil.
      (python-shell-completion-string-code): Cleanup trailing newline.
      (python-shell-completion-get-completions): Always use
      python-shell-completion-setup-code.
      (python-ffap-setup-code): Work with any object, not only modules.
      (python-ffap-string-code): Cleanup trailing newline.
      (python-ffap-module-path): Always use python-ffap-setup-code.
      (python-eldoc-string-code): Cleanup trailing newline.
      (python-eldoc--get-doc-at-point): Always use
      python-eldoc-setup-code.  Return non-nil only if docstring is
      found.
      24ae0525
    • Fabián Ezequiel Gallina's avatar
      0a3ed5f7
    • Fabián Ezequiel Gallina's avatar
      python.el: Increase native completion robustness. · 34f58ce5
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-shell-completion-native-setup):
      Make completer print real candidates and just return dummy ones to
      avoid input modification.
      (python-shell-completion-native-get-completions): Set
      comint-redirect-insert-matching-regexp to non-nil and make
      comint-redirect-finished-regexp match the last dummy candidate.
      Use python-shell-accept-process-output to wait for the full list
      of candidates.
      34f58ce5
    • Eli Zaretskii's avatar
      Fix invocation of programs via cmdproxy.exe · b0fe29ed
      Eli Zaretskii authored
      * src/w32proc.c (sys_spawnve): Use exec-directory, not
      invocation-directory, for finding cmdproxy.exe.  When Emacs is
      run from the source tree, look for cmdproxy.exe in the same source
      tree.  (Bug#21323)
      b0fe29ed
    • Simen Heggestøyl's avatar
      Handle comments inside unquoted URIs in css-mode · 7372c1ab
      Simen Heggestøyl authored
      * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
      (css-syntax-propertize-function): New defconst.
      (css--font-lock-keywords): Handle parens around unquoted URIs.
      (css-mode): Set `syntax-propertize-function'.
      7372c1ab
    • Eli Zaretskii's avatar
      Support invocation of Hunspell with multiple dictionaries · ff42c71d
      Eli Zaretskii authored
      * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file): Support
      lists of dictionaries of the form "DICT1,DICT2,...".
      (ispell-hunspell-add-multi-dic): New command.  (Bug#20495)
      ff42c71d
    • Eli Zaretskii's avatar
      Minor formatting changes in ispell.el · 19efb9db
      Eli Zaretskii authored
      * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
      (ispell-print-if-debug, ispell-aspell-find-dictionary)
      (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
      (ispell-hunspell-dictionary-alist)
      (ispell-hunspell-fill-dictionary-entry)
      (ispell-find-hunspell-dictionaries, ispell-send-replacement)
      (ispell-buffer-with-debug, ispell-complete-word)
      (ispell-current-dictionary, ispell-current-personal-dictionary)
      (ispell-accept-output, ispell-minor-mode)
      (ispell-personal-dictionary, ispell-dictionary-alist)
      (ispell-really-aspell, ispell-really-hunspell)
      (ispell-encoding8-command, ispell-aspell-supports-utf8)
      (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
      Fix whitespace, inconsistent capitalization, and arguments in doc
      strings.
      19efb9db
    • Martin Rudalics's avatar
      In ‘adjust-window-trailing-edge’ fix bug with size-preserved windows. · a3f3cd7c
      Martin Rudalics authored
      * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
      function refused to resize a size-preserved window.
      a3f3cd7c
    • Eli Zaretskii's avatar
      Improve documentation of 'window-use-time' · 385fa757
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Selecting Windows): Improve
      documentation and indexing of 'window-use-time'.
      385fa757
    • Stefan Monnier's avatar
      * lisp/progmodes/cc-*.el: Fix up commenting style · 18371ed2
      Stefan Monnier authored
      * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
      * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
      * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
      * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
      * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
      * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
      * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
      Fix up commenting style.
      18371ed2
    • Paul Eggert's avatar
      text-quoting-style in emacs-lisp diagnostics · c87523bd
      Paul Eggert authored
      * lisp/emacs-lisp/advice.el (ad-read-advised-function)
      (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
      (ad-disable-advice, ad-remove-advice, ad-set-argument)
      (ad-set-arguments):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
      (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
      (byte-optimize-while, byte-optimize-apply):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
      (byte-compile-log-file, byte-compile-format-warn)
      (byte-compile-nogroup-warn, byte-compile-arglist-warn)
      (byte-compile-cl-warn)
      (byte-compile-warn-about-unresolved-functions)
      (byte-compile-file, byte-compile-fix-header)
      (byte-compile--declare-var, byte-compile-file-form-defmumble)
      (byte-compile-form, byte-compile-normal-call)
      (byte-compile-variable-ref, byte-compile-variable-set)
      (byte-compile-subr-wrong-args, byte-compile-setq-default)
      (byte-compile-negation-optimizer)
      (byte-compile-condition-case--old)
      (byte-compile-condition-case--new, byte-compile-save-excursion)
      (byte-compile-defvar, byte-compile-autoload)
      (byte-compile-lambda-form)
      (byte-compile-make-variable-buffer-local, display-call-tree)
      (batch-byte-compile):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
      (cconv-analyze-form):
      * lisp/emacs-lisp/chart.el (chart-space-usage):
      * lisp/emacs-lisp/check-declare.el (check-declare-scan)
      (check-declare-warn, check-declare-file)
      (check-declare-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
      (checkdoc-message-text-engine):
      * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
      * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
      (cl-symbol-macrolet):
      * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
      * lisp/emacs-lisp/copyright.el (copyright)
      (copyright-update-directory):
      * lisp/emacs-lisp/edebug.el (edebug-read-list):
      * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
      * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
      (eieio-oref, eieio-oset-default):
      * lisp/emacs-lisp/eieio-speedbar.el:
      (eieio-speedbar-child-make-tag-lines)
      (eieio-speedbar-child-description):
      * lisp/emacs-lisp/eieio.el (defclass, change-class):
      * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
      (elint-init-form, elint-check-defalias-form)
      (elint-check-let-form):
      * lisp/emacs-lisp/ert.el (ert-get-test):
      * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
      (find-function-library):
      * lisp/emacs-lisp/generator.el (iter-yield):
      * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
      * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
      * lisp/emacs-lisp/package-x.el (package-upload-file):
      * lisp/emacs-lisp/package.el (package-version-join)
      (package-disabled-p, package-activate-1, package-activate)
      (package--download-one-archive)
      (package--download-and-read-archives)
      (package-compute-transaction, package-install-from-archive)
      (package-install, package-install-selected-packages)
      (package-delete, package-autoremove)
      (package-install-button-action, package-delete-button-action)
      (package-menu-hide-package, package-menu--list-to-prompt)
      (package-menu--perform-transaction)
      (package-menu--find-and-notify-upgrades):
      * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
      * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
      * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
      * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
      * lisp/emacs-lisp/smie.el (smie-config-save):
      * lisp/emacs-lisp/subr-x.el (internal--check-binding):
      * lisp/emacs-lisp/testcover.el (testcover-1value):
      Use curved quotes in diagnostic format strings.
      c87523bd
    • Fabián Ezequiel Gallina's avatar
    • Fabián Ezequiel Gallina's avatar
    • Fabián Ezequiel Gallina's avatar
      python.el: Ensure remote process-environment on non-interactive processes · e2a5e3f8
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el
      (python-shell-tramp-refresh-process-environment): New function.
      (python-shell-with-environment): Use it.
      
      * test/automated/python-tests.el (python-shell-with-environment-2): Update.
      e2a5e3f8
  3. 21 Aug, 2015 21 commits
    • Fabián Ezequiel Gallina's avatar
      ; python.el: Bump version to 25.1 · 49071a4a
      Fabián Ezequiel Gallina authored
      Also update author email and add Package-Require header to allow
      installation from Emacs 24.x.
      49071a4a
    • Fabián Ezequiel Gallina's avatar
      python.el: Enhancements to process environment setup. · 4150b563
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-shell-process-environment)
      (python-shell-extra-pythonpaths, python-shell-exec-path)
      (python-shell-virtualenv-root): Update docstring.  Remove :safe.
      (python-shell-setup-codes): Remove :safe.
      (python-shell-remote-exec-path): New defcustom.
      (python-shell--add-to-path-with-priority): New macro.
      (python-shell-calculate-pythonpath): Give priority to
      python-shell-extra-pythonpaths.  Update docstring.
      (python-shell-calculate-process-environment): Give priority to
      python-shell-process-environment.  Update docstring.
      (python-shell-calculate-exec-path): Give priority to
      python-shell-exec-path and calculated virtualenv bin directory.
      Update docstring.
      (python-shell-tramp-refresh-remote-path): New function.
      (python-shell-with-environment): Use it when working remotely and
      do not modify tramp-remote-path.  Allow nesting.
      (python-shell-calculate-command): Remove useless
      python-shell-with-environment call.
      
      * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
      (python-shell-calculate-pythonpath-2)
      (python-shell-calculate-process-environment-6)
      (python-shell-calculate-process-environment-7)
      (python-shell-calculate-process-environment-8)
      (python-shell-calculate-exec-path-3)
      (python-shell-calculate-exec-path-4)
      (python-shell-calculate-exec-path-5)
      (python-shell-calculate-exec-path-6)
      (python-shell-with-environment-3): New tests.
      (python-shell-calculate-process-environment-2)
      (python-shell-calculate-process-environment-3)
      (python-shell-calculate-process-environment-4)
      (python-shell-calculate-process-environment-5)
      (python-shell-calculate-exec-path-1)
      (python-shell-calculate-exec-path-2)
      (python-shell-with-environment-1)
      (python-shell-with-environment-2): Update and simplify.
      4150b563
    • Paul Eggert's avatar
      Avoid hard-coding "M-x command" in docstrings · c1cacb09
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-mode):
      * lisp/desktop.el (desktop-save-mode):
      * lisp/edmacro.el (edit-kbd-macro):
      * lisp/emacs-lisp/package.el (package-menu-execute):
      * lisp/emulation/viper-cmd.el (viper-ask-level):
      * lisp/emulation/viper-init.el (viper-expert-level):
      * lisp/filesets.el (filesets-add-buffer):
      * lisp/follow.el (follow-mode):
      * lisp/gnus/auth-source.el (auth-sources):
      * lisp/international/ogonek.el (ogonek-informacja)
      (ogonek-information):
      * lisp/net/tramp.el (tramp-process-actions):
      * lisp/org/org-gnus.el (org-gnus-no-new-news):
      * lisp/org/org.el (org-ellipsis):
      * lisp/progmodes/python.el (python-shell-get-process-or-error):
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/server.el (server-start):
      * lisp/type-break.el (type-break-noninteractive-query):
      * lisp/userlock.el (ask-user-about-supersession-help):
      * lisp/whitespace.el (whitespace-report-region):
      Prefer (substitute-command-keys "`\\[foo-command]'")
      to "`M-x foo-command'" in docstrings and the like.
      c1cacb09
    • Simen Heggestøyl's avatar
      ; Fix minor typo in Elisp manual · 59f79430
      Simen Heggestøyl authored
      59f79430
    • Tassilo Horn's avatar
      Use add-function for prettify-symbols-compose-predicate · 2649105a
      Tassilo Horn authored
      * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
      prettify-symbols-compose-predicate in terms of add-function.
      
      * etc/NEWS: Mention prettify-symbols-compose-predicate and
      prettify-symbols-mode support in tex-mode.
      2649105a
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun · 74881b6e
      Stefan Monnier authored
      (smie-indent-exps, smie-indent-keyword): Use it.
      
      * test/indent/css-mode.css: Test alignment with leading comment.
      74881b6e
    • Paul Eggert's avatar
      Respect text-quoting-style in (*Finder*) menus · e967f17e
      Paul Eggert authored
      * lisp/info.el (info--prettify-description):
      Treat description as a docstring, so that it's requoted as
      per text-quoting-style.
      e967f17e
    • Martin Rudalics's avatar
      Document `window-use-time' in Elisp manual · 3ea05985
      Martin Rudalics authored
      * doc/lispref/windows.texi (Selecting Windows): Document `window-use-time'.
      3ea05985
    • Eli Zaretskii's avatar
      A better fix for bug#21303 · 8583c215
      Eli Zaretskii authored
      * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.  This is a
      cleaner fix for Bug#21260 than the previous change.
      8583c215
    • Eli Zaretskii's avatar
    • Paul Eggert's avatar
      Respect text-quoting-style in calc · 1a38259b
      Paul Eggert authored
      In calc, tespect text-quoting-style preference in diagnostic
      formats and fix a few similar problems in docstrings.
      * lisp/calc/calc-aent.el (math-read-factor):
      * lisp/calc/calc-embed.el (calc-do-embedded):
      * lisp/calc/calc-ext.el (calc-user-function-list)
      * lisp/calc/calc-graph.el (calc-graph-show-dumb):
      * lisp/calc/calc-help.el (calc-describe-key)
      (calc-describe-thing):
      * lisp/calc/calc-lang.el (calc-c-language)
      (math-parse-fortran-vector-end, math-parse-tex-sum)
      (math-parse-eqn-matrix, math-parse-eqn-prime)
      (calc-yacas-language, calc-maxima-language, calc-giac-language)
      (math-read-big-rec, math-read-big-balance):
      * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
      (calc-auto-recompute):
      * lisp/calc/calc-prog.el (calc-user-define-invocation)
      (math-do-arg-check):
      * lisp/calc/calc-store.el (calc-edit-variable):
      * lisp/calc/calc-units.el (math-build-units-table-buffer):
      * lisp/calc/calc-vec.el (math-read-brackets):
      * lisp/calc/calc-yank.el (calc-edit-mode):
      * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
      Use curved quotes in diagnostic format strings.
      * lisp/calc/calc-help.el (calc-describe-thing):
      Format docstrings with substitute-command-keys.
      * lisp/calc/calc-help.el (calc-j-prefix-help):
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
      Escape a docstring "`".
      1a38259b
    • Eli Zaretskii's avatar
      Fix documentation of 'menu-set-font' and 'set-frame-font' · c1402c58
      Eli Zaretskii authored
      * lisp/menu-bar.el (menu-set-font): Doc fix.  (Bug#21303)
      
      * doc/lispref/frames.texi (Frame Font): Document that
      set-frame-font with the last argument 't' will also make the font
      the default for the future GUI frames.
      c1402c58
    • Eli Zaretskii's avatar
      Document '--create-frame' option to emacsclient · 88f18ca3
      Eli Zaretskii authored
      * doc/emacs/misc.texi (emacsclient Options): Document the
      '--create-frame' option.  (Bug#21308)
      88f18ca3
    • Eli Zaretskii's avatar
    • Stefan Monnier's avatar
    • Eli Zaretskii's avatar
      Document 'get-mru-window' in the ELisp manual · a55c75cc
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Cyclic Window Ordering): Document
      'get-mru-window'.  (Bug#21306)
      a55c75cc
    • Eli Zaretskii's avatar
      Clarify documentation of 'get-buffer-window-list' · 2f5e8090
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Buffers and Windows): Mention that the
      current window, if relevant, will be the first in the list
      returned by 'get-buffer-window-list'.
      
      * lisp/window.el (get-buffer-window-list): Doc fix.  (Bug#21305)
      2f5e8090
    • Vasilij Schneidermann's avatar
      In `ielm' use `pop-to-buffer-same-window' instead of `switch-to-buffer' · eb022c1e
      Vasilij Schneidermann authored
      * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
      `switch-to-buffer'.
      eb022c1e
    • Kaushal's avatar
      In woman.el use `display-buffer' instead of `switch-to-buffer' · 244a0086
      Kaushal authored
      * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
      `display-buffer' instead of `switch-to-buffer'.
      
      Copyright-paperwork-exempt: yes
      244a0086
    • Paul Eggert's avatar
      Follow user preference in calendar diagnostics · 8c01e889
      Paul Eggert authored
      Respect text-quoting-style preference in diagnostic formats by
      using curved quotes (which are translated as per text-quoting-style)
      instead of grave accent and apostrophe (which are not).
      * lisp/calendar/appt.el (appt-display-message):
      * lisp/calendar/diary-lib.el (diary-check-diary-file)
      (diary-mail-entries, diary-from-outlook):
      * lisp/calendar/icalendar.el (icalendar-export-region)
      (icalendar--convert-float-to-ical)
      (icalendar--convert-date-to-ical)
      (icalendar--convert-ical-to-diary)
      (icalendar--convert-recurring-to-diary)
      (icalendar--add-diary-entry):
      * lisp/calendar/time-date.el (format-seconds):
      * lisp/calendar/timeclock.el (timeclock-mode-line-display)
      (timeclock-make-hours-explicit):
      * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
      (todo-item-mark, todo-check-format)
      (todo-insert-item--next-param, todo-edit-item--next-key)
      (todo-mode):
      Use curved quotes in diagnostic format strings.
      * lisp/calendar/icalendar.el (icalendar-import-format-sample):
      * test/automated/icalendar-tests.el (icalendar--import-format-sample):
      Just use straight quoting for simple test case.
      8c01e889
    • Michael Albinus's avatar
      * src/gfilenotify.c (Fgfile_add_watch): · 21c2b4ac
      Michael Albinus authored
      Handle errors from g_file_monitor.
      21c2b4ac