From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Automatic Suggestion of Packages Date: Thu, 07 Nov 2024 21:50:47 +0000 Message-ID: <87v7wyhfwo.fsf@posteo.net> References: <8e30fb5c-8e1b-4f73-98eb-50c5c396efb0@gutov.dev> <86ldyqsrax.fsf@gnu.org> <10864c02-4bfd-41c3-bb45-6fe1155f9676@gutov.dev> <867ca9shcw.fsf@gnu.org> <7cb15f5c-efd0-4516-8190-a53c0d958eb6@gutov.dev> <86ses8x1po.fsf@gnu.org> <865xp3w64u.fsf@gnu.org> <61171da3-7428-4572-bc13-783766a123b5@gutov.dev> <86v7x2u7rz.fsf@gnu.org> <877c9hizof.fsf@web.de> <86cyj9u71k.fsf@gnu.org> <8734k5ipx3.fsf@web.de> <868qtxtx2p.fsf@gnu.org> <87a5ed605a.fsf@posteo.net> <87y11xh4cy.fsf@web.de> <87ikt1ust4.fsf@posteo.net> <87pln8hfh6.fsf@web.de> <87ttcjt9ht.fsf_-_@posteo.net> <87ttcjt4cu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33865"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Dr. Arne Babenhauserheide" , Eli Zaretskii , dmitry@gutov.dev, johan.myreen@gmail.com, emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 07 22:51:53 2024 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 1t9APw-0008dV-T6 for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Nov 2024 22:51:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AP7-0008A0-S3; Thu, 07 Nov 2024 16:51:01 -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 1t9AP6-00089i-31 for emacs-devel@gnu.org; Thu, 07 Nov 2024 16:51:00 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9AP1-0002zh-6m for emacs-devel@gnu.org; Thu, 07 Nov 2024 16:50:59 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EEBD4240101 for ; Thu, 7 Nov 2024 22:50:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731016252; bh=KePtq5KixMKdEKN0tLzYjshQqFNr7Y7QkM+r8b0kfAE=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=ekoJjFXuS5HMgzqvnp02I9Cda5eKffh+ii4UJFfBnnpXU/Og1Q2JmVcjwp2vfI85P JNdLgRAlKokD6egGaW25O9bhKF5AX3hlNPah8+FxEWB27YQb1EtC8tY3rQ6zT6ee0I PtRgTFihvihYiCsNIJBE9+yAHGWLJHsA0+zeGMg2Ip0Xi5laAWCzaayR3LNcgHh/9Z Pds+ARB+5phcpNscHFo6L2t3U0V9Xg1zkqoCPRHtCvMRMWoBgAk8zb5ok9ilJKvdDk OQhv6QimgnnZlg1BGqoZl49aR3PwhfDp7ncgkJMOZr/o2BJZ04b43OTOBa8uhowJjE iCoTce9gYIqlA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Xkwk257q3z6trs; Thu, 7 Nov 2024 22:50:49 +0100 (CET) In-Reply-To: <87ttcjt4cu.fsf@gmail.com> (Visuwesh's message of "Thu, 07 Nov 2024 21:37:13 +0530") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=philipk@posteo.net; url="https://keys.openpgp.org/vks/v1/by-email/philipk@posteo.net"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:325239 Archived-At: Visuwesh writes: > [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE= =A8=E0=AE=B5=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 07, 2024] Philip = Kaludercic wrote: > >> "Dr. Arne Babenhauserheide" writes: >> >>> Philip Kaludercic writes: >>> >>>> I have pushed some code to feature/package-autosuggest after cleaning = it >>>> up a bit. The main issues right now are 1. that when clicking on the >>>> suggestion to install a new package via the button in the major mode, >>>> the UI wants to confirm this by pressing enter in the minibuffer which >>>> is not automatically suggested 2. that the database of suggestions isn= 't >>>> populated properly. I'll probably write a script to scrape ELPA for >>>> suggestions and generate them in the right format. >>> >>> Thank you! >>> >>> Is the modeline indicating option clickable? >> >> If it is useful, I have made a little screen-recording of how the >> feature looks like as of current state on feature/package-autosuggest: >> >> https://spectra.video/w/e93b3XqNzN6yXucZbNnu7c > > Can we have an user option to both `message' the user and have a button > in the mode-line? I usually don't notice changes in the mode-line > often, but notice messages in the echo-area. Just having `message' > would lose the convenient mode-line button to auto-install the suggested > package. We can do that, it might be worth discussing if the user option should be re-designed. The current styles of presenting suggestions are: 1. A button in the mode-line (default) 2. A message with a hint to use `package-autosuggest' (which I think is convenient enough) 3. A `yes-or-no-p'-prompt to install a package (either every time a suggestion is available or only once per package) I don't know if the last one makes sense to have, as it is pretty aggressive. Perhaps it makes sense to always present a message if the minor mode is enabled, and add a separate option to enable the mode-line button? --=20 Philip Kaludercic on siskin