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: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800) Date: Thu, 13 Jul 2023 08:51:37 -0400 Message-ID: References: <168924107008.19431.1227792773208531915@vcs2.savannah.gnu.org> <20230713093750.A9D48C06C6F@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20940"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 13 14:52:50 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 1qJvoQ-0005C1-MK for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Jul 2023 14:52:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJvnS-0001Vs-Q4; Thu, 13 Jul 2023 08:51:50 -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 1qJvnQ-0001VV-VD for emacs-devel@gnu.org; Thu, 13 Jul 2023 08:51:49 -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 1qJvnJ-0004Dk-F2 for emacs-devel@gnu.org; Thu, 13 Jul 2023 08:51:48 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B42461000C3; Thu, 13 Jul 2023 08:51:39 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8B00C10009E; Thu, 13 Jul 2023 08:51:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689252698; bh=PqZRy3YjAytd7whczW//cesoSCEDmZREshk8U4ODwDI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Wsewt/23utsjfVD+t4HHn2Nk0gSxGJUW3tp/LdBAPpIvXJ7TD5+GwFNtknf1L0YMU 9LkKkg6eNVBSWgfGgn0VgOz+LQQ6JDIBd06CrjHyZpBtd2Fkw/1vYwUNlqtPD8zGTM pN0qDw6XJZtV3NLx7NABJs7Q0xqVJ2PyVPGl5CDLAAujhIZXblAgDGW+GjYQzjJ/yZ cVLGc9b1bPRQG3BSV+2Gpvg6D2A2Jll3oRwsB4/4a1P3okKNdO3OKBmDXUe3xnEJLi 6DMr4cjxhvZY0WppukSOZB0splNSk3f2XPsGVwQDsuwNWkWzyAeSw28Wi84ojkgyc7 3llJsKJ7Bu9Ow== Original-Received: from pastel (69-165-150-192.dsl.teksavvy.com [69.165.150.192]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6A1F212034B; Thu, 13 Jul 2023 08:51:38 -0400 (EDT) In-Reply-To: <20230713093750.A9D48C06C6F@vcs2.savannah.gnu.org> (Ihor Radchenko's message of "Thu, 13 Jul 2023 05:37:50 -0400 (EDT)") 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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307813 Archived-At: > (insert (format "

To install this package, run in Emacs:

> -
M-x package-install RET %s RET
" > +
M-x list-packages RET
> +

Then, find %s in the list, click on the link, and click

Install
.

" > name)) > (let* ((readme-content (elpaa--get-README pkg-spec srcdir)) > (readme-text plain-readme) Hmm, I don't like this change. IMO, we should make this part of the page *smaller* rather than bigger. Also, this reminds me of those horrible PDFs we have t work giving steps to go through with their horrendous web-application, which to me scream "this web-application is broken, URLs were invented so you don't need those steps". So if we want in general to recommend users use `list-packages` rather than `package-install`, let's just put something like: To install this from Emacs, use `M-x list-packages RET` But this should be motivated by a preference, not by a bug (which we should fix instead), and not by something that only affects a tiny minority of packages (otherwise, change the above code so it only affects those very few packages). Stefan