From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Gendre?= Newsgroups: gmane.emacs.help Subject: Dev workflow in Emacs with containers Date: Fri, 29 Nov 2024 15:32:09 +0100 Message-ID: <87h67qnmae.fsf@k-7.ch> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6877"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.1; emacs 29.4 To: Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 29 15:41:27 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1tH2BT-0001gS-Bk for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 29 Nov 2024 15:41:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tH2B4-0006Wi-Ho; Fri, 29 Nov 2024 09:41:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH2B1-0006Kb-Ma for help-gnu-emacs@gnu.org; Fri, 29 Nov 2024 09:40:59 -0500 Original-Received: from k-7.ch ([185.31.100.96]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH2Aw-0006zD-3H for help-gnu-emacs@gnu.org; Fri, 29 Nov 2024 09:40:59 -0500 Original-Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 120DDE8122 for ; Fri, 29 Nov 2024 15:32:18 +0100 (CET) Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148440 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I got a few questions about how to integrate Emacs with a development workflow who use containers. First, a bit of context: Emacs provide some great tools to integrate with the dev workflow: =2D The `compile` function to compile or to run tests =2D Integration with multiple debuggers (GDB, PDB, etc) =2D Integration with multiple REPL (Python, Lua, etc) =2D Shell and terminal to launch the newly developed software These tools are great when the complied/tested/debugged/run software is local. But I use more and more the containers. Even for micro-controller firmware dev. I use Podman, but the situation is similar with Docker. And my Emacs process run outside of the containers. My questions are: What are your experience with using Emacs, the tools cited above and containers=C2=A0? Do you use a `.dir-locals.el` to set the commands run by Emacs to debugg/compile/etc=C2=A0? Or do you use a Makefile with pre-defined targets for test, debug, build, etc=C2=A0? How do you manage when Emacs highlight a link to a file, but the obtained path correspond to the container file system while Emacs can access this file from the host file system=C2=A0? Best regards =2D------ Gendre S=C3=A9bastien --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI+BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmdJ0GkLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p5H0A/4534Vk6FbR7nFth2gGr8dtLYQDonxwJPwH4yuAMqz tMFvN0mangdpM7AxrHFKS++IJNsFsiL022FYhNwsLLXtg9/xqtvWpKQEsJI2UGCP XdltRgX+G2B2/+O+iSPPmxgx4CV6T7ZttzORQaanfzRqSIpyX4KLQTR4i8+5+BKe m3e1tncBBjjqbXnJZaHFEeg/yLmNTDY3iPFHCj0Gy9y2sr9xQvgrFpzAm40QZd78 A2UDn0vGSGAeTclBAc/4o/k+0YB7y5L3Z1XAlehO36plpnKDYVwBpKatIkhPaJid INbPFHV0hyn/+V5HdJInYcWFmsP3ciWOjgL/T2y4YLP5mJlw+VRfgB6SSyczTrLq LPQ/shBre/t7SPnlm8X1yt2JVCPBHg9r4dy1rXQK7n+PxSc9HDD5lfIPGBw580Ab fWYySh901WYwlkaLI/kmgvbNDniIYGTNswSlduECGJYwcoBGJ79gzYdRdKAzBs1o WJmjUHxVCBLkyjEZ4QVNrf1tbZbDeKljeGkEAaEOd+m4g6WdqxCwiMOUUsGGymPE vdzj57RlvGCoJ01DXX7Sb6RzBkOcd/SP0Cpeu/X1drfKULRwxYM1KumvfAUCXDOk vIXfVB0IRAj3aHvgZ3MUS/Tr75uvKjyQHe4NsPq6D7uLPlmyFhXkepjZ9AWs1Gb/ OA== =el24 -----END PGP SIGNATURE----- --=-=-=--