From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: What to do about unmaintained ELPA packages Date: Tue, 31 May 2022 00:51:33 +0200 Message-ID: <20220530225133.nw55m4mi6bco5c2x@Ergus> References: <87k0a42fc9.fsf@posteo.net> <8a6d74f7-b78f-3dad-1bd5-f41354f4391f@yandex.ru> <871qwb5wxv.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Stefan Monnier , Dmitry Gutov , emacs-devel , Noam Postavsky To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 00:52:36 2022 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 1nvoFX-0001Wg-Ie for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 00:52:35 +0200 Original-Received: from localhost ([::1]:45976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvoFW-0001jv-3H for ged-emacs-devel@m.gmane-mx.org; Mon, 30 May 2022 18:52:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvoEj-000140-F7 for emacs-devel@gnu.org; Mon, 30 May 2022 18:51:45 -0400 Original-Received: from sonic302-3.consmr.mail.bf2.yahoo.com ([74.6.135.42]:33698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvoEg-0001oZ-QF for emacs-devel@gnu.org; Mon, 30 May 2022 18:51:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1653951100; bh=kUD/WdF+SSHjZjRnZ5cWGs+DMFs/5FrCALyWuLZS+4w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=oneRDVBpuDpDv8i73KM454F3qzrvHDDH+jF/1Jt9L1YWZoGmhc0RyTt9Mvzq+H+YhAQAfUxYdY0LE91+QcyrCQHJdHrxRgUtVT74PZzkjbx3htt+BzihRFW8CrfyhYMrkGc+YSOBH+JLh+jmHsH7WpyVL3iS092+IpTwLbPAChTTcoP4MNttDU5Fp/PxPljdz79N8qg46JcmVfhb05wPqRYm4T0cpNH+RvXb+1+R6x8yOF415glkWjmfNChhtaD9uQbb+LF/AvdOl87Ccyp1eLkakdpnF4vbtPiPvlGWb2BK0k2xJ9Mz630ivz0UHmKFbVaY/2gpMMJrpHDSRYYcbA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653951100; bh=AsmAT9jEm8XI0MRrG8bR5XEKk2JSYf8OuD1FO6DSF2d=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=JuzTjeD6KYembo3r00OiTe+gifkdoEtE4z1GswtqLLO5rM/vO9Pc0aZsXvq+uTW0EkQyGBbe/lO0LyWYcV7/VEqktsBVecmJfgxEkWfenI5KKnDecx7RQVjUCLIJ1L//KQu8vlaXPr1tqKvzF7smjoRJXJDF3TZo1E/MB5EF/oc8SwQZO2FFcA2lzoim8fmjx3/Bwqft24ksiT0WWiTA2eTRGyOfYqT0vFGndvkCnpE6fF3owletEKLwIa9t8kFq7/FGhIbSoVuzgCUc9omWz1irdSl0Ny50m/PI7/LQ6JWghhLEiTpKPbCmT3pT3Z2XvgIJa00WJBlQdj7uIX02DQ== X-YMail-OSG: uBe1nzsVM1l2rG7lJ8AgXvrQn4_Qw92w7YpazB9U6ObBGOeRKYl1nFChvyQSQEW 3JQ7NCQjhYnEDckoFsQHTudQJGDU4UMrPvTfEyAKWldgo8rp9sY9s40BTAEs7s30hGTDIv799OmB 1.fPOAOPEUWV3Y8e5wMqDG3e8jjUG6ujkyuRHUwnBA9xa__cJzUQLXPz7_1w_ITzSHe437WKCter 12OWdc8UXymOObYGQrdN4otU9tL3HAjGmKweQhtBLEN4HE7ZBk_Uip0K621cqmR7vF6Wu80MnF6g TVicCMIQLHwJ498z0dgGeKdXIeaJ3xOcncl9xxkbCurdN3BWNodrK.ZTfT6b7LhuNIWKL3ACB08W EiQuxdQTHbmflz9FEXzp4HGP7WwPIN11RRD321kjPK3SIBOveE5eYtgTZIV1gUbn90gELHNvmXOk Q8JCT5FMYqxAJ6HKuWG9iw_3HL0a3GYdU69r2WpaIFjvS5Korv6gvjl5nemZYAAX1AjGaFpGNYa3 72n3BYVOHA88YzbumdeM3165bM8wvoHbafxBhe3v9nz7vgnsy3Q5zUj07DV52giC.qaB5Xr38s9t t935jACCYTs5VeibWTtEIiBxQPeoEDWeaONoJVp4oB4fXjfMf6UcI3XDmclWxTHZ2cMoWtFtqVsd bUPPwXgGmXmVLRHrvqFMEeqQaIyTipZDFdTiapXVTQLIu5kZgUJuOs0m9QdQOG_Xk_ItwA5jnyES RLM68nnBtWUrylyVS.GdeNImIDWzbK4HMCZGppbpfSkSY9xNJm.rB.knm15K3Xz1mO15ZCbI7FAW 7FUfyaCEl371hqrjstmixuz5i_oGKXzvDGBixp5IkB X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Mon, 30 May 2022 22:51:40 +0000 Original-Received: by hermes--canary-production-ir2-6c7595c778-c54g9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 651fa3caf501a70d0d341b326e02fcb9; Mon, 30 May 2022 22:51:36 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.135.42; envelope-from=spacibba@aol.com; helo=sonic302-3.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:290388 Archived-At: On Mon, May 30, 2022 at 03:46:11PM +0100, Jo�o T�vora wrote: >On Mon, May 30, 2022 at 7:58 AM Philip Kaludercic >wrote: > >> Dmitry Gutov writes: >> >> Considering the number of issues that have been gathering in the above >> mentioned issue tracker, I find it increasingly difficult to say it is >> "stable". It is far from being "bitrotten", but there is plenty of >> space between the two. > > >Yes, I agree with this characterization. Yasnippet's "display engine", >though >highly tested (automatically and manually) is complex. I recall some bugs >when interacting with other packages that make heavy use of indenting tricks >and overlays. While these are the minority (as far as I know), Org is one >such package and it's pretty prominent. > >On the other hand, last time browsed the issue tracker, there were very >many >specialized feature requests that wouldn't (IMO) make sense in the Yasnippet >engine. Integrating them would be hard and awkward and it would turn it >into >something else entirely. So, in that sense, Yasnippet is stable. > >One interesting area of Yasnippet development is in its 'snippet-engine' >branch, in a file called simply snippet.e'. It is the product of an >exchange of >ideas between me and Stefan Monnier some years ago. It's a bare-bones >version >of Yasnippet's snippet expansion and navigation engine, more efficient and >Lisp-friendly. The goal was to replace Yasnippet's engine in the master >branch >with it. > >Alas, motivation fizzled and work stalled. But it was pretty spiffy and >almost >done. As I recall, snippet definitions were simply Elisp forms, written in >a >nice DSL which was not particularly obtrusive. snippet.el is more or less >yasnippet.el done right. > >snippet.el could be useful in light of a relatively recent development: >LSP. > >If I've ever actually used Yasnippet recently, it's been through LSP/eglot, >completely transparently. When used though LSP, a lot of Yasnippet's >legacy, >bug-prone, wish-I-was-Textmate, dont-really-know-elisp code isn't being >exercised at all. > >I've personally abandoned the idea of maintaining personal or shared >language-specific snippet collections via many little text files. I would >guess >others have, too. LSP servers simply maintain that collection for you, as >they do so many other things, and that's agreeable to me. > >It's true that LSP still uses the Textmate snippet description language, and >snippet.el accepts Lisp forms (as it should). But translating from the >former >to the latter isn't very hard (in fact someone over at the repo did it some >years >ago). > >To summarize, I don't have any particularly strong opinion on what should >be done >with Yasnippet. In fact, I don't even know what problem Philip is trying to >solve! >Is it just the general idea of abandonment of the fact that people's issue >reports >go unanswered? If the latter, then I think archiving the repo would make >sense. No >more issue reports would come in and one could advertise the Emacs bug >tracker. >Would that improve things? > >I do think that it's important to preserve the documentation though, as >many people >seem to refer to it still. Or maybe transfer it to a more GNU ELPAish >location/format. > >Who knows if the description above motivates someone to pick up >'snippet.el', >finalize it, and make a new GNU ELPA package? Or maybe it motivates someone >to pick up the maintenance of the existing Yasnippet. > >So let me and Noam know if you wish me to do something admin with the >repository. >While Noam is the official maintainer, I think I still retain those rights. > >Jo�o Hi Joao: So far depending too much on lsp has some issues I am not sure they are all already solved in order to make yasnippet substitute its backends: 1) LSP+Tramp works pretty bad; specially with relatively big/medium projects it becaumes extremely slow and gives the error message of reentrant calls... also it depends on having LSP on the remote host. 2) It is difficult to use LSP for quick tests.. suppose it wants to test a simple program... usually I open /tmp/main.c and start writing... with LSP Eglot it needs to know how to compile it to give completions like inserting main(int argc...). flymake depends on a Makefile, LSP of a database... 3) Bear is also problematic as it now adds a lost of extra dependencies, so projects with autotools has a problem to create the build database... 4) When build is out of source (something that is becoming more common in autotools and cmake also prefers) the build and database creation and update requires constant extra effort, something most of the IDE do for the user. 5) Do you have documented how to make eglot integration with yasnippet? Because I can't make it work. If you have ways to go around these issues I will be very grated if you share them, so I could try eglot+yasnippet for daily use. Thanks in advance Ergus.