1. 12 Jun, 2018 4 commits
    • Noam Postavsky's avatar
      ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) · 5bdc3447
      Noam Postavsky authored
          make -C test SELECTOR='\"foo\"'
          make -C test SELECTOR='(quote (tag :some-tag))'
          make -C test SELECTOR='"foo"'
          make -C test SELECTOR='(tag :some-tag)'
      * test/Makefile.in: Use single quotes around the command line call to
      ert, this means the user doesn't have to backslash escape double
      quotes when writing lisp strings for the selector.  Also wrap the
      SELECTOR value in (quote ...) so the user won't have to type it
      in (and not get tempted to use the '... reader syntax form which would
      now fail to work due to using single quotes around the whole shell
      * test/README: Update instructions accordingly.
    • Noam Postavsky's avatar
      ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744). · b6b793bd
      Noam Postavsky authored
      * test/README: Note the new option.
    • Noam Postavsky's avatar
      Make 'tags' targets respect --with-silent-rules (Bug#31744) · 1aa906f1
      Noam Postavsky authored
      * lwlib/Makefile.in (TAGS):
      * lisp/Makefile.in (TAGS):
      * src/Makefile.in (TAGS): Use AM_V_GEN and AM_V_at.
      * src/Makefile.in: Note that TAGS are generated in build dir.
    • Thomas Fitzsimmons's avatar
      soap-client: Add byte-code compatibility function (Bug#31742) · 642c11fd
      Thomas Fitzsimmons authored
      * lisp/net/soap-client.el: Bump version to 3.1.4.
      (soap-type-of): New function.
      (soap-resolve-references, soap-decode-type)
      (soap-encode-attributes, soap-encode-value): Replace aref
      calls with calls to soap-type-of.
      * lisp/net/soap-inspect.el (soap-sample-value, soap-inspect):
      Replace aref calls with calls to soap-type-of.
      Co-authored-by: default avatarNoam Postavsky <npostavs@gmail.com>
      Backport: (cherry picked from commit
  2. 11 Jun, 2018 1 commit
  3. 10 Jun, 2018 2 commits
  4. 09 Jun, 2018 4 commits
    • Eli Zaretskii's avatar
      Enlarge DUMPED_HEAP_SIZE for 64-bit Windows builds · 3434edc7
      Eli Zaretskii authored
      * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 23MB.  Reported by
      Andy Moreton <andrewjmoreton@gmail.com>.
    • Eli Zaretskii's avatar
      Update Unicode data files to version 11.0.0 of Unicode · 36bbdfc0
      Eli Zaretskii authored
      * admin/unidata/UnicodeData.txt:
      * admin/unidata/SpecialCasing.txt:
      * admin/unidata/NormalizationTest.txt:
      * admin/unidata/copyright.html:
      * admin/unidata/BidiMirroring.txt:
      * admin/unidata/BidiBrackets.txt: Import from Unicode 11.0.
      * admin/notes/unicode: Update the URL for OTF script tags.
      * lisp/international/mule-cmds.el (ucs-names): Update unused ranges.
      * lisp/international/fontset.el (script-representative-chars): Add
      hanifi-rohingya, old-sogdian, sogdian, dogra, gunjala-gondi,
      makasar, and medefaidrin.
      (otf-script-alist): Add old-hungarian.
      * lisp/international/characters.el (tbl): Add syntax entries for
      Supplemental Mathematical Operators, Miscellaneous Symbols and
      Arrows, and Supplemental Punctuation.
      Update the list of wide characters.
      * test/lisp/international/ucs-normalize-tests.el
      (ucs-normalize-tests--failing-lines-part2): Update to match
      * doc/lispref/nonascii.texi (Character Properties): Update the
      reference to the Unicode Standard.
      * doc/misc/efaq.texi (New in Emacs 26):
      * etc/NEWS: Mention compatibility with Unicode 11.0.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Clarify the documentation of 'dired-recursive-deletes' · 5b6f8b54
      Eli Zaretskii authored
      * doc/emacs/dired.texi (Dired Deletion): Clarify text regarding
      recursive deletion of non-empty directories.  (Bug#31529)
  5. 08 Jun, 2018 3 commits
  6. 07 Jun, 2018 2 commits
  7. 06 Jun, 2018 3 commits
    • NicolasPetton's avatar
    • Eli Zaretskii's avatar
      Fix cursor movement by 'next-logical-line' after 'next-line' · e5ab25de
      Eli Zaretskii authored
      * src/indent.c (Fvertical_motion): Adjust TO_X when line-numbers
      are being displayed.  Remove unneeded "correction" of TO_X at the
      goal line.
      * lisp/simple.el (last--line-number-width): Remove unneeded
      (line-move-visual): Account for line-number display width by
      adjusting the pixel X coordinate that gets converted into
      canonical columns passed to vertical-motion, instead of adjusting
      temporary-goal-column (which then affects next commands, including
      next-logical-line).  (Bug#31723)
    • Allen Li's avatar
      Fix prompt in bookmark.el (Bug#24726) · d20beef5
      Allen Li authored
      * lisp/bookmark.el (bookmark-set-internal): Conform to the standard
      default prompt format (per `minibuffer-electric-default-mode') which
      does not use a colon.
  8. 05 Jun, 2018 4 commits
  9. 04 Jun, 2018 4 commits
  10. 03 Jun, 2018 13 commits
    • Phil Sainty's avatar
      Fix remote-host directory tracking for shells in `term' buffers · 03697e64
      Phil Sainty authored
      * lisp/term.el (term-handle-ansi-terminal-messages): Use an explicit
      tramp method when constructing the tramp path for a non-local host,
      as this is now mandatory.  "-" is a pseudo-method for the user's
      `tramp-default-method'.  (Bug#31355)
      Specify the remote username explicitly in all cases, as
      `tramp-default-user' and `tramp-default-user-alist' could cause the
      previous logic to fail.
      Minor related improvements to the commentary.
    • Eli Zaretskii's avatar
      Update doc string of 'rx' · 16e8541b
      Eli Zaretskii authored
      * lisp/emacs-lisp/rx.el (rx): Update the description of some
      character classes.
    • Noam Postavsky's avatar
      ; Merge: backports from master · 9a14b4d1
      Noam Postavsky authored
    • Stefan Monnier's avatar
      Fix bug#30846, along with misc cleanups found along the way · ed962f2b
      Stefan Monnier authored
      * test/src/data-tests.el (data-tests-kill-all-local-variables): New test.
      * src/buffer.c (swap_out_buffer_local_variables): Remove.
      Fuse the body of its loop into that of reset_buffer_local_variables.
      (Fkill_buffer, Fkill_all_local_variables): Don't call it any more.
      (reset_buffer_local_variables): Make sure the buffer's local binding
      is swapped out before removing it from the alist (bug#30846).
      Call watchers before actually killing the var.
      * src/data.c (Fmake_local_variable): Simplify.
      Use swap_in_global_binding to swap out any local binding, instead of
      a mix of find_symbol_value followed by messing with where&found.
      Don't call swap_in_symval_forwarding since the currently swapped
      binding is never one we've modified.
      (Fkill_local_variable): Use swap_in_global_binding rather than messing
      with where&found to try and trick find_symbol_value into doing the same.
      * src/alloc.c (mark_localized_symbol): 'where' can't be a frame any more.
      (cherry picked from commit 3ddff080)
    • Jay Kamat's avatar
      esh-opt.el: Fix improper parsing of first argument (Bug#28323) · 3ba5fc2b
      Jay Kamat authored
      Examples of broken behavior:
          sudo -u root whoami
          Outputs: -u
          ls -I '*.txt' /dev/null
          Errors with: *.txt: No such file or directory
      * lisp/eshell/esh-opt.el (eshell--process-args): Refactor usage of
      args to eshell--args, as we rely on modifications from
      eshell--process-option and vice versa.  These modifications were not
      being propogated in the (if (= ai 0)) case, since popping the first
      element of a list doesn't destructively modify the underlying list
      (cherry picked from commit 92a8230e)
    • Noam Postavsky's avatar
      * lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363). · 0ac98cc6
      Noam Postavsky authored
      (cherry picked from commit 217202c0)
    • Noam Postavsky's avatar
      Fix cl-print for circular sublists (Bug#31146) · 9552485c
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-print.el (cl-print-object) <cons>: Push each
      element of list being printed onto cl-print--currently-printing.
      * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle-2): New
      (cherry picked from commit b8aa7ecf)
    • Lars Ingebrigtsen's avatar
      Revert "Make mail-extract-address-components return the user name more" · 4c6cdf6f
      Lars Ingebrigtsen authored
      This reverts commit 8b50ae8b.
      According to tests in bug#27656 by OGAWA Hirofumi, this patch
      led to wrong results when binding
      (dolist (addr '("Rasmus <rasmus@gmx.us>" "Rasmus <mbox@gmx.us>"))
        (dolist (ignore-single '(t nil))
          (dolist (ignore-same '(t nil))
            (let ((mail-extr-ignore-single-names ignore-single)
      	    (mail-extr-ignore-realname-equals-mailbox-name ignore-same))
      	(message "%s" (mail-extract-address-components addr))))))
      in combination.
      (cherry picked from commit a3a9d543)
    • Paul Eggert's avatar
      Centralize Bug#30931 fix · 51ee8bc4
      Paul Eggert authored
      * src/marker.c (detach_marker): New function.
      * src/editfns.c (save_restriction_restore):
      * src/insdel.c (signal_before_change): Use it.
      (cherry picked from commit 6f66a43d)
    • Noam Postavsky's avatar
      Fix another case of freed markers in the undo-list (Bug#30931) · daa60233
      Noam Postavsky authored
      * src/alloc.c (free_marker): Remove.
      * src/editfns.c (save_restriction_restore):
      * src/insdel.c (signal_before_change): Detach the markers from the
      buffer when we're done with them instead of calling free_marker on
      * test/src/editfns-tests.el (delete-region-undo-markers-1)
      (delete-region-undo-markers-2): New tests.
      (cherry picked from commit 96b8747d)
    • Paul Eggert's avatar
      Fix CHECK_ALLOCATED_AND_LIVE abort during GC · 7460840a
      Paul Eggert authored
      * src/editfns.c (save_restriction_restore):
      Wait for the GC to free the temporary markers (Bug#30931).
      (cherry picked from commit 670f2ffa)
    • Noam Postavsky's avatar
      Don't wait for visible frames to become visible · 71192e0b
      Noam Postavsky authored
      For discussion, see thread starting at
      * src/xterm.c (x_make_frame_visible): Check FRAME_VISIBLE_P before
      calling x_wait_for_event.
      (cherry picked from commits 2a192e21
      and 00c1f771)
    • Tino Calancha's avatar
      query-replace undo: Handle when user edits the replacement string · 5fa73a7d
      Tino Calancha authored
      * lisp/replace.el (perform-replace): Update the replacement string
      after the user edit it (Fix Bug#31538).
      * test/lisp/replace-tests.el (query-replace-undo-bug31538): New test.
      Backport: (cherry picked from commits