From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: package-autosuggest Date: Thu, 31 Aug 2023 13:40:27 -0400 Message-ID: References: <87il9kksqz.fsf@dfreeman.email> <3d5ef276-ce6b-9ff0-0c60-1da6b887b365@gutov.dev> <1070e416-2a13-49e0-90d4-fbc526cd461c@app.fastmail.com> <83ttskia84.fsf@gnu.org> <97c96b72-ebba-4853-98d2-86e3ba8bbc05@app.fastmail.com> <83sf84i9ix.fsf@gnu.org> <837cpfhzdm.fsf@gnu.org> <83zg2agjp8.fsf@gnu.org> <87ttshk3ns.fsf@posteo.net> <83il8whjig.fsf@gnu.org> <87fs40oiie.fsf@posteo.net> <838r9shgtz.fsf@gnu.org> <871qfkogy7.fsf@posteo.net> <835y4whd0m.fsf@gnu.org> <87r0nks55d.fsf_-_@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="466"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic , Eli Zaretskii , stefankangas@gmail.com, yandros@gmail.com, bozhidar@batsov.dev, dmitry@gutov.dev, rms@gnu.org, danny@dfreeman.email, emacs-devel@gnu.org To: Eshel Yaron Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 31 19:42:24 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 1qblgV-000ATG-7p for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Aug 2023 19:42:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qblfi-0001hO-He; Thu, 31 Aug 2023 13:41:34 -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 1qblff-0001fs-Kx for emacs-devel@gnu.org; Thu, 31 Aug 2023 13:41:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qblfc-0007m5-RA; Thu, 31 Aug 2023 13:41:30 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 290B04441C1; Thu, 31 Aug 2023 13:41:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1693503680; bh=kNaa7SCOhdpKzOmtX7Ya+tkbR591uLDDJNZbXIg2y3w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CUjNFCRlhO/5TenDbp5NPzRV0dREUtZk+g7Dx0LT3/h5RND9oKlRZ2Qggttx6tfes Uzl29VZjZWN4MsZ/VYpmdDvB4Xa6Fwpi/bwXnxx/IgLcsinUgC0YLENUS5nvAuVH6m 1kWpWIAPdYPWPCYTCxhsd3rkQC5D7nQzW6qSOLnekAyq72Zrln0O1uCkOzdSrMlpm3 +t08OjYWvZYIjk4h+9it7KWYZda8G3JbFnq4lfOBSY+9nmDEQGee2Zk5TwsIm2whlB pJ1ksIwvCnm1yulbqHVwdpNx7Zu8xdlSdeZ0j+Ec6gv6qical2cWbb5f00jBEGXewu sRvzlErZJC1nQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4B51B4441C3; Thu, 31 Aug 2023 13:41:20 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2BA481203C5; Thu, 31 Aug 2023 13:41:20 -0400 (EDT) In-Reply-To: (Eshel Yaron's message of "Thu, 31 Aug 2023 10:34:43 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:309687 Archived-At: > - Sophisticated: each hint should have a confidence/certainty indicator, > possibly a symbol among `certain`, `probable`, `possible`. We don't bother with such distinction for all the other entries we include by default on `auto-mode-alist`, so I'm not sure it's worth the trouble. AFAICT the code would only suggest the use of the external package when it's "instead of falling back to `fundamental-mode`", so I think it's good enough. Even if it's not the right package, it might help the users realize that they should look for an appropriate major mode :-) > - Manually curated: Emacs should only push suggestions for packages that > the project whole-heartedly recommends. While the quality of the package matters in a certain sense, in practice the choice of what to include in Emacs or (Non)GNU ELPA comes down to many other criteria, and there are packages there which I would *not* recommend (and definitely not "whole-heartedly"). Instead, I think the criteria should be based on the likelihood that the recommendation is helpful. Stefan