emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: help-gnu-emacs@gnu.org
Cc: emacs-orgmode@gnu.org
Subject: Re: How to use Org with Python as an IDE?
Date: Sun, 05 Sep 2021 01:03:12 +0000	[thread overview]
Message-ID: <20210905010312.Horde.qSaJV-gSBfKINOKhvYgNygs@www.vfemail.net> (raw)
In-Reply-To: <20210904222927.Horde.V5i-mHEy0_Bp2GCg4pqgGgO@www.vfemail.net>

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)

(defun load-eglot-company ()
   "Loads `eglot' and `company'"
(add-hook 'python-mode-hook 'load-eglot-company)

(use-package eglot
   :after prog-mode
   :load-path "~/.emacs.d/plugins/eglot"
   (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!
<p>Quoting <a  
type="cite" style="border-left:2px solid  
blue;margin-left:2px;padding-left:12px;">Is there a current way to  
have Python (not iPython, Jupyter, Anaconda, Conda...) IDE in  
Emacs?<br />
<br />
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.<br />
<br />
Thanks!<br />
<br />
#+begin_src elisp<br />
  (org-version)<br />
#+end_src<br />
<br />
#+RESULTS:<br />
: 9.3.7<br />
<br />
#+begin_src elisp<br />
  (emacs-version)<br />
#+end_src<br />
<br />
#+RESULTS:<br />
: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27,  
cairo version 1.17.4)<br />
:&nbsp; of 2021-03-26<br />
<br />
| python-jedi&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.18.0-2 |<br />
| emacs-ctable&nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; 0.1.2-3 |<br />
| emacs-deferred&nbsp; &nbsp; &nbsp; |&nbsp; 0.5.1-2 |<br />
| emacs-epc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; 0.1.1-4 |<br />
| python-epc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; 0.0.5-3 |<br />
| python-black&nbsp; &nbsp; &nbsp; &nbsp; | 21.7b0-1 ||  
python-flake8-black |&nbsp; 0.2.2-1 |</blockquote><br /><br />

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!  

  reply	other threads:[~2021-09-05  1:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04 22:29 Fwd: " edgar
2021-09-05  1:03 ` edgar [this message]
2021-09-06 22:20   ` Dr. Arne Babenhauserheide
2021-09-07  3:37     ` edgar
  -- strict thread matches above, loose matches on Subject: below --
2021-09-04  4:58 edgar

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210905010312.Horde.qSaJV-gSBfKINOKhvYgNygs@www.vfemail.net \
    --to=edgar@openmail.cc \
    --cc=emacs-orgmode@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --subject='Re: How to use Org with Python as an IDE?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).