1. 12 Jul, 2020 7 commits
    • Dmitry Gutov's avatar
    • James N. V. Cash's avatar
      Fix a typo in eldoc.el · 7a712578
      James N. V. Cash authored
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): Fix a
      typo.  (Bug#42310)
      Copyright-paperwork-exempt: yes
    • Eli Zaretskii's avatar
      Fix last doc changes in project.el · f5bc508b
      Eli Zaretskii authored
      * lisp/progmodes/project.el (project-find-functions)
      (project-current): Add back information which was recently
    • João Távora's avatar
      Sort out ElDoc backward compatibility of eldoc-documentation-function · 45d7db6d
      João Távora authored
      As explained previously, we can't simply make
      eldoc-documentation-function an variable alias for
      eldoc-documentation-strategy, because ElDoc is pre-loaded in Emacs <
      28, where it holds at least one buffer-local binding.  So if eldoc.el
      is loaded in those versions, we do the variable alias binding in
      reverse.  We do this using a macro
      eldoc--documentation-strategy-defcustom to at load time in which
      direction to make the variable alias.
      * lisp/emacs-lisp/eldoc.el
      (eldoc--documentation-strategy-defcustom): Helper macro.
      (eldoc-documentation-strategy, eldoc-documentation-function): Use it.
      (Version): Bump to 1.5.0
    • Michael Albinus's avatar
      More Tramp code cleanup · 7ee32966
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-process-actions):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-system-info)
      * lisp/net/tramp-cmds.el (tramp-rename-files, tramp-rename-these-files)
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-stat)
      (tramp-sh-handle-file-system-info, tramp-find-executable)
      (tramp-open-shell, tramp-find-shell):
      * lisp/net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat)
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-selinux-context)
      (tramp-sudoedit-handle-file-system-info): Remove superfluous
      `eval-when-compile', `concat' creates the string during byte
      compilation.  Reported by Mattias Engdegård <mattiase@acm.org>.
      * lisp/net/tramp-adb.el (tramp-adb-prompt): Simplify.
      * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-string-to-byte-array):
      Use `string-match-p'.
      * lisp/net/tramp-sh.el (tramp-sunos-unames): New defconst.
      (tramp-find-executable, tramp-find-shell, tramp-get-remote-stat): Use it.
    • Dmitry Gutov's avatar
      project-kill-buffers: Update the docstring too · 4a467f75
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-kill-buffers):
      Copy a sentence over from project-switch-to-buffer.
    • Dmitry Gutov's avatar
      More docstring updates in project.el · ebcbd50c
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-find-functions)
      (project-current, project-switch-to-buffer):
      More docstring updates.
  2. 11 Jul, 2020 11 commits
  3. 10 Jul, 2020 6 commits
    • João Távora's avatar
      Fix placement of Eldoc docs during eval-expression (bug#42309) · 1198b03e
      João Távora authored
      * lisp/emacs-lisp/eldoc.el (eldoc--handle-docs): Rework.
    • João Távora's avatar
      Revert "Fix Eldoc problem when loading on Emacs 26.3" · c2599632
      João Távora authored
      This reverts commit 9ade7ea7.
      * lisp/emacs-lisp/eldoc.el (Version): Bump to 1.4.0
    • Basil L. Contovounesios's avatar
      Consistently stylize eldoc as ElDoc in prose · 6290850d
      Basil L. Contovounesios authored
      * doc/emacs/custom.texi (Specifying File Variables):
      * doc/emacs/modes.texi (Major Modes):
      * doc/emacs/programs.texi (Lisp Doc):
      * etc/NEWS.22:
      * etc/NEWS.23:
      * lisp/progmodes/python.el:
      * test/lisp/progmodes/python-tests.el: Consistently capitalize eldoc
      as ElDoc rather than Eldoc.
    • Michael Albinus's avatar
      Tramp code cleanup · 7caf5706
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-shell-prompt-pattern)
      (tramp-wrong-passwd-regexp, tramp-method-regexp-alist)
      (tramp-domain-regexp, tramp-host-regexp, tramp-ipv6-regexp)
      (tramp-port-regexp, tramp-debug-outline-regexp)
      (tramp-drop-volume-letter, tramp-parse-shostkeys)
      * lisp/net/tramp-adb.el (tramp-adb-send-command-and-check):
      * lisp/net/tramp-ftp.el (tramp-ftp-enable-ange-ftp):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter):
      * lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp)
      * lisp/net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat)
      (tramp-smb-handle-set-file-acl, tramp-smb-read-file-entry):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-selinux-context):
      Use character classes in regexp.
      * lisp/net/tramp-adb.el (tramp-adb-ls-date-year-regexp)
      (tramp-adb-ls-date-time-regexp): New defconst.
      (tramp-adb-ls-date-regexp, tramp-adb-ls-toolbox-regexp)
      (tramp-adb-sh-fix-ls-output): Use them.
      (tramp-adb-handle-set-file-times, tramp-adb-maybe-open-connection):
      Apply `eval-when-compile' on constant concat data.
      Suppress `signal-hook-function'.
      (tramp-adb--gnu-switches-to-ash): Remove unused function.
      (tramp-adb-handle-set-file-modes): Qhote argument.
      (tramp-adb-maybe-open-connection): Set file property rather than flush.
      * lisp/net/tramp-cmds.el (tramp-rename-these-files):
      Apply `eval-when-compile' on constant concat data.
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-attributes)
      (tramp-gvfs-file-attributes-with-gvfs-ls-regexp): Embed them in
      (tramp-gvfs-get-directory-attributes): Apply `eval-when-compile'
      on constant concat data.
    • João Távora's avatar
      Fix byte compilation warning in Eldoc · 62725e87
      João Távora authored
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-function): Pass nil as
      second argument.
    • João Távora's avatar
      Fix Eldoc problem when loading on Emacs 26.3 · 9ade7ea7
      João Távora authored
      When defining the obsolete variable alias for old
      eldoc-documentation-function (which now points to the newer
      eldoc-documentation-strategy), one gets the error "don't know how to
      make a localized vareiable an alias".  I'm not sure, but I suspect
      this is because Eldoc is preloaded in Emacs 26.3 and the
      eldoc-documentation-function variable is already set locally by some
      Elisp buffer.
      Uninterning the symbol shortly before defining the alias seems to fix
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-function):
      Unintern on load.
      (Version): Bump to 1.3.0
  4. 09 Jul, 2020 14 commits
    • Paul Eggert's avatar
      Fix out-of-source ‘make check’ emacs-module-tests · c86f3fe0
      Paul Eggert authored
      Problem reported by Koki Fukuda in:
      * test/Makefile.in (MODULE_CFLAGS):
      Include from the same directories included from in ../src.
      * test/src/emacs-module-tests.el (module/describe-function-1):
      Strip path to source directory.
    • Paul Eggert's avatar
      Use Gnulib libgmp module · c8b6006d
      Paul Eggert authored
      Instead of doing GMP by hand, use the Gnulib libgmp module.
      * .gitignore: Add lib/gmp.h.
      * admin/merge-gnulib (GNULIB_MODULES): Add libgmp.
      * configure.ac (GMP_LIB, GMP_OBJ): Remove.  Gnulib uses the name
      LIB_GMP, so all uses changed.  All uses of GMP_OBJ removed.
      (HAVE_GMP): Set this from Gnulib’s variables.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/mini-gmp-gnulib.c, lib/mini-gmp.c, lib/mini-gmp.h, m4/libgmp.m4:
      New files, copied from Gnulib.
      * src/bignum.h, test/data/emacs-module/mod-test.c:
      Include gmp.h unconditionally.
      * src/mini-gmp-emacs.c, src/mini-gmp.c, src/mini-gmp.h:
      Remove.  This moves these files from src to lib, and
      updates them to the current GMP version.
      * test/Makefile.in (GMP_H): New macro.
      ($(test_module)): Use it to decide whether to compile
      mini-gmp-gnulib.c too.
    • Paul Eggert's avatar
      Speed up GCC 10.1 compilation in default Git builds · 50130655
      Paul Eggert authored
      * configure.ac (nw): GCC 10.1 introduced warnings enabled by -fanalyzer
      that slow down compilation considerably.  Generate these warnings only
      if --enable-gcc-warnings is explicitly given.  Also, do not bother to
      eliminate warnings that Gnulib’s revised manywarnings module no longer
    • Paul Eggert's avatar
      Update from Gnulib · 0fc8671d
      Paul Eggert authored
      This incorporates:
      2020-07-07 dup2: remove support for some very old platforms
      2020-07-07 memchr: remove support for some very old platforms
      2020-07-04 getumask: new module
      2020-07-03 getrandom: fix compilation error on native Windows
      2020-07-03 lchmod: simplify after 2020-02-22 change
      2020-07-01 manywarnings: improve port to GCC 10.1
      2020-06-28 getrandom: fix compilation errors on older versions of mingw
      2020-06-29 alloca-opt: fix warning on mingw
      * lib/alloca.in.h, lib/dup2.c, lib/getrandom.c, lib/string.in.h:
      * lib/sys_stat.in.h, lib/unistd.in.h, m4/dup2.m4, m4/getrandom.m4:
      * m4/lchmod.m4, m4/manywarnings.m4, m4/string_h.m4, m4/sys_stat_h.m4:
      * m4/unistd_h.m4: Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
    • Alexander Adolf's avatar
      EUDC: Add macOS Contacts backend · 814e3b0b
      Alexander Adolf authored
      * lisp/net/eudcb-macos-contacts.el: New file.
      * doc/misc/eudc.texi (macOS Contacts): New section.
      (macOS Contacts Configuration): Likewise.
      * etc/NEWS: Mention new macOS Contacts backend.
    • Eli Zaretskii's avatar
      Improve display of compositions by "C-u C-x =" · 2d7c3e49
      Eli Zaretskii authored
      * lisp/descr-text.el (describe-char): On TTY frames, display the
      Unicode names of the composed characters as well.  (Bug#42256)
    • Eli Zaretskii's avatar
      Improve documentation of "C-u C-x =" · 136e9311
      Eli Zaretskii authored
      * doc/emacs/mule.texi (International Chars): Mention the
      composition information displayed by "C-u C-x =".  (Bug#42256)
    • João Távora's avatar
      Unbreak M-x eldoc · 59f56368
      João Távora authored
      The command should always invoke Eldoc when called interactively,
      instead of going through the usual checks, which are performed to
      avoid interference with other commands.
      * lisp/emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Rework.
      (Version): Bump to 1.2.0
    • João Távora's avatar
      Prevent infloop in Eldoc message truncation algorithm · ffb99d84
      João Távora authored
      The truncation algorithm still has a long way to go for very narrow
      frame sizes.  It should become a generic mechanism that would allows
      one to truncate a string so that fits in N possibly truncated screen
      lines of a full-width window.
      * lisp/emacs-lisp/eldoc.el (eldoc-handle-docs): Tweak
    • Paul Eggert's avatar
      Mention floating rounding issues · 1f52771f
      Paul Eggert authored
      * doc/lispref/numbers.texi (Float Basics): Mention floating-point
      rounding issues uncovered by the discussion in Bug#42417.
    • João Távora's avatar
      Bump Flymake version · 19cf8e5b
      João Távora authored
      * lisp/progmodes/flymake.el (Version): Bump to 1.0.9.
    • Mattias Engdegård's avatar
      Repair global-auto-revert-ignore-modes (bug#42271) · c892ae65
      Mattias Engdegård authored
      Reported by Gustavo Tavares Cabral.
      * lisp/autorevert.el (auto-revert--global-add-current-buffer): Fix typo.
    • Glenn Morris's avatar
      Update tests for recent changes · ef8bd7d8
      Glenn Morris authored
      * test/lisp/descr-text-tests.el (descr-text-test-desc):
      Update for recent change to describe-char-eldoc.
      * test/lisp/progmodes/elisp-mode-tests.el
      Update for recent change to elisp--highlight-function-argument.
    • Glenn Morris's avatar
  5. 08 Jul, 2020 2 commits