From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6BV/FK8XNGHOfwEAgWs5BA (envelope-from ) for ; Sun, 05 Sep 2021 03:04:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +OE9EK8XNGFzYgAAbx9fmQ (envelope-from ) for ; Sun, 05 Sep 2021 01:04:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 698BE1C455 for ; Sun, 5 Sep 2021 03:04:46 +0200 (CEST) Received: from localhost ([::1]:58580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMgaT-0002Qb-ER for larch@yhetil.org; Sat, 04 Sep 2021 21:04:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMgZL-0002NZ-9p for emacs-orgmode@gnu.org; Sat, 04 Sep 2021 21:03:35 -0400 Received: from smtp152.vfemail.net ([146.59.185.152]:46347) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1mMgZI-0000y9-6U for emacs-orgmode@gnu.org; Sat, 04 Sep 2021 21:03:35 -0400 Received: (qmail 7472 invoked from network); 5 Sep 2021 01:03:30 +0000 Received: from localhost (HELO freequeue.vfemail.net) () by smtpout.vfemail.net with ESMTPS (DHE-RSA-AES256-SHA encrypted); 5 Sep 2021 01:03:30 +0000 Received: (qmail 54461 invoked from network); 5 Sep 2021 01:03:03 -0000 Received: from localhost (HELO nl101-2.vfemail.net) (bmE=@127.0.0.1) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Sep 2021 01:03:03 -0000 Received: (qmail 53975 invoked from network); 5 Sep 2021 01:02:46 -0000 Received: by simscan 1.4.0 ppid: 53960, pid: 53973, t: 0.0133s scanners:none Received: from unknown (HELO localhost) (ZWRnYXJAb3Blbm1haWwuY2M=@192.168.1.192) by nl101.vfemail.net with ESMTPA; 5 Sep 2021 01:02:46 -0000 Date: Sun, 05 Sep 2021 01:03:12 +0000 Message-ID: <20210905010312.Horde.qSaJV-gSBfKINOKhvYgNygs@www.vfemail.net> From: edgar@openmail.cc To: help-gnu-emacs@gnu.org Subject: Re: How to use Org with Python as an IDE? In-Reply-To: <20210904222927.Horde.V5i-mHEy0_Bp2GCg4pqgGgO@www.vfemail.net> User-Agent: Horde Application Framework 5 X-VFEmail-Originating-IP: 2a03:e600:100::23 X-VFEmail-AntiSpam: Notify admin@vfemail.net of any spam, and include VFEmail headers Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Received-SPF: softfail client-ip=146.59.185.152; envelope-from=edgar@openmail.cc; helo=smtp152.vfemail.net X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630803887; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qtA0JePqBd1BDYyvxxqVrmMMbXl147HZihsKBEY+4A4=; b=g/+Z4hsqA/psOGPgutp7xY1x1hMiENwH9hKC7d3pooZdv81jYnBaCZ1yDWDtsWgAi0a9rB bb3A834wdvVld+dDlIaDrREGNCOg5IZSBqB42skk/N+P32kXWw5OSSXIjbH2SfH0az6GZZ 6Wmbji/m+Kkf8fAmc7OPcaG1yMh1HUnIU+wa1Tz29+O9EbsTezDngUpWPjLIDQnDFDiOMz vpzM5JPBINNJzZpO+ft0dLNg4DlDeulUWg2AZ4QJuqOjsQKY+hGBTeuH3LSGkkXNRk5yAS 4d8xmYGTVWgGaAo4RUyq0WuN5C9qxdynfNXDolaWhZ3EngQyexKaxfFoZ1Sz6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630803887; a=rsa-sha256; cv=none; b=Kx0u20EigIa+Tkfq2Uf5VejpGOu6umz7q6OpEtEwqariIojE3g3P42+BfPBIx6MFtRYu0M UaW/FAo5MNnmhHe0m62RXQBpyx3/QnQcmfm1Iuhq937qbZQ/8v+i/8o+3Bix2eLfuQ6zJr OWUR0Wjrce775RnLwyDBS+UFzTwkN+pz492eVkDTVdlc5SUWcJzTz6bK0jhH0FGApsrN7k Lb1FOCfERvATbThuxtKfGaPBMJ81FpYdl2PEkxUUkbrCtHNsOrp0GIBsCTlM9YNJYL9fAg 6qVSG0Rg/vwFIA2ETVUrK5F+lao0oYDvGmOxPgzQn71RTA3CZ+6VF139HfEn5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.58 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 698BE1C455 X-Spam-Score: 0.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: CVh34X3h/K4V I am very sorry for wasting your precious time. This was very simple 1. Install (some are optional) python-language-server jedi-language-server bash-language-server python-pylint python-pydocstyle ccls python-pyls-black 2. Clone https://github.com/joaotavora/eglot 3. Add this to your .init.el or .emacs (require 'package) (package-initialize) (defun load-eglot-company () "Loads `eglot' and `company'" (eglot-ensure) (company-mode)) (add-hook 'python-mode-hook 'load-eglot-company) (use-package eglot :after prog-mode :load-path "~/.emacs.d/plugins/eglot" :config (add-hook 'c-mode-hook 'load-eglot-company) (add-hook 'c++-mode-hook 'load-eglot-company) (add-hook 'c-mode-common-hook 'load-eglot-company)) I can't believe that I can now be in the 21st century. Thanks to all the developers and the free software community!

Quoting edgar@openmail.cc:

Is there a current way to have Python (not iPython, Jupyter, Anaconda, Conda...) IDE in Emacs?

I sent the forwareded message to the Org (mode) list, because I am planning to use Org, but I am in a defeated state, and if I can get regular files with autocompletion, navigation and documentation, that would be great.

Thanks!

#+begin_src elisp
(org-version)
#+end_src

#+RESULTS:
: 9.3.7

#+begin_src elisp
(emacs-version)
#+end_src

#+RESULTS:
: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4)
:  of 2021-03-26

| python-jedi         | 0.18.0-2 |
| emacs-ctable        |  0.1.2-3 |
| emacs-deferred      |  0.5.1-2 |
| emacs-epc           |  0.1.1-4 |
| python-epc          |  0.0.5-3 |
| python-black        | 21.7b0-1 || python-flake8-black |  0.2.2-1 |


------------------------------------------------- This free account was provided by VFEmail.net - report spam to abuse@vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!