From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UNSfJ3mVNmECSAEAgWs5BA (envelope-from ) for ; Tue, 07 Sep 2021 00:26:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0J/lInmVNmEqMwAAbx9fmQ (envelope-from ) for ; Mon, 06 Sep 2021 22:26:01 +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 BA73F191E3 for ; Tue, 7 Sep 2021 00:26:00 +0200 (CEST) Received: from localhost ([::1]:47282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNN3v-0002tL-40 for larch@yhetil.org; Mon, 06 Sep 2021 18:25:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNN3U-0002t8-Ij; Mon, 06 Sep 2021 18:25:32 -0400 Received: from mout.web.de ([212.227.15.3]:58839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNN3S-0000zP-JZ; Mon, 06 Sep 2021 18:25:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1630967123; bh=HCvqzAI6EIG8BEdtOKrYbwXJeOXyvrPdJ/1qqErCbLc=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=Bi/QPN4uJxLAI0NGM/IpA9n0GHYxkHEglyOTMuiEo+mnZi5PvX5Vv4WRrxDveV49c WuhX3srVAW0u40wGwfjdMw6Ktz/a4hne4UzSMwrqYb11+twHxx8V81DGqvukDsBvpy dZKa0ZHsmjTBZ63K/P98Ai/vaCvfpmm8/Ef5f5nA= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([84.165.30.126]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LePBV-1mkczW2lnp-00q8yL; Tue, 07 Sep 2021 00:25:23 +0200 References: <20210904222927.Horde.V5i-mHEy0_Bp2GCg4pqgGgO@www.vfemail.net> <20210905010312.Horde.qSaJV-gSBfKINOKhvYgNygs@www.vfemail.net> User-agent: mu4e 1.6.5; emacs 27.2 From: "Dr. Arne Babenhauserheide" To: edgar@openmail.cc Subject: Re: How to use Org with Python as an IDE? Date: Tue, 07 Sep 2021 00:20:17 +0200 In-reply-to: <20210905010312.Horde.qSaJV-gSBfKINOKhvYgNygs@www.vfemail.net> Message-ID: <87k0jts5ny.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:uuDqmH3ZV6jQo77PRTjcjycp5Gkhqpcd4oNDWWY0I+b4BEqT8HJ V+uUBLc0Hsgrgb+5L97q1lOHEQV/p0bNwkzosvv4LPjx7TrxqTfCOqkHPOr4go8PBaS72Fd KgBa5QPi/QpMR7DqeetA+SZlauGN1RmOiRCsZL2A7oPGP5SZT49h62OU0AuJFb0IdTzHLxx pATzmUItnU/63cvweBeAw== X-UI-Out-Filterresults: notjunk:1;V03:K0:dIJfVBnT4rI=:fO24pE94nZtJmsjcjcB1dx 8f2Ma3i16WSk/HhKGlh12Q34mexLuJ1LniwzqpLMwfmj3AD1mW1c3442LZ0yUL5I49vsUsQhX LVCEWx/lIp/0SL+lA/VJM0mg3OhN1bRth5aM/3FcJ499mOmK1EpuYZQLG2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de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: help-gnu-emacs@gnu.org, 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=1630967160; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HCvqzAI6EIG8BEdtOKrYbwXJeOXyvrPdJ/1qqErCbLc=; b=kRG6DPq0I7w6bsymsUYDApXlfBtlLtNVaGLBesHDdOzBg1e8PLOk6QFJNRETbrfijFshn3 xxm+9S/tFBKBpJVdHGF//iFu8TkQe55r8WVBUHUB/e/vO7gEwH7MA68+6AodpIgO3zKEkc 2AyctK9QqsRX9iXxEo3tgXKrz93vAZZMJcPyq4C+z8PRCT2zj0aPwCJaimroBRI4VAvxSf FBarkrfLKKRXUg4ITzQSCqe3MMt7D8oAIeIIEEOlTbglGsDKLGkuZqUXy7Fbh6cvnTbszh a/J7zxrOnIF6irkA9DyF9F8PlK/xe0SOjl2y+JHwayBNj+aMsZprMcvbHTyGlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630967160; a=rsa-sha256; cv=none; b=OXQOPxug4XXSy5/C1RiduAjiongHlIcXFXbdglyl/rTUMrWl3EjPZdmHJwhQGpJzWIjmTg bFQfYJbEgFwFsMx35dtm8tSTghR9KS8GnMhGVe/NfS+qd7XN8KNbLro7OTooGt9LlyzRzV dggboylaH/+Rt5336NNFJZ5r3WunclIUIqa4FZZ7M3hIGD31mRq+w+SamU+WC1ttN9NggK xvSZ6S67z7E7J4fDI0hrPeZZt0U7KRIy2is5xPhbvP6RIhVuFkbqMiRIjjU9OX7AWpjUfl tWvG5O28a/y4p2T8rIDShpULjztlODUOEIiONLOZYp0/QMGOwJDjrFsJr2E2rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b="Bi/QPN4u"; dmarc=pass (policy=none) header.from=web.de; 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: -3.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b="Bi/QPN4u"; dmarc=pass (policy=none) header.from=web.de; 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: BA73F191E3 X-Spam-Score: -3.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: +xwpDvwyp+NY --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable edgar@openmail.cc writes: > I am very sorry for wasting your precious time. This was very simple It=E2=80=99s the finding that=E2=80=99s hard, not the setup. > 1. Install (some are optional) python-language-server=20=20 > jedi-language-server bash-language-server python-pylint=20=20 > python-pydocstyle ccls python-pyls-black You may also want to use flake8. That helps keep your code pythonic. I don=E2=80=99t know how much of that is in pylint. What you may want to add is tangling and *detangling* of Python-codeblocks in org-mode so you can get a full Python-IDE with actually working files that you can merge back into org for documentation. As an example: https://hg.sr.ht/~arnebab/draketo/browse/anderes/mathe-ass.org?rev=3D432c59= 54109b#L346 #+begin_src javascript :tangle "mathe-ass.js" :exports none :comments link =E2=80=A6 #+end_src Mind the :comments link. That allows getting changed code back into org by running org-babel-detangle. =2D org-babel-tangle creates your working codefile. =2D hack in the codefile with full IDE support. =2D org-babel-detangle gets your code back into org for better documentatio= n. Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmE2lVIQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD6w+DEACemru10xmkV6mzgPByP2XJTMIAS4f1Trsr 25sxFc66zM9+KMgGpGFSgzW0E1ic3EvYm7hMNZQLXG+nKjByy53sxS+xWE/ZhzlY ABZHdTA5falcthqAfZMNeKHon2yKwfc5CSynJbEoaPNfwiPMP76E5z16q+ZZHegs lqB6Kii+UrvTwYxgb/ro2qgkaEbMf3aJJvIXhLasrfQW9j9r6FlgqsmlAaCwE/zd NIGCFTO1cbCqFAwYRHRwyx9zeWILPO/aRuvZ5De2YdcsZmsrxqq4wdXMffW5abHv UGJ//w3ObmIL1uLncDl/KmebXDD6za49RpBuaI5SMv5DSOSLqzUvf6Wb7xKfDo+q DYAqJLIgH1nYCD6kEkdm5o2J6YrxtEAMOtIxeWH2ac2EqthSXbyfFPwrFtw7nwoz xVXGKAKnTgH9+3TkIvTuiGs68aVxTcReYzEDkaqtVqpLGAWDlZAL/JX92buvnh1s bzieqmHeFUvFbtiSJFkME6bPihRy3YGoGpMTMR8BjCWHHTe9N7suUlNdYReRO1tC w5sllV2NdaGo6hO9P1Cktuw41S4dTZ5b2j3muEsrMgBcBUev+C77zz/uYMkU5xM3 TBpX6eLgBoWTrTA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