From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Newsgroups: gmane.emacs.devel Subject: Re: feature/package-vc has been merged Date: Sun, 13 Nov 2022 22:42:02 +0100 Message-ID: References: <164484721900.31751.1453162457552427931@vcs2.savannah.gnu.org> <878rkxgpms.fsf@posteo.net> <87sfiyk3a2.fsf_-_@posteo.net> <87mt948pmo.fsf@posteo.net> <87fsevyxnt.fsf@posteo.net> <87zgd1f70g.fsf@posteo.net> <878rkkbj90.fsf@posteo.net> <87edua7jw5.fsf@posteo.net> <878rki7jf3.fsf@posteo.net> <871qq81u3m.fsf@posteo.net> 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="6479"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Richard Stallman , emacs-devel@gnu.org, 'Eli Zaretskii' To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 13 22:43:02 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 1ouKko-0001Ub-9c for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Nov 2022 22:43:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouKkD-0004AA-IC; Sun, 13 Nov 2022 16:42:25 -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 1ouKjz-00045Q-9C for emacs-devel@gnu.org; Sun, 13 Nov 2022 16:42:13 -0500 Original-Received: from mr85p00im-ztdg06011801.me.com ([17.58.23.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouKjx-00035J-9t for emacs-devel@gnu.org; Sun, 13 Nov 2022 16:42:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1668375726; bh=K/3htGvqqTHlnPx81xQU+wD94iEohV10ySLeDfWuHuA=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=aHJgILgE+wLOqc0O80aDD7dZcWvqJ2BxQ+0gW3FkDMqp2nfpXjfb2nWq+74EwzGti wC3MfhxLoP8HXOzaa7kEX/d4Zb1utkBwnY2IJqmZaL8A3G/CQb27yjqUC80fblepg8 waT98pGQp4acB118EWGusTZbMWlgMQ/HPQXl6d/M9ivLgCxg7HFFjOFY2/PoZOMs/o NkHG77l+M2wilqk5KWJ/ISpJQypEaYkxF4EH3lTly2PTM1mXrTzm2GQxB0gh8i+O0w 5UTSjG2Ug06dAJb8Omb+sKtAEKc0+iYICUDI0GF5NeuIEkfDfGO65mfslTWo6gJjxA TmkpyCyOs4Svg== Original-Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011801.me.com (Postfix) with ESMTPSA id 1C8ED9C0C1C; Sun, 13 Nov 2022 21:42:04 +0000 (UTC) In-Reply-To: X-Proofpoint-GUID: zldEf38Z3LTRpu0uy7FYJ1Pb63k9bNei X-Proofpoint-ORIG-GUID: zldEf38Z3LTRpu0uy7FYJ1Pb63k9bNei X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.816,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-18=5F01:2022-01-14=5F01,2022-01-18=5F01,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 malwarescore=0 mlxlogscore=813 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2211130150 Received-SPF: pass client-ip=17.58.23.199; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011801.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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:299756 Archived-At: Stefan Monnier writes: >> [Simpler than `package', which needs additional babysitting with >> `(package-refresh-contents)'. Perfect!] > > That should not be necessary with `package-install` either. > If you still find it necessary, please report it as a bug (and put me > in the `X-Debbugs-Cc`). TIL! It works without any babysitting. I simplified ... (add-hook 'after-init-hook (lambda () (require 'package) (unless (seq-every-p #'package-installed-p package-selected-packages) (package-refresh-contents) (package-install-selected-packages t))) -99) ... to ... (add-hook 'after-init-hook (lambda () package-install-selected-packages t) -99) ... and my Emacs configuration bootstrapped without any problems. That said, the VC command still wins, for does not need the lambda. :) Perhaps we should default the `noconfirm' parameter to `t' when the user uses the command non-interactively? While on it, we could also rename it to `no-confirm' to make the spellchecker, and thus the reader, happier. :) Either way, thank you for letting me know! Rudy --=20 "Chop your own wood and it will warm you twice." -- Henry Ford; Francis Kinloch, 1819; Henry David Thoreau, 1854 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia