*** /tmp/ediffDh3DJa 2019-03-29 18:01:12.059246938 +0100 --- /home/albinus/src/tramp/lisp/tramp.el 2019-03-29 17:58:44.756196926 +0100 *************** *** 4210,4216 **** the remote host use line-endings as defined in the variable `tramp-rsh-end-of-line'. The communication buffer is erased before sending." (let* ((p (tramp-get-connection-process vec)) ! (chunksize (tramp-get-connection-property p "chunksize" nil))) (unless p (tramp-error vec 'file-error "Can't send string to remote host -- not logged in")) --- 4210,4219 ---- the remote host use line-endings as defined in the variable `tramp-rsh-end-of-line'. The communication buffer is erased before sending." (let* ((p (tramp-get-connection-process vec)) ! (chunksize (tramp-get-connection-property p "chunksize" nil)) ! ;; We do not want to run timers. ! (stimers (with-timeout-suspend)) ! timer-list timer-idle-list) (unless p (tramp-error vec 'file-error "Can't send string to remote host -- not logged in")) *************** *** 4238,4244 **** (process-send-string p (substring string pos (min (+ pos chunksize) end))) (setq pos (+ pos chunksize)))) ! (process-send-string p string))))) (defun tramp-get-inode (vec) "Returns the virtual inode number. --- 4241,4249 ---- (process-send-string p (substring string pos (min (+ pos chunksize) end))) (setq pos (+ pos chunksize)))) ! (process-send-string p string)) ! ;; Reenable the timers. ! (with-timeout-unsuspend stimers)))) (defun tramp-get-inode (vec) "Returns the virtual inode number.