GNU bug report logs - #23300
25.0.92; python interrupts subjop on keyborard quit

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Sat, 16 Apr 2016 11:23:01 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.92

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vitalie Spinu <spinuvit <at> gmail.com>
Cc: 23300 <at> debbugs.gnu.org
Subject: bug#23300: 25.0.92; python interrupts subjop on keyborard quit
Date: Wed, 02 Dec 2020 13:25:38 +0100
Vitalie Spinu <spinuvit <at> gmail.com> writes:

> Currently python.el has a bad habit of interrupting running jobs on
> keyboard quit.
>
> Run a time consuming task:
>
>   import time
>   time.sleep(100)
>
> Then go to python file and move your cursor around. If eldoc or company
> completion is active, python.el will hang after requesting for
> completion. That's because it's not smart enough to understand that the
> process is busy. For me the hang even happens on C-x C-f for no clear
> reason.

(This bug report unfortunately got no response at the time.)

I tried reproducing this in Emacs 28 by

emacs -Q foo.py
C-c C-p
C-x h
C-c C-r

and then moving around, and I didn't get any interrupts, as far as I'm
able to tell.

Are you still seeing this problem in more recent versions of Emacs?  If
so, do you have a precise recipe to reproduce the bug?

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




This bug report was last modified 4 years and 119 days ago.

Previous Next


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