GNU bug report logs - #47679
28.0.50; python-shell-switch-to-shell redisplay bug

Previous Next

Package: emacs;

Reported by: Shitikanth Kashyap <shitikanth1 <at> gmail.com>

Date: Fri, 9 Apr 2021 20:52:01 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47679 in the body.
You can then email your comments to 47679 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47679; Package emacs. (Fri, 09 Apr 2021 20:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shitikanth Kashyap <shitikanth1 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 09 Apr 2021 20:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shitikanth Kashyap <shitikanth1 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; python-shell-switch-to-shell redisplay bug
Date: Sat, 10 Apr 2021 02:21:33 +0530
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.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47679; Package emacs. (Fri, 09 Apr 2021 21:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 47679 <at> debbugs.gnu.org (full text, mbox):

From: Shitikanth <shitikanth1 <at> gmail.com>
To: 47679 <at> debbugs.gnu.org
Subject: Re: bug#47679: 28.0.50; python-shell-switch-to-shell redisplay bug
Date: Sat, 10 Apr 2021 02:33:36 +0530
[Message part 1 (text/plain, inline)]
Proposed fix.

On Sat, 10 Apr 2021 at 02:22, Shitikanth Kashyap <shitikanth1 <at> gmail.com>
wrote:

> 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.
>
>
>
>
>
>
[Message part 2 (text/html, inline)]
[0001-Fix-python-shell-switch-to-shell-redisplay-bug.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47679; Package emacs. (Mon, 12 Apr 2021 08:45:02 GMT) Full text and rfc822 format available.

Message #11 received at 47679 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Shitikanth <shitikanth1 <at> gmail.com>
Cc: 47679 <at> debbugs.gnu.org
Subject: Re: bug#47679: 28.0.50; python-shell-switch-to-shell redisplay bug
Date: Mon, 12 Apr 2021 10:44:15 +0200
Shitikanth <shitikanth1 <at> gmail.com> writes:

> Proposed fix.

Makes sense to me.

This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 12 Apr 2021 08:45:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 47679 <at> debbugs.gnu.org and Shitikanth Kashyap <shitikanth1 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 12 Apr 2021 08:45:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47679; Package emacs. (Mon, 12 Apr 2021 18:26:01 GMT) Full text and rfc822 format available.

Message #18 received at 47679 <at> debbugs.gnu.org (full text, mbox):

From: Shitikanth <shitikanth1 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 47679 <at> debbugs.gnu.org
Subject: Re: bug#47679: 28.0.50; python-shell-switch-to-shell redisplay bug
Date: Mon, 12 Apr 2021 23:55:39 +0530
[Message part 1 (text/plain, inline)]
Gladly. How should I start?

On Mon, 12 Apr 2021 at 14:14, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Shitikanth <shitikanth1 <at> gmail.com> writes:
>
> > Proposed fix.
>
> Makes sense to me.
>
> This change was small enough to apply without assigning copyright to the
> FSF, but for future patches you want to submit, it might make sense to
> get the paperwork started now, so that subsequent patches can be applied
> speedily. Would you be willing to sign such paperwork?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47679; Package emacs. (Tue, 13 Apr 2021 07:35:02 GMT) Full text and rfc822 format available.

Message #21 received at 47679 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Shitikanth <shitikanth1 <at> gmail.com>
Cc: 47679 <at> debbugs.gnu.org
Subject: Re: bug#47679: 28.0.50; python-shell-switch-to-shell redisplay bug
Date: Tue, 13 Apr 2021 09:34:39 +0200
Shitikanth <shitikanth1 <at> gmail.com> writes:

> Gladly. How should I start?

Here's the form to get started:


Please email the following information to assign <at> gnu.org, and we
will send you the assignment form for your past and future changes.

Please use your full legal name (in ASCII characters) as the subject
line of the message.
----------------------------------------------------------------------
REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES

[What is the name of the program or package you're contributing to?]
Emacs

[Did you copy any files or text written by someone else in these changes?
Even if that material is free software, we need to know about it.]

[Do you have an employer who might have a basis to claim to own
your changes?  Do you attend a school which might make such a claim?]

[For the copyright registration, what country are you a citizen of?]

[What year were you born?]

[Please write your email address here.]

[Please write your postal address here.]

[Which files have you changed so far, and which new files have you written
so far?]




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 11 May 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.