unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vitalie Spinu <spinuvit@gmail.com>
Cc: 23300@debbugs.gnu.org
Subject: bug#23300: 25.0.92; python interrupts subjop on keyborard quit
Date: Wed, 02 Dec 2020 13:25:38 +0100	[thread overview]
Message-ID: <87sg8o1jjx.fsf@gnus.org> (raw)
In-Reply-To: <878u0dpzm8.fsf@gmail.com> (Vitalie Spinu's message of "Sat, 16 Apr 2016 13:22:23 +0200")

Vitalie Spinu <spinuvit@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





  reply	other threads:[~2020-12-02 12:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16 11:22 bug#23300: 25.0.92; python interrupts subjop on keyborard quit Vitalie Spinu
2020-12-02 12:25 ` Lars Ingebrigtsen [this message]
2021-01-19  7:33   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg8o1jjx.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=23300@debbugs.gnu.org \
    --cc=spinuvit@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).