unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Augusto Stoffel <arstoffel@gmail.com>
To: Richard Stallman <rms@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	 eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: ELPA submission: python-import
Date: Sun, 31 Jul 2022 11:08:37 +0200	[thread overview]
Message-ID: <87a68pr6ne.fsf@gmail.com> (raw)
In-Reply-To: <E1oHzcf-0008BI-DX@fencepost.gnu.org> (Richard Stallman's message of "Sat, 30 Jul 2022 23:28:09 -0400")

On Sat, 30 Jul 2022 at 23:28, Richard Stallman <rms@gnu.org> wrote:

> I don't use Python, and I don't know what isort or pyflakes do,
> but if they are not extremely complicated we could write Lisp code
> to do the job this facility needs.

I've been using a similar package from MELPA (pyimport) that does
exactly that, i.e., parsing the Python code from Lisp.  Unfortunately,
the parsing is a bit naive and fails for certain code formatting styles.

Of course the said package could be improved (the task couldn't be
regarded as “extremely complicated”), but I don't see the motivation of
doing so when the effort can be offloaded to an external tool that
already exists and is free and pretty reliable.

> Putting this feature in a separate package would have two disadvantages:
> * It would make Emacs more complex.
> * It would discourage users from finding out about the feature.

Yes, I agree now.



  reply	other threads:[~2022-07-31  9:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-29 14:15 ELPA submission: python-import Augusto Stoffel
2022-07-29 15:18 ` Eli Zaretskii
2022-07-29 15:35   ` Augusto Stoffel
2022-07-29 16:25     ` Stefan Monnier
2022-07-30  8:56       ` Augusto Stoffel
2022-07-31  3:28       ` Richard Stallman
2022-07-31  9:08         ` Augusto Stoffel [this message]
2022-07-29 15:53 ` Philip Kaludercic
2022-07-30  9:07   ` Augusto Stoffel
2022-07-30  9:12     ` Visuwesh
2022-07-30 11:14       ` Augusto Stoffel
2022-07-30 11:58     ` Philip Kaludercic
2022-07-30 19:01       ` Augusto Stoffel
2022-07-31  9:22         ` Philip Kaludercic
2022-07-31  3:32       ` Richard Stallman
2022-07-31  9:20         ` Augusto Stoffel
2022-07-31  9:26         ` Philip Kaludercic
2022-07-31 10:46           ` Stefan Monnier
2022-07-31  3:28   ` Richard Stallman

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=87a68pr6ne.fsf@gmail.com \
    --to=arstoffel@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /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).