1. 14 Feb, 2020 8 commits
  2. 13 Feb, 2020 7 commits
    • Alan Third's avatar
      Use CGImage instead of NSBitmapImageRep (bug#32932) · 44298ea6
      Alan Third authored
      * src/nsterm.m (ns_update_end):
      (ns_clear_frame): Remove forced draws.
      (ns_dumpglyphs_image): No longer need to invert images as the context
      is already flipped.
      ([EmacsView updateFrameSize:]):
      ([EmacsView initFrameFromEmacs:]): Use new function.
      ([EmacsView createDrawingBuffer]): Replaces createDrawingBufferWithRect:.
      ([EmacsView focusOnDrawingBuffer]): Set CGImage context.
      ([EmacsView windowDidChangeBackingProperties:]): Use new function.
      ([EmacsView copyRect:to:]): Copy using CGImages.
      ([EmacsView wantsUpdateLayer]):
      ([EmacsView updateLayer]): New Functions.
      ([EmacsView drawRect:]): We no longer do anything special here for
      ([EmacsView windowDidChangeBackingProperties:]): Fix indentation and
      add NSTRACE.
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · a13d1f95
      Glenn Morris authored
      0304f530 (origin/emacs-27) doc/misc/org.texi: Fix @dircategory
      027da652 Fix display of minibuffer prompt in ido.el
      5a21aaff rx: Use longest match for all-string 'or' forms (bug#37659)
      2b12c2b6 Make sure not to mark directories
      ff4ed4a0 ; Add a TODO
      3a5129a1 vc-hg-dir-status-files: Fix when DIR is not repository root
      # Conflicts:
      #	etc/NEWS
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 70d62e0c
      Glenn Morris authored
      The following commit was skipped:
      89d0c445 Revert "Fix display of working text on NS (Bug#23412, Bug#...
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 56ce263f
      Glenn Morris authored
      ad5e350a c-end-of-macro: Handle block coment lines with unescaped N...
      06c302d4 Fix set-fontset-font with ADD arg non-nil
      53006746 Correct "different than" to "different from" where appropr...
      56b8768b More accurate documentation of 'package-menu-hide-package'
    • Michael Albinus's avatar
      Simplify Tramp caching · 5b160b39
      Michael Albinus authored
      * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties)
      (tramp-flush-connection-properties, tramp-list-connections)
      * lisp/net/tramp-gvfs.el (tramp-parse-goa-accounts)
      (tramp-parse-media-names): Simplify cache handling.
    • Michael Albinus's avatar
      Fix `tramp-interrupt-process' · 7fda3941
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-interrupt-process): Improve command.
      * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name)
      (tramp-test26-file-name-completion): Simplify.
      (tramp-test31-interrupt-process): Remove :unstable tag.
    • Bastien's avatar
      doc/misc/org.texi: Fix @dircategory · 0304f530
      Bastien authored
      * doc/misc/org.texi: Fix @dircategory.
  3. 12 Feb, 2020 3 commits
    • Eli Zaretskii's avatar
      Fix display of minibuffer prompt in ido.el · 027da652
      Eli Zaretskii authored
      * lisp/minibuffer.el (minibuffer--message-overlay-pos): New
      (set-minibuffer-message): Use it to determine where to show the
      overlay with the temporary message.
      * lisp/ido.el (ido-exhibit): Revert "Render Ido suggestions using
      an overlay"; this restores the original code which inserted the
      match-status information into the minibuffer, instead of
      displaying it in an overlay with an after-string.  Put the special
      'minibuffer-message' text property at the beginning of the
      inserted text.  (Bug#39379)
      * etc/NEWS:
      * doc/lispref/display.texi (Displaying Messages):
      * doc/lispref/text.texi (Special Properties): Document the
      'minibuffer-message' text property and its effect.
    • Michael Albinus's avatar
      Fix Tramp tests towards *BSD · de1d150a
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-get-remote-gid): Declare.
      (tramp-test18-file-attributes): Check `file-ownership-preserved-p'
      only if possible.
      (tramp-test30-make-process): Modify test due to *BSD.
    • Mattias Engdegård's avatar
      rx: Use longest match for all-string 'or' forms (bug#37659) · 5a21aaff
      Mattias Engdegård authored
      Revert to the Emacs 26 semantics that always gave the longest match
      for rx 'or' forms with only string arguments.  This guarantee was
      never well documented, but it is useful and people likely have come to
      rely on it.  For example, prior to this change,
       (rx (or ">" ">="))
      matched ">" even if the text contained ">=".
      * lisp/emacs-lisp/rx.el (rx--translate-or): Don't tell regexp-opt to
      preserve the matching order.
      * doc/lispref/searching.texi (Rx Constructs): Document the
      longest-match guarantee for all-string 'or' forms.
      * test/lisp/emacs-lisp/rx-tests.el (rx-or): Update test.
  4. 11 Feb, 2020 5 commits
  5. 10 Feb, 2020 4 commits
    • Alan Mackenzie's avatar
      c-end-of-macro: Handle block coment lines with unescaped NLs correctly · ad5e350a
      Alan Mackenzie authored
      * lisp/progmodes/cc-langs.el (c-last-open-c-comment-start-on-line-re): Make
      obsolete, and supersede by ...
      (c-open-c-comment-on-logical-line-re): New language variable.
      * lisp/progmodes/cc-engine.el (c-end-of-macro): Inside macros, handle
      multiline block comments whose line ends are not escaped correctly.
    • Michael Albinus's avatar
      Fix window position in Tramp's shell-command · 2e2f5390
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-shell-command): Fix `window-start'
      in output buffer.  (Bug#39171)
    • Eli Zaretskii's avatar
      ; Fix recently-committed documentation · 79355517
      Eli Zaretskii authored
      * etc/NEWS:
      * doc/emacs/fixit.texi (Undo): Fix documentation of a recently
      introduced command 'undo-redo'.
    • Juri Linkov's avatar
      Use quit-restore-window to close tab (bug#39446) · ac9acc18
      Juri Linkov authored
      * lisp/tab-bar.el (display-buffer-in-new-tab): New function with code
      from display-buffer-in-tab.
      (display-buffer-in-tab): Call display-buffer-in-new-tab.
      (switch-to-buffer-other-tab): Instead of 'display-buffer-same-window'
      use '(reusable-frames . t)'.
      * lisp/windmove.el (windmove-display-in-direction): Set arg 'type'
      to 'tab' for window--display-buffer when creating a new tab.
      * lisp/window.el (quit-restore-window): Call tab-bar-close-tab
      when quit-restore type is 'tab'.
      (display-buffer-record-window): Set window-parameter 'quit-restore'
      to 'tab' for type 'tab'.
      (window--display-buffer): Set window-prev-buffers to nil for tab too.
  6. 09 Feb, 2020 4 commits
    • Eli Zaretskii's avatar
      Fix set-fontset-font with ADD arg non-nil · 06c302d4
      Eli Zaretskii authored
      * src/fontset.c (fontset_add): Fix off-by-one error at TO.
    • Alan Mackenzie's avatar
      Correct "different than" to "different from" where appropriate · 53006746
      Alan Mackenzie authored
      (src/xfaces.c): Replace "different than" by "different from".
    • Paul Eggert's avatar
      Update from Gnulib · 5e7bead8
      Paul Eggert authored
      This incorporates:
      2020-02-08 lchmod: ensure declaration on HP-UX
      2020-02-08 fchmodat: fix endless recursion on Cygwin
      2020-02-08 Fix compilation errors in a testdir
      2020-02-07 fchmodat: AT_SYMLINK_NOFOLLOW fix for non-symlinks
      2020-02-04 Port _Noreturn to older Clang
      2020-02-03 libc-config: port to Apple’s Clang variant
      * lib/_Noreturn.h, lib/c++defs.h, lib/libc-config.h, lib/sys_stat.in.h:
      * m4/gnulib-common.m4, m4/sys_stat_h.m4: Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
    • Stefan Monnier's avatar
      * lisp/simple.el (undo-redo): New command · 2645ae12
      Stefan Monnier authored
      (undo--last-change-was-undo-p): New function.
      * test/lisp/simple-tests.el (simple-tests--exec): New function.
      (simple-tests--undo): New test.
  7. 08 Feb, 2020 4 commits
    • Eli Zaretskii's avatar
      Allow composition of pure-ASCII strings in the mode line · fe903c5a
      Eli Zaretskii authored
      * src/composite.c (Fcomposition_get_gstring): Allow unibyte
      strings if they are pure ASCII, by copying text into a
      multibyte string.
    • Kyle Hubert's avatar
      Improve prefix arg support in 'ediff-scroll-horizontally' · 953e7abf
      Kyle Hubert authored
      * lisp/vc/ediff-util.el (ediff-scroll-horizontally): Use
      'current-prefix-arg' to pass the value of prefix argument to
      scrolling commands.  (Bug#39353)
      Copyright-paperwork-exempt: yes
    • Yuan Fu's avatar
      Enhance memory address evaluation in gdb-mi · 07e1852c
      Yuan Fu authored
      Before, the memory buffer evaluated the expression as address and used
      the fixed result in each stop.  This change store the expression
      itself and reevaluates it in each stop to yield an address.
      We also add a warning (a red bold exclamation mark) on the header line
      when the content of the page doesn't represent the memory location
      user requested for.  That happends when some error occurs in
      evaluating the address, and we display the last successfully displayed
      memory page.
      * lisp/progmodes/gdb-mi.el (gdb-memory-address-expression)
      (gdb--memory-display-warning): New variables.
      (gdb-memory-address): Change default value to nil; add docstring.
      (def-gdb-trigger-and-handler, gdb-invalidate-memory)
      (gdb-memory-set-address): Replace 'gdb-memory-address' with
      (gdb-memory-header): Add code to display
      'gdb-memory-address-expression' on header line.  Move the mouse event
      from address to expression.  Add code to display the warning.
      (gdb-memory-header): Fix the error from
      'propertize' when 'gdb-memory-address-expression' or
      'gdb-memory-address' is nil.
      (gdb-read-memory-custom): Change 'error' to 'user-error'.  Add code to
      display the warning.  (Bug#39180)
    • Eli Zaretskii's avatar
      More accurate documentation of 'package-menu-hide-package' · 56b8768b
      Eli Zaretskii authored
      * doc/emacs/package.texi (Package Menu): Improve the description
      of the 'H' command.
      * lisp/emacs-lisp/package.el (package-menu-mode-menu): More
      accurate wording of the help-echo string.
      (package-menu-hide-package): Make the doc string more accurate.
  8. 07 Feb, 2020 3 commits
    • Michael Albinus's avatar
      Some Tramp fixes · 30abcda5
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-connectable-p):
      * lisp/net/tramp-cache.el (tramp-list-connections):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled):
      Bind `tramp-verbose' to 0.
      * lisp/net/tramp-sh.el (tramp-remote-path, tramp-find-executable):
      Fix docstring.
      (tramp-open-shell): Read prompt when moving "~/.editrc".
    • Eli Zaretskii's avatar
      Minor fixes of the last commit · ac6ba689
      Eli Zaretskii authored
      * src/xdisp.c (get_window_cursor_type): Fix indentation and
      * doc/lispref/frames.texi (Cursor Parameters):
      * doc/emacs/display.texi (Cursor Display):
      * etc/NEWS: Fix wording and capitalization of the last change.
    • Zajcev Evgeny's avatar
      Support for (box . SIZE) 'cursor-type' · 63fd6c9e
      Zajcev Evgeny authored
      This allows control of the minimum size of a masked image under
      which the box cursor becomes hollow.
      * buffer.c (cursor-type): Add commentary about (box . SIZE)
      * xdisp.c (get_specified_cursor_type): Check for 'cursor-type'
      of the form (box . SIZE).
      (get_window_cursor_type): Check masked image size for
      (box . SIZE) 'cursor-type'.
      * doc/emacs/display.texi (Cursor Display):
      * doc/emacs/display.texi (Cursor Parameters): Add description
      of (box . SIZE) 'cursor-type'.
      * etc/NEWS: Mention the new (box . SIZE) 'cursor-type'.
  9. 06 Feb, 2020 2 commits