From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: ELPA submission: python-import Date: Sun, 31 Jul 2022 11:20:14 +0200 Message-ID: <874jyxr641.fsf@gmail.com> References: <87v8rguhry.fsf@gmail.com> <871qu3synn.fsf@posteo.net> <871qu3klyi.fsf@gmail.com> <87o7x6ke1h.fsf@fau.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8096"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Philip Kaludercic , emacs-devel@gnu.org, monnier@iro.umontreal.ca To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 31 11:22:17 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oI59N-0001y1-2e for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 11:22:17 +0200 Original-Received: from localhost ([::1]:33890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI59M-0001R3-3a for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 05:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI57T-0000LL-DV for emacs-devel@gnu.org; Sun, 31 Jul 2022 05:20:20 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:38454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI57R-0005uf-UM; Sun, 31 Jul 2022 05:20:19 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id l23so15343967ejr.5; Sun, 31 Jul 2022 02:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version; bh=P2BpRHg06XNTXJJf2QhLPs6jeIlkqn+pekcTpsrNr1E=; b=m/Th5RWSEgMFkZA5UlQFKRUz2roLIsu/ufUeDq+wZpFijNyLaePKD7aOI9xfKTHoda FL8d0XCYwVEV9bu2JXkrZNAyAUpe3DADxM55wuPSC4LZ49vy2H4XpVtlOHy7aL2St3r2 uBE2528N+kMmjrRJC2ZQJ2itgHnrrtMp5UeWajJy16kU9HKmC7Bf6pTVpB3wWcZUfzOs aFc6Ko3RglDJyuf+bm4WcLxx9HpkAd2M8wmeXA9l1TyW+PJ6coYhcXSMFG7DTDboQene IJ4tR3yFsyIcnI8/u46D3S/DmKnYJTTRnkhSFMVyHF2fjNywXBf7MFG6jXn4EdIlc9zS dAtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version; bh=P2BpRHg06XNTXJJf2QhLPs6jeIlkqn+pekcTpsrNr1E=; b=0cXf5JmZJyDkbrvpZeyfzxylMs2MvlAx9nk9E7GGWznesyvRD1f2IT2a7dgfgdom3T GAQYkb1qzN3TPKJs8yebq2NEspyJgV5+PZcwylM/5F847cfei03gfAzYJXvevROKu0X1 c6uL1//ZZdtPjchQ/zBxvI7lrlLWQeznFyGBsRvHaaVPvhfHGbNYwNyFepMvlFniboGB 4E+wjCqoER1OjHPqIfdhlWjgqvsUhFU4956Z9xSypykjaK0jqNgRdXcUcQVcceFRCQWX C0pov7U7peTUXiUIuNiBHJ6dbgUkJvrHmXMywN2QRlXzacCoFYUqCtd61KRhkF2MZ7qP Fifg== X-Gm-Message-State: AJIora8IL/tDyV6wi/FzGkPnFcyxhGhMjsAlqa7nT4oASaIotS51w05o 0aBD0XPmaBNNIDf3EEvKeu0= X-Google-Smtp-Source: AGRyM1vz64lJJGL38Q3Y8aGrDFnP8cUWXS5Lw8rKe0seXFOOeH7zDKnC2yb+2edenFyPb7Q8506e7Q== X-Received: by 2002:a17:906:4785:b0:72e:dd6c:1ba1 with SMTP id cw5-20020a170906478500b0072edd6c1ba1mr8586005ejc.712.1659259216199; Sun, 31 Jul 2022 02:20:16 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::11cf]) by smtp.gmail.com with ESMTPSA id w7-20020aa7d287000000b0043bc19efc15sm5067731edq.28.2022.07.31.02.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jul 2022 02:20:15 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Sat, 30 Jul 2022 23:32:04 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292910 Archived-At: On Sat, 30 Jul 2022 at 23:32, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > I am not saying it isn't impossible, but if there is a dependency on > > project.el, it might make sense to raise the minimum version of ELPA's > > python.el? > > Is it necessary for any of these python files depend on project.el? > If these features such as python-import are added to python.el, > doesn't it eliminate the need for that? AFAICT, there's nothing in python.el that helps figuring out which project a buffer belongs to, or, say, list all files belonging that project (which exactly is what project.el does). python-mode mainly provides functionality to edit individual Python files, but it's natural to add things that need to know about the project as well. Import management is one of them; another interesting feature would be a Python shell that is not "global" but rather dedicated to a project (in the same vein as `project-shell'). So I think it makes sense for python.el (and prog-modes in general) to rely on project.el to implement some more advanced features.