1. 27 Jan, 2020 3 commits
    • Michael Albinus's avatar
      Fix Bug#39253 · 688e9242
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-shell-command): Set `default-directory'.
    • Michael Albinus's avatar
      Fix problems in Tramp's async-shell-command · e1c93a02
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
      * lisp/net/tramp-cache.el (top):
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
      Use `insert-file-contents-literally'.
      * lisp/net/tramp.el (tramp-parse-file):
      Use `insert-file-contents-literally'.
      (tramp-handle-shell-command): Reorganize error-buffer handling.
      (tramp-handle-start-file-process): Use `consp' instead of `listp'.
      * test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process):
      Bind `delete-exited-processes'.
      (tramp--test-async-shell-command): Bind `delete-exited-processes'.
      Add additional `accept-process-output'.  Move cleanup of output
      buffer ...
      (tramp-test32-shell-command): ... here.  Test error buffer also
      for `async-shell-command'.
    • Paul Pogonyshev's avatar
  2. 26 Jan, 2020 5 commits
    • Paul Eggert's avatar
      * src/mini-gmp.c: Fix comment typos. · 23ef804e
      Paul Eggert authored
    • Paul Eggert's avatar
      Update mini-gmp · 901f58ce
      Paul Eggert authored
      * src/mini-gmp.c, src/mini-gmp.h: Copy from GMP 6.2.0.
      This incorporates:
      2019-12-05 remove some sizeof(mp_limb_t)
      2019-12-04 (mpn_invert_3by2): Remove special code for limb sizes
      2019-12-04 (mpn_invert_3by2): Limit size of an intermediate
      2019-11-20 (mpn_invert_3by2): Use xor instead of negation
      2019-11-19 (mpn_invert_3by2): Move an assert earlier
      2019-11-19 (mpn_invert_3by2): Add a new shortcut
      2019-11-17 Prepend "unsigned" to MINI_GMP_LIMB_TYPE
      2019-11-17 Enable testing with different limb sizes (types)
      2019-11-20 Use already defined constants
      2019-11-09 Avoid undefined behaviour with small limb sizes
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Propagate NSLocale into Emacs better · 26d890c9
      Paul Eggert authored
      * src/emacs.c (main): Call ns_init_locale before using the
      environment variable that ns_init_locale sets up (Bug#39248).
    • Stefan Kangas's avatar
      Add more tests for bookmark-bmenu-list · e97da6b0
      Stefan Kangas authored
      * test/lisp/bookmark-tests.el (cl-lib): Require.
      (bookmark-test-bmenu-bookmark, bookmark-test-bmenu-mark)
      (bookmark-test-bmenu-any-marks, bookmark-test-bmenu-unmark)
      (bookmark-test-bmenu-delete, bookmark-test-bmenu-locate): New
      (bookmark-test-bmenu-edit-annotation/show-annotation): Rename from
      (bookmark-test-bmenu-send-edited-annotation): Rename from
      (bookmark-test-bmenu-send-edited-annotation/restore-focus): Rename
      from 'bookmark-bmenu-send-edited-annotation/restore-focus'.
  3. 25 Jan, 2020 3 commits
    • Michael Albinus's avatar
      Fix Bug#39279 · 5ba6df77
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-completion-file-name-handler):
      Fix thinko.  (Bug#39279)
    • Eli Zaretskii's avatar
      Fix MS-Windows build broken by "Install C source code" · 31efd1ce
      Eli Zaretskii authored
      * nt/epaths.nt (PATH_EMACS_SOURCE): Add definition.
    • Paul Eggert's avatar
      Install C source code for C-h f etc. · f42d57c7
      Paul Eggert authored
      Without this change, on typical GNU/Linux distributions
      like Debian, the first button of ‘C-h f car RET’ does not work
      because the source code for ‘car’ is not installed (Bug#37527).
      Fix this by installing the (compressed) C source code alongside
      the (compressed) Lisp source code that is already installed.
      This adds about 3 MB (about 2%) to the size of the installed files
      on my platform.
      * Makefile.in (emacs_srcdir): New macro.
      (epaths-force): Substitute PATH_EMACS_SOURCE.
      (install-c-src): New rule, that installs a copy of the C source
      code if emacs_srcdir says to.
      (install-arch-indep): Depend on it.
      * configure.ac (emacs_srcdir): New var.
      Add support for --disable-install-srcdir.
      * lisp/emacs-lisp/find-func.el (find-function-C-source-directory):
      Look in emacs-source-directory first.
      (find-function-C-source): Also look for gzipped source files.
      * lisp/startup.el (normal-top-level):
      Also recode emacs-source-directory.
      * src/epaths.in (PATH_EMACS_SOURCE): New macro.
      * src/lread.c: Include dosname.h, for IS_ABSOLUTE_FILE_NAME.
      (syms_of_lread): New var emacs-source-directory.
  4. 24 Jan, 2020 19 commits
    • Mattias Engdegård's avatar
      Remove (or double) redundant backslashes in string literals · 0c6c8aa0
      Mattias Engdegård authored
      See discussion at
      https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00749.html .
      * lisp/obsolete/iswitchb.el (iswitchb-summaries-to-end):
      * test/src/regex-emacs-tests.el (regex-tests-BOOST-frob-escapes):
      * test/lisp/help-fns-tests.el (help-fns-test-lisp-macro)
      (help-fns-test-lisp-defun, help-fns-test-lisp-defsubst)
      (help-fns-test-alias-to-defun, help-fns-test-bug23887):
      Double backslashes for desired effect.
      * lisp/org/ol.el (org-link-escape):
      * lisp/net/nsm.el (nsm-protocol-check--rsa-kx)
      (nsm-protocol-check--anon-kx, nsm-protocol-check--sha1-sig):
      * lisp/obsolete/old-whitespace.el (whitespace-buffer):
      * lisp/obsolete/rcompile.el (remote-compile-run-before):
      * lisp/obsolete/vi.el (vi-end-of-blank-delimited-word):
      * lisp/obsolete/vip.el (vip-current-major-mode)
      (vip-paren-match, vip-switch-to-buffer)
      (vip-switch-to-buffer-other-window, vip-kill-buffer)
      (vip-get-ex-token, ex-edit):
      * lisp/org/org-element.el (org-element--cache-sync-requests):
      * lisp/org/org.el (org-sparse-tree):
      * lisp/textmodes/reftex.el (reftex-report-bug):
      * test/lisp/ibuffer-tests.el (ibuffer-save-filters):
      * test/lisp/international/ucs-normalize-tests.el
      * test/lisp/simple-tests.el (undo-test-kill-c-a-then-undo):
      * test/lisp/textmodes/conf-mode-tests.el (conf-test-toml-mode):
      * test/src/regex-emacs-tests.el (regex-tests-compare):
      Remove redundant backslashes.
    • Paul Eggert's avatar
      Fix iso8601-parse so unknown DST is -1, not nil · a391ffa2
      Paul Eggert authored
      The convention in a decoded time’s dst flag is that t means DST,
      nil means standard time, and -1 means unknown.  This differs from
      the convention for other components of a decoded time, where nil
      means unknown.  Fix some places where iso8601-parse mistakenly
      treated nil as meaning that the dst flag was unknown.
      * doc/lispref/os.texi (Time Parsing):
      Adjust to match parse-time-string’s doc string.
      * lisp/calendar/iso8601.el (iso8601-parse):
      Set dst flag to nil if a numeric time zone or "Z" is given.
      (iso8601--decoded-time): Default dst flag to -1 if no dst
      flag or zone is given.
      * lisp/calendar/time-date.el (decoded-time-set-defaults):
      When we don’t have a time zone, set the dst flag consistently
      with DEFAULT-ZONE.
      * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years)
      (test-iso8601-date-dates, test-iso8601-date-obsolete)
      (test-iso8601-date-weeks, test-iso8601-date-ordinals)
      (test-iso8601-time, test-iso8601-combined)
      (test-iso8601-duration, test-iso8601-intervals)
      (standard-test-dates, standard-test-time-of-day-local-time)
      (standard-test-date-and-time-of-day, standard-test-interval):
      Adjust tests to match fixed behavior.
    • Bastien's avatar
      Fix parse-time-string bug with ISO 8601 defaults · 9c576c20
      Bastien authored
      * lisp/calendar/parse-time.el (parse-time-string):
      Do not use decoded-time-set-defaults; just let iso8601-parse
      do its thing.
    • Stefan Kangas's avatar
      Add tests for version comparison predicates · fcad41c1
      Stefan Kangas authored
      * test/lisp/subr-tests.el (subr-test-version-list-<)
      (subr-test-version-list-=, subr-test-version-list-<=): New tests.
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · a76e7d59
      Glenn Morris authored
      0bed550e (origin/emacs-27) Remove EmacsOpenPanel and EmacsSavePanel...
      a0336029 * doc/emacs/files.texi (Auto Save Files): Improve indexing...
      57fb8b10 Fix inaccurate wording in the Emacs manual
      1c487747 Update ERC module URLs
      7d1e9c94 Minor doc string clarification in use-hard-newlines
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · c7d870db
      Glenn Morris authored
      The following commits were skipped:
      e1deafd3 Backport: Fix bug 39218
      d15f2d4c Prefer saying "Info manual" to "info page" in docs
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 635e55e8
      Glenn Morris authored
      92f080dd Tab-bar related finishing touches.
      224e8d14 Make call_process call signal_after_change.  This fixes bu...
      d02f2a79 * lisp/simple.el: Minor fixes to commentary.
      196c42b8 Fix a few typos
      4f2b9677 Fix doc strings for image-dired rotation commands
      # Conflicts:
      #	etc/NEWS
    • Lars Ingebrigtsen's avatar
      Make links in shr use separate mouse highlight regions · d9385aca
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (shr-urlify): Make adjacent links have separate
      mouse hightlights (bug#39115).
    • Michael Albinus's avatar
      Adapt tramp-test32-shell-command · ff630b56
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test32-shell-command):
      Test error buffer for synchronous `shell-command' only.
    • Michael Albinus's avatar
      Minor code cleanup in Tramp · 0debadb4
      Michael Albinus authored
    • Michael Albinus's avatar
      Support (un)mount of Tramp media devices · 98490386
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping): Add "gvfs-rename".
      (tramp-gvfs-do-copy-or-rename-file): Use it.
      (tramp-gvfs-activation-uri): Handle "media" method.
      (tramp-gvfs-url-host): New defun.
      (tramp-get-media-devices): Use it.
    • Robert Pluim's avatar
      Expand Cairo and HarfBuzz descriptions · 9ba7abe2
      Robert Pluim authored
      * etc/NEWS:
      * configure.ac: Expand description of Cairo and Harfbuzz
    • Alan Third's avatar
    • Robert Pluim's avatar
      Warn about XFT and about Cairo without HarfBuzz · 1ebe1605
      Robert Pluim authored
      * configure.ac: Warn about libXFT usage.  Warn about using Cairo
      without HarfBuzz.
      * etc/NEWS: Announce XFT and HarfBuzz warnings.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix inaccurate wording in the Emacs manual · 57fb8b10
      Eli Zaretskii authored
      * doc/emacs/custom.texi (Modifier Keys):
      * doc/emacs/basic.texi (Inserting Text): Fix minor inaccuracies in
      describing the 'Alt' modifier.  (Bug#39254)
    • Paul Eggert's avatar
      Simplify locale setup · 75c1f936
      Paul Eggert authored
      Stop exporting Vprevious_system_time_locale and
      Vprevious_system_messages_locale to Elisp.  I did that export by
      mistake in 1999, and the Elisp variables have never been used.
      Simplifying this cruft should make it easier to fix Bug#39248.
      * etc/NEWS: Mention this.
      * src/emacs.c (main): Simplify locale initialization.
      (synchronize_locale): Simplify.
      (Vprevious_system_time_locale, Vprevious_system_messages_locale):
      Now static variables not visible to Lisp, and defined only if
      (Vprevious_system_messages_locale): Define only if LC_MESSAGES.
    • bandali's avatar
      Update ERC module URLs · 1c487747
      bandali authored
      * lisp/erc/erc-autoaway.el, lisp/erc/erc-button.el,
      lisp/erc/erc-compat.el, lisp/erc/erc-fill.el, lisp/erc/erc-imenu.el,
      lisp/erc/erc-join.el, lisp/erc/erc-lang.el, lisp/erc/erc-match.el,
      lisp/erc/erc-pcomplete.el, lisp/erc/erc-ring.el,
      lisp/erc/erc-spelling.el, lisp/erc/erc-stamp.el,
      lisp/erc/erc-track.el: Update URL to friendlier form, over https.
      * lisp/erc/erc-ibuffer.el: Remove URL to nonexistent page.
      * lisp/erc/erc-list.el, lisp/erc/erc-log.el, lisp/erc/erc-notify.el,
      lisp/erc/erc-replace.el, lisp/erc/erc-services.el,
      lisp/erc/erc-sound.el, lisp/erc/erc-speedbar.el,
      lisp/erc/erc-truncate.el: Add URL to corresponding EmacsWiki page.
    • Glenn Morris's avatar
      Make so-long test pass following lisp-mnt change · 04ca1a1e
      Glenn Morris authored
      * lisp/so-long.el (so-long-commentary): Update for lisp-mnt change.
  5. 23 Jan, 2020 10 commits
    • Bruno Félix Rezende Ribeiro's avatar
      Globally sanitize single-file package long descriptions (Bug#37548) · 963a9ffd
      Bruno Félix Rezende Ribeiro authored
      Consistent with multi-file package descriptions which don’t have
      commentary sections nor double semicolon prefixes.
      * lisp/emacs-lisp/lisp-mnt.el (lm-commentary): Remove commentary
      header, double semicolon prefixes of each line, trailing new-lines and
      trailing white-space from commentary.
      * lisp/emacs-lisp/package.el (package--get-description)
      * lisp/finder.el (finder-commentary):
      * lisp/info.el (Info-finder-find-node): Remove ad-hoc sanitation.
    • Glenn Morris's avatar
      Unbreak byte compilation · cd2d812e
      Glenn Morris authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
      Update for recent header changes.
      (byte-compile-insert-header): Add more padding.
    • Stefan Kangas's avatar
      Remove irrelevant info from .elc headers · c4687d92
      Stefan Kangas authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header): Don't
      insert information on ancient Emacs in bytecode headers.  (Bug#39233)
    • Stefan Kangas's avatar
      Prefer saying "Info manual" to "info page" in docs · a15a0cf6
      Stefan Kangas authored
      Pointed out by Eli Zaretskii in:
      * doc/emacs/Makefile.in:
      * doc/lispintro/Makefile.in:
      * doc/lispref/Makefile.in:
      * doc/misc/Makefile.in:
      * lisp/dired-x.el (top-level):
      * lisp/gnus/gnus-sum.el (gnus-summary-mode):
      * lisp/progmodes/cperl-mode.el (cperl-info-page): Doc fix; prefer
      saying "Info manual" over "info page".
    • Michael Albinus's avatar
      Implement "/media::" default host name in Tramp · 8fbc2fd4
      Michael Albinus authored
      * doc/misc/tramp.texi (GVFS-based methods): Describe default
      /media:: file name.
      * lisp/net/tramp-cache.el (tramp-get-file-property)
      (tramp-set-file-property): Check, whether
      `tramp-cache-{g,s}et-count-*' objects are numbers.
      * lisp/net/tramp-gvfs.el (top): Don't set global default for
      "media" in `tramp-default-host-alist'.
      (tramp-gvfs-handler-volumeadded-volumeremoved): New defun.
      (top): Register "org.gtk.Private.RemoteVolumeMonitor.VolumeAdded"
      and "org.gtk.Private.RemoteVolumeMonitor.VolumeRemoved" signals.
      (tramp-get-media-devices): Set defaults for "media" in
    • Lars Ingebrigtsen's avatar
      Minor doc string clarification in use-hard-newlines · 7d1e9c94
      Lars Ingebrigtsen authored
      * lisp/textmodes/paragraphs.el (use-hard-newlines): Clarify that
      this minor mode isn't global (bug#20461).
    • Tino Calancha's avatar
      Fix bug 39218 · 72011f23
      Tino Calancha authored
      * lisp/simple.el (shell-command):
      Ensure a shell command ending with `&' is run asynchronously.
    • Tino Calancha's avatar
      Backport: Fix bug 39218 · e1deafd3
      Tino Calancha authored
      * lisp/simple.el (shell-command):
      Ensure a shell command ending with `&' is run asynchronously.
    • Paul Eggert's avatar
      Fix crash when sending Gnus message (Bug#39207) · 6f580542
      Paul Eggert authored
      * src/alloc.c (resize_string_data): The string must be multibyte.
      When not bothering to reallocate, do bother to change the byte count.
      * test/src/alloc-tests.el (aset-nbytes-change) New test.
    • Stefan Kangas's avatar
      Prefer saying "Info manual" to "info page" in docs · d15f2d4c
      Stefan Kangas authored
      Pointed out by Eli Zaretskii in:
      * doc/emacs/Makefile.in:
      * doc/lispintro/Makefile.in:
      * doc/lispref/Makefile.in:
      * doc/misc/Makefile.in:
      * lisp/dired-x.el (top-level):
      * lisp/gnus/gnus-sum.el (gnus-summary-mode):
      * lisp/progmodes/cperl-mode.el (cperl-info-page): Doc fix; prefer
      saying "Info manual" over "info page".