From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shitikanth Kashyap Newsgroups: gmane.emacs.bugs Subject: bug#47679: 28.0.50; python-shell-switch-to-shell redisplay bug Date: Sat, 10 Apr 2021 02:21:33 +0530 Message-ID: <87k0pb89m2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2573"; mail-complaints-to="usenet@ciao.gmane.io" To: 47679@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 09 22:52:20 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUy72-0000Ym-5e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Apr 2021 22:52:20 +0200 Original-Received: from localhost ([::1]:41480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUy71-00041T-6S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Apr 2021 16:52:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUy6k-00040x-D7 for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 16:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUy6k-0004RL-0k for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 16:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUy6j-0003CU-Vt for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shitikanth Kashyap Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Apr 2021 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47679 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161800150512277 (code B ref -1); Fri, 09 Apr 2021 20:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Apr 2021 20:51:45 +0000 Original-Received: from localhost ([127.0.0.1]:51041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUy6T-0003Bw-3z for submit@debbugs.gnu.org; Fri, 09 Apr 2021 16:51:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUy6R-0003Bp-Ey for submit@debbugs.gnu.org; Fri, 09 Apr 2021 16:51:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUy6R-0003xM-7W for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 16:51:43 -0400 Original-Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:55048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUy6P-0004El-9l for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 16:51:42 -0400 Original-Received: by mail-pj1-x1029.google.com with SMTP id cu16so1474198pjb.4 for ; Fri, 09 Apr 2021 13:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=KvN+agqxDzy5O+fSfWa7htobIMyDbZmUJrWvSa15T38=; b=R8h8mSBXsyW47SHxbFvILqt4epvi+QPJa4IcTFDomaHOvRuD2FOmVGuDrDAGRyNxrd h577DKR2R/sMCeXMdo/qxzH0oqNop8GcOxev3anA15GWA2tmrrVOEFO5TAcs3DHZNqce btGbdKqviJxv9T+EuBIeZMJoFB61z2v9EVGcknS0TIZ4GbKVZFqqszcQvC4oqabUwxkZ BpVP0iezlLx2/TN1jiDnA6wKxZroKgMyuCh1h+djBg98QBtgKUvFDjs+f4nRgxlOAmv8 5Xc182S3eEepwwyHN3hHNRa21pStmuByxTq1gGTgrHV6EiGGuOs2M8fiM/BJGBXcq0dB GecA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=KvN+agqxDzy5O+fSfWa7htobIMyDbZmUJrWvSa15T38=; b=iXOe9O+sXvTuu2rIFhFLazcPEfWH0cb2ZaUc4ly1QgFIfnkq2+wdDFK+qDOJFAv6eM Dv7bbOz6FgKvbQqofiRwOrAvOwRDW35D+eZETNwCAifsbveH+EDVMYsZ/F0T4X9PUubO WtQDEv3eIZozjBSiyruoNivvUzfCGaMsBjk/DWfwhw0DjWBmEPSO1DgIg9ItCLx9Jils 93Fs9fCQDQsSEoVj8f4UrT+Shu0xBNlnDnDOO5u6hHq2bCveJMa/8clkjQ18dZlx1YTN lPJHUQT+RElMNFaDjEfWgnc2ShwNrK9byPZBmsnQ1F1+t8ihX8IkkY7pjv+nDZkgzxTC QKag== X-Gm-Message-State: AOAM531zECaqN5317KhmtSXVGtfKh/EfDpH27/zRIGXHAA/Tm3AC2604 u7+Xw3wiTM9lVu56axjBWgndU+xGqbok8XuR X-Google-Smtp-Source: ABdhPJwmnooaO0F+/ZmRh5jwJSDmtESfVwkPnUbJDB7yHMRu9AqTBS5XL6fIgs88m7QNK33VdShy8w== X-Received: by 2002:a17:902:a606:b029:e6:4c7e:1cba with SMTP id u6-20020a170902a606b02900e64c7e1cbamr14242632plq.46.1618001499039; Fri, 09 Apr 2021 13:51:39 -0700 (PDT) Original-Received: from flareon ([103.39.132.188]) by smtp.gmail.com with ESMTPSA id g6sm2117964pfj.139.2021.04.09.13.51.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 13:51:38 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=shitikanth1@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203774 Archived-At: Steps to reproduce: 1. emacs -Q 2. Open any python file 3. Press "C-c C-p" to start interpreter 4. Press "C-c C-z" from the file's window to switch to interpreter 5. Go back to file's window with "C-x o" and repeat from 4 a few times. There is notable lag (sometimes as much as a few seconds) between pressing the keybinding "C-c C-z" in file's window before the cursor appears to be ready on the interpreter's window. The state of the cursor in the two windows after the command appears to be indeterministic and inconsistent. The issue seems to be that the display of the two windows is not updated even though internally emacs has changed the focus to the correct window. For example, it is possible to start typing in the interpreter window immediately after the command, even though the cursor does not seem to ready.