1. 22 Oct, 2018 1 commit
  2. 21 Oct, 2018 3 commits
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 969b5619
      Glenn Morris authored
    • Stefan Monnier's avatar
      Always define 'define-fringe-bitmap' · 08192e40
      Stefan Monnier authored
      * lisp/cus-start.el: Test 'fringe-bitmaps' to see if fringe.c was compiled.
      * lisp/fringe.el: Use lexical-binding.
      (define-fringe-bitmap): Provide a fallback implementation.
      * lisp/progmodes/flymake.el (flymake-double-exclamation-mark):
      Define unconditionally.
      * lisp/progmodes/gdb-mi.el (define-fringe-bitmap): Don't declare any more.
      (breakpoint, hollow-right-triangle): Define unconditionally.
    • Stefan Monnier's avatar
      * lisp/vc/diff-mode.el: Improve diff-font-lock-prettify · 17252062
      Stefan Monnier authored
      A few tweaks to the previous code for corner case problems, and a new
      feature, which is to move the +/- signs to the left fringe.
      (diff--font-lock-cleanup, diff--filter-substring): New functions.
      (diff-mode): Use them.
      (diff--font-lock-refined): Mark the overall overlays as `diff-mode
      fine` as well, so they get properly cleaned up when changing mode.
      (diff-fringe-add, diff-fringe-del, diff-fringe-rep, diff-fringe-nul):
      New bitmaps.
      (diff--font-lock-prettify): Move the +/- signs to the fringe.
      (diff-wiggle): Use 'user-error'.
  3. 20 Oct, 2018 3 commits
    • Michael Albinus's avatar
      Expand host names in Tramp's ad-hoc multi-hop file names · 67d3b40e
      Michael Albinus authored
      * doc/misc/tramp.texi (Quick Start Guide): Improve wording.
      (Change file name syntax): Say, that `tramp-file-name-regexp' is
      not constant.
      (Ad-hoc multi-hops): Explain host name expansion.
      * etc/NEWS: Mention that host names in Tramp ad-hoc multi-hop file
      names must match the previous hop for methods like "su" or "sudo".
      Fix typos.
      * lisp/net/tramp.el (tramp-find-method, tramp-find-user):
      Adapt docstring.
      (tramp-find-host): Mark default value.
      (tramp-dissect-file-name): Expand host name for hops.
      (tramp-dissect-hop-name, tramp-make-tramp-hop-name): New defuns.
      (tramp-clear-passwd): Simplify.
      * test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
      (tramp-test26-file-name-completion): Extend tests.
    • Eli Zaretskii's avatar
      Fix 'timer-next-integral-multiple-of-time' · efb21462
      Eli Zaretskii authored
      * lisp/emacs-lisp/timer.el
      (timer-next-integral-multiple-of-time): Fix recent change for
      fractional values of SECS.  (Bug#33071)
      * test/lisp/emacs-lisp/timer-tests.el
      (timer-next-integral-multiple-of-time-2): New test.
    • Stefan Monnier's avatar
      * lisp/mail/smtpmail.el: (smtpmail-send-queued-mail): Avoid 'load' · d684f5d5
      Stefan Monnier authored
      (smtpmail-send-it): Send metadata directly to the
      files without bothering to write it into a temp buffer.
  4. 19 Oct, 2018 6 commits
    • Stefan Monnier's avatar
      * emacs-lisp/package.el (package-get-version): Change into a function · 32e41194
      Stefan Monnier authored
      (package-quickstart-refresh): Mangle string so it doesn't turn into
      a false positive for "no-byte-compile: t".
    • Alan Mackenzie's avatar
      In edebug in GUIs, move focus to the selected frame. · 7cfe2dc4
      Alan Mackenzie authored
      Thus when entering edebug, the focus will be moved to the frame with the
      source being debugged, and when its finished, the focus will move back.
      Commands edebug-visit-eval-list (`E') and edebug-bounce-point (`p') have been
      likewise amended.
      * src/keyboard.c (readable_events): Handle FOCUS_OUT_EVENT as an invisible
      event.  This prevents input-pending-p returning t when one of these events
      arrives, and thus obviates an instant termination of sit-for when there's no
      "real" event waiting.
      * lisp/emacs-lisp/edebug.el (edebug-focus-frame): New function.
      (edebug-default-enter, edebug--display-1, edbug-where, edebug-bounce-point)
      (edebug-visit-eval-list): Call edebug-focus-frame to move focus into the
      window newly selected by edebug-pop-to-buffer.
    • Paul Eggert's avatar
      Fix struct thread alignment on FreeBSD x86 · d2a07b9a
      Paul Eggert authored
      Problem reported by Joseph Mingrone in:
      While we’re at it, apply a similar fix to struct Lisp_Subr; this
      removes the need for GCALIGNED_STRUCT_MEMBER and thus can shrink
      struct Lisp_Subr a bit.
      * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Bring back this macro.
      Although used only for performance (not to actually align
      structures), we might as well take advantage of it.
      * src/lisp.h (GCALIGNED_STRUCT_MEMBER): Remove; all uses removed.
      (union Aligned_Lisp_Subr): New type, like struct Lisp_Subr but aligned.
      * src/lisp.h (XSUBR, DEFUN):
      * src/lread.c (defsubr): Use it.  All callers changed.
      * src/thread.c (union aligned_thread_state): New type.
      (main_thread): Now of this type, so it’s aligned.
      All uses changed.
      * src/xmenu.c (syms_of_xmenu) [USE_GTK || USE_X_TOOLKIT]:
      Adjust to union Aligned_Lisp_Subr change.
    • Eli Zaretskii's avatar
    • Alan Mackenzie's avatar
      In follow mode windows in a GUI, don't display inactive cursors · 487931cd
      Alan Mackenzie authored
      This is done by setting cursor-in-non-selected-windows buffer locally.
      * lisp/follow.el (follow-hide-ghost-cursors): New customizable option.
      (follow-mode): Create and set, or kill buffer-local copy of
      cursor-in-non-selected-windows when the mode gets enabled or disabled.
      (follow-prev-buffer): New variable.
      (follow-adjust-window): Manipulate cursor-in-non-selected-windows when the
      current buffer changes, to ensure that cursors stay visible in non-selected
      follow window groups.
      * etc/NEWS: Add an entry for this change.
    • Martin Rudalics's avatar
      Have 'split-window' handle 'up' and 'down' values (Bug#32790) · 25101263
      Martin Rudalics authored
      * lisp/window.el (split-window): Handle values of 'up' and 'down'
      for SIDE argument (Bug#32790).
      (window-in-direction): Amend doc-string as of yesterday's change.
  5. 18 Oct, 2018 5 commits
  6. 17 Oct, 2018 2 commits
    • Eli Zaretskii's avatar
      Avoid assertion violation when comparing with main-thread · 73567432
      Eli Zaretskii authored
      * src/thread.c (unmark_main_thread): New function.
      * src/lisp.h (unmark_main_thread): Prototype it.
      * src/alloc.c (garbage_collect_1): Call it after sweeping.
      * test/src/thread-tests.el (threads-test-bug33073): New test.
    • Federico Tedin's avatar
      Allow two mouse functions to work with Rectangle Mark mode · 134ba45b
      Federico Tedin authored
      * lisp/mouse.el (mouse-save-then-kill): Make
      mouse-save-then-kill work with rectangular regions, including
      when mouse-drag-copy-region is set to t. (Bug#31240)
      (mouse-drag-and-drop-region): Allow dragging and dropping
      rectangular regions. (Bug#31240)
      * rect.el (rectangle-intersect-p)
      (rectangle-position-as-coordinates): New functions.
  7. 16 Oct, 2018 8 commits
  8. 15 Oct, 2018 8 commits
  9. 14 Oct, 2018 4 commits