1. 23 Dec, 2018 1 commit
    • Michael Albinus's avatar
      Handle `make-process' in Tramp and ange-ftp · 3ea89aca
      Michael Albinus authored
      * doc/lispref/processes.texi (Asynchronous Processes):
      Explain, that not all file name handlers support `make-process'.
      * lisp/net/ange-ftp.el:
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
      * lisp/net/tramp.el (tramp-file-name-for-operation): Add `make-process'.
      * lisp/vc/ediff-util.el:
      * src/process.c:
      * test/src/process-tests.el: Use "file name handler" consequently.
  2. 22 Dec, 2018 7 commits
  3. 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.
    • 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.
  4. 20 Dec, 2018 14 commits
  5. 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.
    • 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.
    • Juri Linkov's avatar
      * lisp/vc/diff-mode.el (diff-syntax-fontify-props): Use font-lock-ensure · 3a1d7227
      Juri Linkov authored
      unconditionally.  (Bug#33798)
    • 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.
    • 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)
      Avoid stringifying and then reparsing timestamp.
      * src/timefns.c (Fencode_time): Omit redundant assignment.
    • 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.
    • 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.
    • Nicholas Drozd's avatar
    • Glenn Morris's avatar
      ; Copyright year fix · 4370b8eb
      Glenn Morris authored
      No need to merge to master
    • 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
      * test/src/keyboard-tests.el: New tests for `unread-command-events'.
      (cherry picked from commit 1f3f4b12)
    • 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.
    • 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.
    • 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.
  6. 18 Dec, 2018 2 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.
    • 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.