From: kobarity <kobarity@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 74894@debbugs.gnu.org, Keglo Stephane <stephanekeglo@gmail.com>
Subject: bug#74894: 29.4; Emacs not responding when calling python-fix-imports
Date: Sun, 22 Dec 2024 00:16:53 +0900 [thread overview]
Message-ID: <eke7h66x83ru.wl-kobarity@gmail.com> (raw)
In-Reply-To: <86zfkp7210.fsf@gnu.org>
Eli Zaretskii wrote:
>
> > Date: Sun, 15 Dec 2024 02:52:53 +0000
> > From: Keglo Stephane <stephanekeglo@gmail.com>
> >
> > when writting a python code with a missing import, using
> > `python-fix-imports' make emacs not responding.
>
> Thanks. Could you please show a simple recipe for reproducing this?
>
> kobarity, any comments or suggestions?
I have not been able to reproduce this so far, but I have found that
if the file is large, say 10000 lines, it takes a few seconds.
The other problem I found is that if I run `python-fix-imports'
without saving the buffer, I get the following error:
python exited with status 1
This occurs because isort cannot read the lock file (symbolic link)
such as ".#foo.py", which is created before the modified buffer is
saved. Although I don't think this has anything to do with the
non-response issue.
next prev parent reply other threads:[~2024-12-21 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-15 2:52 bug#74894: 29.4; Emacs not responding when calling python-fix-imports Keglo Stephane
2024-12-21 10:39 ` Eli Zaretskii
2024-12-21 15:16 ` kobarity [this message]
2024-12-21 16:12 ` Eli Zaretskii
2024-12-22 1:21 ` kobarity
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eke7h66x83ru.wl-kobarity@gmail.com \
--to=kobarity@gmail.com \
--cc=74894@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=stephanekeglo@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.