1. 22 Dec, 2018 7 commits
  2. 21 Dec, 2018 2 commits
    • Michael Albinus's avatar
      Fix Bug#33735 · 452d0c52
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter):
      Delete empty lines.  (Bug#33735)
      (tramp-sh-inotifywait-process-filter): Use `string-match'.
      (tramp-set-remote-path): Check for PIPE_BUF but PATH_MAX.
      
      * test/lisp/filenotify-tests.el: Handle $REMOTE_FILE_NOTIFY_LIBRARY.
      (file-notify--deftest-remote): Suppress vc-handled-backends.
      (file-notify-test08-backup): Do not expect failure on hydra.
      (Bug#33735).
      452d0c52
    • Michael Albinus's avatar
      * test/lisp/filenotify-tests.el, test/lisp/shadowfile-tests.el: · f1faf85f
      Michael Albinus authored
      Don't require tramp-sh, bug#33781 is fixed.
      f1faf85f
  3. 20 Dec, 2018 14 commits
  4. 19 Dec, 2018 14 commits
    • Glenn Morris's avatar
      Skip rather than fail in flymake tests · 7ca9bb78
      Glenn Morris authored
      * test/lisp/progmodes/flymake-tests.el
      (flymake-tests--wait-for-backends): Skip rather than fail if
      backends are slow to respond.  This always seems like a temporary
      system glitch and not something that should be reported as a failure.
      7ca9bb78
    • Eric Abrahamsen's avatar
      Make gnus-newsgroup-name local var available to gnus-summary-mode · 88215d24
      Eric Abrahamsen authored
      * lisp/gnus/gnus-sum.el (gnus-summary-mode-group): New defvar for
        passing gnus-newsgroup-name (a local variable) into the body of
        gnus-summary-mode, so that it's available to gnus-summary-mode-hook.
      88215d24
    • Juri Linkov's avatar
      * lisp/vc/diff-mode.el (diff-syntax-fontify-props): Use font-lock-ensure · 3a1d7227
      Juri Linkov authored
      unconditionally.  (Bug#33798)
      3a1d7227
    • Paul Eggert's avatar
      cl-make-random-state was not copying its arg · f4ea7464
      Paul Eggert authored
      Problem reported by Xu Chunyang (Bug#33731).
      * lisp/emacs-lisp/cl-extra.el (cl-make-random-state):
      Use copy-sequence, not copy-tree, so that the record is copied.
      * test/lisp/emacs-lisp/cl-extra-tests.el:
      (cl-extra-test-cl-make-random-state): New test.
      f4ea7464
    • Paul Eggert's avatar
      Minor fixes/simplifications to time functions · 5bd60744
      Paul Eggert authored
      * doc/lispintro/emacs-lisp-intro.texi (Files List): Simplify.
      * doc/lispref/os.texi (Time of Day): Mention format-time-string
      as an alternative to current-time-string.
      * lisp/arc-mode.el (archive-unixdate, archive-unixtime):
      Port better to future versions of Emacs where (COUNT . HZ)
      will take precedence to (HI . LO).
      * lisp/arc-mode.el (archive-unixtime):
      * lisp/calendar/todo-mode.el (todo-insert-item--basic)
      (todo-item-done, todo-read-time):
      Prefer format-time-string to substringing current-time-string.
      * lisp/calc/calc-forms.el (calc-time, calcFunc-now):
      Prefer decode-time to parsing the output of current-time-string.
      * lisp/emacs-lisp/cl-extra.el (cl--random-time):
      Prefer encode-time to hashing the output of current-time-string.
      * lisp/gnus/gnus-score.el (gnus-score-headers)
      (gnus-score-adaptive):
      Avoid stringifying and then reparsing timestamp.
      * src/timefns.c (Fencode_time): Omit redundant assignment.
      5bd60744
    • Glenn Morris's avatar
      Skip a vc-bzr test if run as root · fda43a7b
      Glenn Morris authored
      * test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-faulty-bzr-autoloads):
      Skip this test when run as root.  This works around a race
      condition in root-specific code in vc-mode-line when deleting a file.
      
      ; Do not merge to master, instead fix vc-mode-line there.
      fda43a7b
    • Michael Albinus's avatar
      * lisp/net/tramp-sh.el (tramp-set-remote-path): Send a warning, if · 3fa8bdca
      Michael Albinus authored
      $PATH exceeds PATH_MAX on the remote system.
      3fa8bdca
    • Nicholas Drozd's avatar
    • Glenn Morris's avatar
      ; Copyright year fix · 4370b8eb
      Glenn Morris authored
      No need to merge to master
      4370b8eb
    • Chris Feng's avatar
      Backport: Handle unread-command-events consistently (bug#23980) · 305aca0a
      Chris Feng authored
      * src/keyboard.c (read_char): Events put into `unread-command-events'
      with the form (t . EVENT) should always have the t stripped when read
      out.
      * test/src/keyboard-tests.el: New tests for `unread-command-events'.
      
      (cherry picked from commit 1f3f4b12)
      305aca0a
    • Glenn Morris's avatar
      Skip a remote filenotify test on hydra · dc3f70dc
      Glenn Morris authored
      * test/lisp/filenotify-tests.el (file-notify--deftest-remote):
      Add optional argument to skip test.
      (file-notify-test07-many-events-remote): Skip on hydra.nixos.org.
      dc3f70dc
    • Stefan Monnier's avatar
      * lisp/font-lock.el: Use lexical-binding · 70926a3e
      Stefan Monnier authored
      (font-lock-initial-fontify, font-lock-compile-keywords):
      Silence compiler warning.
      (font-lock-ensure-function): Fix some problems in last commit.
      70926a3e
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Restrict downcasing in elisp xref tests (bug#25534) · 4c6c327d
      Glenn Morris authored
      The tests happen to not fail at the moment because find-library-name
      now has an extra feature, find-library--from-load-history, which
      happens to do a case-insensitive regexp match; but still it seems
      better not to rely on this.
      
      * test/lisp/progmodes/elisp-mode-tests.el (xref--case-insensitive):
      New variable.
      (xref-elisp-test-run, emacs-test-dir): Only downcase if the
      filesystem seems to be case-insensitive.
      4c6c327d
  5. 18 Dec, 2018 3 commits
    • Juri Linkov's avatar
      More font-lock improvements for diff-mode · fb163130
      Juri Linkov authored
      * lisp/vc/diff-mode.el (diff-font-lock-keywords): Use diff-header face
      for git index lines (like already used for bzr index lines).
      Use diff-file-header face for binary file headers.
      (diff-find-source-location): Use expand-file-name for vc-find-revision.
      (diff--font-lock-prettify): Use diff-indicator-* faces for
      left-fringe indicators.
      (diff-syntax-fontify-props): Optimize to not use text-property-not-all
      for font-lock-ensure.
      
      * lisp/replace.el (occur-engine-line): Simplify to use font-lock-ensure
      without text-property-not-all.
      fb163130
    • Juri Linkov's avatar
      Fontify one-line diffs without the final newline (bug#33567) · 8cbbf4ba
      Juri Linkov authored
      * lisp/vc/diff-mode.el (diff-hunk-text, diff-syntax-fontify-hunk):
      Skip lines beginning with backslash like "\ No newline at end of file".
      (diff-syntax-fontify-hunk): Use string-trim-right.
      For one-line diffs use 1 explicitly in the list of line numbers.
      8cbbf4ba
    • Rob Browning's avatar
      Avoid test failures if directory name looks like a regexp · ab8ed418
      Rob Browning authored
      Taken from <https://sources.debian.org/patches/emacs/1:26.1+1-1>
      * test/lisp/ibuffer-tests.el (ibuffer-filter-inclusion-3):
      * test/lisp/net/tramp-tests.el (tramp-test42-remote-load-path):
      Regexp-quote file names to avoid failures with directory names
      of the form "build/emacs-i87jK3/emacs-26.1+1/...".
      ab8ed418