GNU bug report logs - #57574
[PATCH] Add Python import management commands

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Sun, 4 Sep 2022 10:32:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 57574 <at> debbugs.gnu.org
Subject: Re: bug#57574: [PATCH] Add Python import management commands
Date: Sun, 04 Sep 2022 13:18:09 +0200
Augusto Stoffel <arstoffel <at> gmail.com> writes:

> This patch adds a few commands to help managing import statements in
> Python projects.  (I submitted equivalent code some time ago as a
> potential ELPA package, and it was noted that this fits better in
> python.el itself.)

Thanks; pushed to Emacs 29.

> PS: Wouldn't it be handy also in other places to have a macro that
> creates a temp buffer but doesn't switch to it?  Maybe with signature
> (with-temp-buffers (NAMES &rest BODY)).

Hm...  I can see how that can be useful in some cases, but it's probably
not a very common usage pattern.  But I think there's a real problem
that people would just be confused and mistake that for something that
does the same thing as with-temp-buffer.




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

Previous Next


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