From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#32537: 26.1.50; Tramp: Cursor jumps when typing during asynchronous find-file Date: Sun, 26 Aug 2018 10:39:55 -0700 Message-ID: <875zzxowlw.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535305158 28063 195.159.176.226 (26 Aug 2018 17:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Aug 2018 17:39:18 +0000 (UTC) To: 32537@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 26 19:39:13 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftz0L-0007ED-Ij for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Aug 2018 19:39:13 +0200 Original-Received: from localhost ([::1]:49880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftz2R-0005Al-PC for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Aug 2018 13:41:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftz2B-00058d-1Y for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftz26-0004h1-79 for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56639) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftz25-0004gi-Uv for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftz25-0005Ov-Om for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Aug 2018 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153530524520729 (code B ref -1); Sun, 26 Aug 2018 17:41:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Aug 2018 17:40:45 +0000 Original-Received: from localhost ([127.0.0.1]:33424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftz1p-0005OH-14 for submit@debbugs.gnu.org; Sun, 26 Aug 2018 13:40:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftz1m-0005O4-OZ for submit@debbugs.gnu.org; Sun, 26 Aug 2018 13:40:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftz1g-0003zk-CE for submit@debbugs.gnu.org; Sun, 26 Aug 2018 13:40:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ftz1g-0003zR-8a for submit@debbugs.gnu.org; Sun, 26 Aug 2018 13:40:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftz1c-0004bx-Uc for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:40:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftz19-0003UP-4v for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:40:06 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:51256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftz18-0003Qe-PZ for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 13:40:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:Subject:To:From; bh=8i5UelRW1z5Lf+hIVCX5KZtS389EztyNHs2nvibcvn8=; b=NB5MjLcxLbkQtIUA0uT37a3SIF 6QtGb1JCQmPRsNVz/9lp1X/nRTez5uDJXdAslLMNJ1/i7MqnP/nX4CHdgQa12oJn0i1EuUOgKd/Ap LdgmEtCHFOqShUKmbe1rjxcgPpqUeFfEcv4+VqfsT67NWk1TJVNv0p0/xZyQxKiqrivF9B5MP4FRo Mb/QhyoeNgAtx25Iwb2R077KZNL06FEgTKVIOCZbNtgaJK7PMatq1Aek+RoEjGe+TCqzkWeK8KfR9 izdfS2Og3mZp8QnFW5Pylo8qYjCGKzmhSjzgsyn+dNHScf8TBp+sQlHa2+ydH4CfNNkRRd7mF5o/+ ncWX/rjQ==; Original-Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ftz17-0001Bu-1b for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 19:40:01 +0200 Original-Received: by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1ftz14-0005Zj-6y for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 19:39:59 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149763 Archived-At: This bug report is against the feature/tramp-thread-safe branch, 162353c45c. Continuous typing during an asynchronous find-file will result in garbled input because the cursor periodically jumps backwards. To reproduce, with emacs -Q, *scratch* as the current buffer, and a remote machine with the Emacs source tree: C-x & C-x C-f scp:server:src/emacs/lisp/emacs-lisp/b*.el RET Then type "The rain in Spain falls mainly on the plain." or other sentence of your choice, over and over. Stop when the message about checking vc-registered appears in the echo area. Result: There will be a pause before the first typed text appears, then Emacs will start showing the typed text normally, except periodically the cursor will jump backwards so text will be inserted in the wrong place. After the first vc-registered message, Emacs will stop responding to input until after a buffer for one of the opened files is displayed. I'm running Emacs on a laptop which is using my cell phone's mobile hotspot to connect to a machine on my home network, meaning there is significant latency. In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.28) of 2018-08-21 built on sockeye Repository revision: 162353c45cf7ae8c5626a5062c247a793e30e7d0 System Description: NixOS 18.03.git.bd06547 (Impala) Recent messages: Tramp: Checking =E2=80=98vc-registered=E2=80=99 for /scp:chinook:/home/gem/= src/emacs/master/lisp/emacs-lisp/bytecomp.el...done Tramp: Checking =E2=80=98vc-registered=E2=80=99 for /scp:chinook:/home/gem/= src/emacs/master/lisp/emacs-lisp/backquote.el...done Tramp: Checking =E2=80=98vc-registered=E2=80=99 for /scp:chinook:/home/gem/= src/emacs/master/lisp/emacs-lisp/byte-run.el...done Tramp: Checking =E2=80=98vc-registered=E2=80=99 for /scp:chinook:/home/gem/= src/emacs/master/lisp/emacs-lisp/benchmark.el...done Undo! C-x M-x is undefined Quit Configured using: 'configure --prefix=3D/home/gem/src/emacs/tramp/bin --with-modules --with-x-toolkit=3Dgtk3 --with-xft --config-cache' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode easymenu easy-mmode files-x tramp-sh tramp-cache tramp trampver tramp-compat tramp-loaddefs ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib term/xterm xterm time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 231578 10507) (symbols 48 22696 1) (strings 32 37905 1930) (string-bytes 1 1127065) (vectors 16 38578) (vector-slots 8 747585 13268) (floats 8 72 538) (intervals 56 347 0) (buffers 992 24))