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
      969b5619
    • 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.
      08192e40
    • 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'.
      17252062
  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-test02-file-name-dissect-simplified)
      (tramp-test02-file-name-dissect-separate)
      (tramp-test26-file-name-completion): Extend tests.
      67d3b40e
    • 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.
      efb21462
    • 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.
      d684f5d5
  4. 19 Oct, 2018 4 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".
      32e41194
    • 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.
      7cfe2dc4
    • 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.
      487931cd
    • 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.
      25101263
  5. 18 Oct, 2018 4 commits
  6. 17 Oct, 2018 1 commit
    • 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.
      134ba45b
  7. 16 Oct, 2018 5 commits
  8. 15 Oct, 2018 5 commits
  9. 13 Oct, 2018 2 commits
  10. 12 Oct, 2018 4 commits
    • Michael Albinus's avatar
      * lisp/net/trampver.el (customize-package-emacs-version-alist): · ac2a04e8
      Michael Albinus authored
      Adapt Tramp version integrated in Emacs 26.2.
      ac2a04e8
    • Michael Albinus's avatar
      Fix error in Tramp loading, uncovered by tramp-test43-* · 10cd2500
      Michael Albinus authored
      * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler):
      New defalias.
      (tramp-register-archive-file-name-handler): Use it.
      
      * lisp/net/tramp.el (tramp-file-name-for-operation): Change it for
      `expand-file-name'.
      (tramp-file-name-handler): Unset `file-name-handler-alist' when
      autoloading a Tramp file name handler.
      (tramp-autoload-file-name-handler): Always unload Tramp file name
      handlers.
      (tramp-register-file-name-handlers)
      (tramp-unload-file-name-handlers): Simplify.
      10cd2500
    • Allen Li's avatar
      Rework empty abbrev table omitting · f5896e2c
      Allen Li authored
      There were two problems with the original implementation:
      
      1. It changed the behavior of insert-abbrev-table-description when
      READABLE is nil to sometimes insert one Emacs Lisp expression and
      sometimes insert nothing.
      2. It broke the tests.
      
      This commit reworks this so that insert-abbrev-table-description
      always inserts an expressions even if no abbrevs need to be saved and
      making only write-abbrev-file check that a table has any abbrevs to
      save before calling insert-abbrev-table-description.  This duplicates
      the work of filtering the table for savable abbrevs, but the benefit
      of keeping the API is worth it.
      
      * doc/lispref/abbrevs.texi (Abbrev Tables): Update documentation.
      * lisp/abbrev.el (write-abbrev-file): Skip tables without user abbrevs
      (insert-abbrev-table-description): Always insert the define
      expression.
      (abbrev--table-symbols): New function.
      * test/lisp/abbrev-tests.el (abbrev--table-symbols-test):
      Add test for abbrev--table-symbols.
      f5896e2c
    • Alex Branham's avatar
      Avoid byte-compiler warning in em-rebind.el · 643df633
      Alex Branham authored
      * lisp/eshell/em-rebind.el (eshell-delete-backward-char): Use
      'delete-char' instead of delete-backward-char.  (Bug#32945)
      643df633
  11. 11 Oct, 2018 3 commits
  12. 10 Oct, 2018 2 commits
  13. 09 Oct, 2018 3 commits