From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32537: 26.1.50; Tramp: Cursor jumps when typing during asynchronous find-file Date: Wed, 29 Aug 2018 21:14:12 +0300 Message-ID: <83d0u12g7f.fsf@gnu.org> References: <875zzxowlw.fsf@runbox.com> <83mut9568l.fsf@gnu.org> <87r2ii1ddf.fsf@runbox.com> <83r2ih2poi.fsf@gnu.org> <87wos9vyzs.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1535566393 6919 195.159.176.226 (29 Aug 2018 18:13:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 18:13:13 +0000 (UTC) Cc: 32537@debbugs.gnu.org To: Gemini Lasswell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 20:13:09 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 1fv4xp-0001hj-4P for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2018 20:13:09 +0200 Original-Received: from localhost ([::1]:44419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv4zv-00075b-F8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2018 14:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv4zm-00071F-Ap for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 14:15:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv4zh-0008Oj-WD for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 14:15:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fv4zf-0008Ng-DY for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 14:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fv4ze-0003Us-4j for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 14:15:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Aug 2018 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32537-submit@debbugs.gnu.org id=B32537.153556647113387 (code B ref 32537); Wed, 29 Aug 2018 18:15:02 +0000 Original-Received: (at 32537) by debbugs.gnu.org; 29 Aug 2018 18:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:37399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fv4z9-0003Tr-6J for submit@debbugs.gnu.org; Wed, 29 Aug 2018 14:14:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fv4z7-0003Te-Dx for 32537@debbugs.gnu.org; Wed, 29 Aug 2018 14:14:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv4yy-00081Y-Di for 32537@debbugs.gnu.org; Wed, 29 Aug 2018 14:14:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv4yy-00081N-9D; Wed, 29 Aug 2018 14:14:20 -0400 Original-Received: from [176.228.60.248] (port=1618 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fv4yx-0007z9-QJ; Wed, 29 Aug 2018 14:14:20 -0400 In-reply-to: <87wos9vyzs.fsf@runbox.com> (message from Gemini Lasswell on Wed, 29 Aug 2018 10:55:35 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:149846 Archived-At: > From: Gemini Lasswell > Cc: 32537@debbugs.gnu.org > Date: Wed, 29 Aug 2018 10:55:35 -0700 > > I'm a gdb newbie You are doing fine, don't worry. > It looks to me like Thread 1 is the main thread, and the thread names > printed by gdb don't match what Emacs thinks they are. Thread 1 starts > out as "emacs" but its name changes after I continue from the > Fmake_thread breakpoint: > > > Thread 1 "emacs" hit Breakpoint 3, Fmake_thread (function=XIL(0x4867b15), > name=XIL(0x45b85a4)) at thread.c:768 > 768 { > Deleted breakpoint 3 > Breakpoint 4 at 0x635530: file intervals.c, line 1826. > Type commands for breakpoint(s) 4, one per line. > End with a line saying just "end". > Breakpoint 5 at 0x635360: file intervals.c, line 1729. > Type commands for breakpoint(s) 5, one per line. > End with a line saying just "end". > Continuing. > [New Thread 0x7f1cad3e1700 (LWP 9151)] > > Thread 1 "find-file /scp:" hit Breakpoint 5, temp_set_point_both ( > buffer=0xdb5800 , charpos=charpos@entry=146, > bytepos=bytepos@entry=146) at intervals.c:1729 > 1729 { > "redisplay_internal (C function)" (0x0) > > > And then later in gdb.txt this thread shows up: > > > Thread 6 "emacs" hit Breakpoint 5, temp_set_point_both ( > buffer=0xdb5800 , charpos=charpos@entry=151, > bytepos=bytepos@entry=151) at intervals.c:1729 So given this confusion over which thread is what, I think we need to see the C-level backtrace of all the Lisp threads, to see which one(s) of them really called temp_set_point_both. Thanks.