1. 24 Aug, 2015 4 commits
    • Glenn Morris's avatar
      * lisp/version.el (emacs-version): No longer include build host · 5a133ba0
      Glenn Morris authored
      * doc/lispref/intro.texi (Version Info): Update example.
      5a133ba0
    • Paul Eggert's avatar
      a19b8550
    • Paul Eggert's avatar
      More-conservative ‘format’ quote restyling · fbb5531f
      Paul Eggert authored
      Instead of restyling curved quotes for every call to ‘format’,
      create a new function ‘format-message’ that does the restyling,
      and using the new function instead of ‘format’ only in contexts
      where this seems appropriate.
      Problem reported by Dmitry Gutov and Andreas Schwab in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
      * doc/lispref/commands.texi (Using Interactive):
      * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
      * doc/lispref/display.texi (Displaying Messages, Progress):
      * doc/lispref/elisp.texi:
      * doc/lispref/help.texi (Keys in Documentation):
      * doc/lispref/minibuf.texi (Minibuffer Misc):
      * doc/lispref/strings.texi (Formatting Strings):
      * etc/NEWS:
      Document the changes.
      * lisp/abbrev.el (expand-region-abbrevs):
      * lisp/apropos.el (apropos-library):
      * lisp/calc/calc-ext.el (calc-record-message)
      (calc-user-function-list):
      * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
      * lisp/calc/calc-lang.el (math-read-big-balance):
      * lisp/calc/calc-store.el (calc-edit-variable):
      * lisp/calc/calc-units.el (math-build-units-table-buffer):
      * lisp/calc/calc-yank.el (calc-edit-mode):
      * lisp/calendar/icalendar.el (icalendar-export-region)
      (icalendar--add-diary-entry):
      * lisp/cedet/mode-local.el (mode-local-print-binding)
      (mode-local-describe-bindings-2):
      * lisp/cedet/semantic/complete.el (semantic-completion-message):
      * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
      * lisp/cedet/semantic/wisent/comp.el (wisent-log):
      * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/dframe.el (dframe-message):
      * lisp/dired-aux.el (dired-query):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
      (byte-compile-log-file, byte-compile-warn, byte-compile-form):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
      (cconv-analyze-form):
      * lisp/emacs-lisp/check-declare.el (check-declare-warn):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
      * lisp/emacs-lisp/edebug.el (edebug-format):
      * lisp/emacs-lisp/eieio-core.el (eieio-oref):
      * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
      (eldoc-message):
      * lisp/emacs-lisp/elint.el (elint-file, elint-log):
      * lisp/emacs-lisp/find-func.el (find-function-library):
      * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
      * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
      * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
      * lisp/emacs-lisp/package.el (package-compute-transaction)
      (package-install-button-action, package-delete-button-action)
      (package-menu--list-to-prompt):
      * lisp/emacs-lisp/timer.el (timer-event-handler):
      * lisp/emacs-lisp/warnings.el (lwarn, warn):
      * lisp/emulation/viper-cmd.el:
      (viper-toggle-parse-sexp-ignore-comments)
      (viper-kill-buffer, viper-brac-function):
      * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
      * lisp/facemenu.el (facemenu-add-new-face):
      * lisp/faces.el (face-documentation, read-face-name)
      (face-read-string, read-face-font, describe-face):
      * lisp/files.el (find-alternate-file, hack-local-variables)
      (hack-one-local-variable--obsolete, write-file)
      (basic-save-buffer, delete-directory):
      * lisp/format.el (format-write-file, format-find-file)
      (format-insert-file):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--obsolete)
      (help-fns--interactive-only, describe-function-1)
      (describe-variable):
      * lisp/help.el (describe-mode):
      * lisp/info-xref.el (info-xref-output):
      * lisp/info.el (Info-virtual-index-find-node)
      (Info-virtual-index, info-apropos):
      * lisp/international/kkc.el (kkc-error):
      * lisp/international/mule-cmds.el:
      (select-safe-coding-system-interactively)
      (select-safe-coding-system, describe-input-method):
      * lisp/international/mule-conf.el (code-offset):
      * lisp/international/mule-diag.el (describe-character-set)
      (list-input-methods-1):
      * lisp/international/quail.el (quail-error):
      * lisp/minibuffer.el (minibuffer-message):
      * lisp/mpc.el (mpc--debug):
      * lisp/msb.el (msb--choose-menu):
      * lisp/net/ange-ftp.el (ange-ftp-message):
      * lisp/net/gnutls.el (gnutls-message-maybe):
      * lisp/net/newst-backend.el (newsticker--sentinel-work):
      * lisp/net/newst-treeview.el (newsticker--treeview-load):
      * lisp/net/nsm.el (nsm-query-user):
      * lisp/net/rlogin.el (rlogin):
      * lisp/net/soap-client.el (soap-warning):
      * lisp/net/tramp.el (tramp-debug-message):
      * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
      * lisp/nxml/nxml-parse.el (nxml-parse-error):
      * lisp/nxml/rng-cmpct.el (rng-c-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
      * lisp/org/org-ctags.el:
      (org-ctags-ask-rebuild-tags-file-then-find-tag):
      * lisp/proced.el (proced-log):
      * lisp/progmodes/ebnf2ps.el (ebnf-log):
      * lisp/progmodes/flymake.el (flymake-log):
      * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
      * lisp/replace.el (occur-1):
      * lisp/simple.el (execute-extended-command)
      (undo-outer-limit-truncate, define-alternatives):
      * lisp/startup.el (command-line):
      * lisp/subr.el (error, user-error, add-to-list):
      * lisp/tutorial.el (tutorial--describe-nonstandard-key)
      (tutorial--find-changed-keys):
      * src/callint.c (Fcall_interactively):
      * src/editfns.c (Fmessage, Fmessage_box):
      Restyle the quotes of format strings intended for use as a
      diagnostic, when restyling seems appropriate.
      * lisp/subr.el (format-message): New function.
      * src/doc.c (Finternal__text_restyle): New function.
      (syms_of_doc): Define it.
      fbb5531f
    • Paul Eggert's avatar
  2. 23 Aug, 2015 16 commits
  3. 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
  4. 21 Aug, 2015 6 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