From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.emacs.devel Subject: Re: Adding refactoring capabilities to Emacs Date: Tue, 29 Aug 2023 13:35:02 +0200 Message-ID: <87pm36uld9.fsf@web.de> References: <83fs4f36wi.fsf@gnu.org> <61621120-8f6d-5884-e7c8-33581b8e0ca4@gutov.dev> 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="797"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.5; emacs 29.0.92 Cc: Dmitry Gutov , Yuri Khan , Eli Zaretskii , "Philip K." , emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 29 13:42:09 2023 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 1qax6n-000AbL-NE for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Aug 2023 13:42:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qax68-0000P5-6c; Tue, 29 Aug 2023 07:41:28 -0400 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 1qax5z-0000NQ-Qi for emacs-devel@gnu.org; Tue, 29 Aug 2023 07:41:20 -0400 Original-Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qax5w-00017S-Pd; Tue, 29 Aug 2023 07:41:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1693309267; x=1693914067; i=arne_bab@web.de; bh=dXXtpInFxRzEnrqNOcuY9AjsHWbJ1PfKY06jwZQLgxQ=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=qJEp4hkxBahlv3pOObRVqFpdHBGUmsj3DOdudUv0Q1brL0T6LSnwrueGFAIIA7zZ6jL1mcV kAyA1GACxd5PVTFHH0BqTTrF9gI8IzNXQeXF5m0h8wIxifk90W+ufKpXk6tJkWwUG0FAd3mYj xeShvE8piKijOTcUK2Ecme/8TqK1YdZVi22lIHBQOg6OjRTKU6SfYOCJF6JZh4TGXFtuX5gTm 6qbnZq5z0Nz0ExK0zJRwmjXsGYaNYfiEtizBMF5XZ4ljEYneAht/Djgnop6IRpHwBRAGW4QKF zgqLIwPyBvVgXgkYSy/PTsaC5OwxfbsrXXbG7piyzGc0X/nOEgFg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.165.27.117]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MkVsa-1pq6IP2SYI-00mBus; Tue, 29 Aug 2023 13:41:07 +0200 In-reply-to: X-Provags-ID: V03:K1:rZB3RgMVIRPiN6qGcvdrCGcjiOi9JMthrw1PdosL1rRi/it1huL 88YxMxGHAbyRFxEusD6I+KC252PXofGx3YAPTNYxDSrCSyxWaY97gmHmBB7zS6AHBX2eUGw CtwJ/hi/RPCmM2odXFhA6jd1VGkCsFuY840u/ZOiEvkw65fE1JX1nwf++LcWV/drYG4+r03 EClZdLkUzuZ6ButrzvyqA== UI-OutboundReport: notjunk:1;M01:P0:FVEFQjR3+/E=;FM7KW6GnYwENyZC0NqrJGgThGU3 jbQrGGHSQSmFZFhBPtcLryNVamx0ixoucfhY/tYdLfFFr/xqhRO+Fpno7VWJ4ajfVuE/45o8K dUVOVR5mXnZQUYsZc5vnbWRZ1WeXrEZKG6un7VbA+w4S2jqIpkUyWcWMRd5t5vpy7NKeFbLAw X1v/XBnLJw04WAg1pZ6uAPS7zWVvexVr18zH8qolDMw5ULbHiweC8+zC1rvoXUy1CxmSxN1nL dr4xkzzgxhHhGlI1O05akTc3wTxzWYoBU66vRea5Gja18KXtLAQ9ZZn1Ooh+KZ8oKI/Xh/YNX 8WB6gFnD1th6BLnPwFZykN95AiNC2cufkjsmroF31HDfFgV/P984hV3WX3SA6QWzh+2WEagzu OWJDM2UZw3dCswbXs8O6TM4jzYRIWUOuYcGazadbmc9J7AXAc9WFIz6AdqUCuqjIwRcJzKynp usSW3mfROK8I6DVnfAhCDPZeAXkXaszrJpR90ULPrTUNlgdT7G7E+XfYhhSyVke1/t7SevyFJ eUDJgFqBaOTLs6Vkk6zZteiaxMqg1Wodc5rdF5Oh1CaIUW8lScXY+ExoI16OZaIlI1YJF9omt sOzRN7bGitBxURpq/18gE4QG2fPX5HurzEFjdE9gZfkRWbevFYcVdbI7ls7KAYz7oPCGXtZ49 +jHZnikubwpjR2U/CA1yeHQD+/oXzbXiXWdKwBbu2kLlogfHxxjdwhonJPuR2H2XLsg4eL2f0 ogvcoolhPAu89vkXHcbqGPjoJq5NxJ4tgikVwt5pk/i08JMi1BIeQWNVvON/9zghYvQUSBeJ Received-SPF: pass client-ip=217.72.192.78; envelope-from=arne_bab@web.de; helo=mout.web.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_H5=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-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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309494 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jo=C3=A3o T=C3=A1vora writes: > Anyway, are we aiming at making Eglot and LSP the only provider of refact= oring in Emacs? If we aren't, then I think we should be working on a > compatibility layer (which can be modeled after LSP's request/proposal me= chanism) even if -- for the time being -- LSP/Eglot is the only > provider. That move would inherit a lot of code from Eglot related to app= lying the changes, confirming etc, meaning those details would > already be solved.=20 I also use js2-refactor, multi-cursor (mc/mark-all-symbols-like-this), and helm-multi-swoop-projectile + C-c C-e for refactoring. Is Python rope-mode still a thing? https://github.com/python-rope/ropemacs (there=E2=80=99s also an lsp for rope) lispy--replace also provides refactoring, but locally. And as far as i can tell projectile-replace-regexp does multi-file refactoring, too. Of these helm-swoop already gives a kind of preview (because it uses a "do changes then apply with C-c C-c" model). Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmTt2VIQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD67gyD/9aur7A43D3Wauh1m0G/0T1A3kwAl3xzISe Zx6x4IMMgzaqHcD/PeiMlxqhdvPlRBwn450oOc2+obZpp8zrn8eixWV1n4oO6Ur6 tuUJvkl4zOVR9/N2rC6JPPP19Oi2e6FHUYby8+x/8UYwS8AWDqQnqaIodtN43XBK ShrCBqdK2j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