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: Automatic Suggestion of Packages Date: Thu, 07 Nov 2024 14:16:14 +0000 Message-ID: <87ttcjt9ht.fsf_-_@posteo.net> References: <86ed4kt2ws.fsf@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20602"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , dmitry@gutov.dev, johan.myreen@gmail.com, emacs-devel@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 07 15:17:26 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 1t93K9-000583-Q4 for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Nov 2024 15:17:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t93JJ-0001py-Gf; Thu, 07 Nov 2024 09:16:33 -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 1t93JB-0001pd-Hg for emacs-devel@gnu.org; Thu, 07 Nov 2024 09:16:25 -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 1t93J9-0004jS-BW for emacs-devel@gnu.org; Thu, 07 Nov 2024 09:16:25 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 134F9240101 for ; Thu, 7 Nov 2024 15:16:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730988979; bh=YZgEMF05dVz9MRlZ/7TgdR2OrJRqJzopqCV5+D9EHac=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=GCDM7WP6bRG7ek47XqDxAokv1wZB+Fy8LpNVQQk3zSn2xzPEdXVE9OSrkR4CN0GRD 2e0VAP2Ogblmv+FsmZ0URhyhBNoIaj3uZel1+WoKP7KRfu+IdI11BbFtde4q1xSUkG qYhMXajSdqTNw+txQG6uIAWotQWADF1c9EDnVT9LLJ2AwN+G2FvNfEPyvu1iYWITuA S+8H2WESQqfYYKLW6r12In1nJxbgVtWWIBHipvX1JfBQdQj2A0nxfg93yOL1bZfRN+ tDpIU/eYC18F4Lnq9cUlaiGaws3I4xibAOzFwAFEhvCcClhjCzU5BIkLLv/BqGAZY2 02oUuc29D6FeA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XkkdX0FhLz6txn; Thu, 7 Nov 2024 15:16:15 +0100 (CET) In-Reply-To: <87pln8hfh6.fsf@web.de> (Arne Babenhauserheide's message of "Wed, 06 Nov 2024 10:35:33 +0100") 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=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:325227 Archived-At: "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 I have copied the approach used by `gnu-elpa' to scrape the autoload files of ELPA packages to gather suggestions. You can find the database here: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/package-autosuggest.eld?h=feature/package-autosuggest > Best wishes, > Arne -- Philip Kaludercic on siskin