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 01:01:30 +0100 Message-ID: References: <164484721900.31751.1453162457552427931@vcs2.savannah.gnu.org> <875yg1bc02.fsf@posteo.net> <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="30673"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Richard Stallman , emacs-devel@gnu.org, 'Eli Zaretskii' To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 13 01:02:17 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 1ou0S1-0007mY-4N for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Nov 2022 01:02:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ou0RQ-0006uK-Ju; Sat, 12 Nov 2022 19:01:42 -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 1ou0RO-0006u3-Dx for emacs-devel@gnu.org; Sat, 12 Nov 2022 19:01:38 -0500 Original-Received: from mr85p00im-hyfv06021301.me.com ([17.58.23.188]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ou0RM-00004t-Mv for emacs-devel@gnu.org; Sat, 12 Nov 2022 19:01:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1668297695; bh=dKYrRinwWEeZiSW4MKHON1FYOiOp5NUcUOuhbGm48zQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=wyhpk4DCZRxV2lGHo/nI6qbYenniviDcMIpL6ZeIdsMLl+rmgmOXXpW6s1suxy5eV fJB/E0kGxLsNA0EJRtNp0HiQO/XzuuBWH85KRiXtaKkcQ1qvheY/mv61j2fpwjiTtZ vmSsbxNsOXuVMbR2pqZwPJub+LGVvN0a6Mh7o0EW3uxwKiJhR7ezVn0432c46qrZsb ID2gVG7XUiUUDpVMDupiblM3qv7GFSPit8NW7vggNGnO+SO9mwbL6+YhXBE4dDXn0q eyySuxAD2SEp/NBobKlJwXGEDqCL3nQHlhkORj6NYy6sNZDmnW6rjRCPlw3KNlfo0a HCtMgLU4xi+Gw== Original-Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06021301.me.com (Postfix) with ESMTPSA id E36882150F1C; Sun, 13 Nov 2022 00:01:33 +0000 (UTC) In-Reply-To: X-Proofpoint-ORIG-GUID: oY3skDVEUryi_UzoO-Ymbc67_RZvZG7g X-Proofpoint-GUID: oY3skDVEUryi_UzoO-Ymbc67_RZvZG7g X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 adultscore=0 mlxscore=0 mlxlogscore=997 malwarescore=0 suspectscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2211120170 Received-SPF: pass client-ip=17.58.23.188; envelope-from=salutis@me.com; helo=mr85p00im-hyfv06021301.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=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:299686 Archived-At: Philip, I pulled the latest commits and tried to install `modus-themes', `vterm', `mentor', and `orderless'. Everything worked like magic. In each case, I simply added the `vc' prefix and a pair of parentheses in `-vc-selected-packages'. I then restarted Emacs and everything always installed and worked flawlessly. The `vterm' package also compiled its C library without any problems. Magic! Old: (with-eval-after-load 'package (add-to-list 'package-vc-selected-packages 'modus-themes)) New: (with-eval-after-load 'package-vc (add-to-list 'package-vc-selected-packages '(modus-themes))) Then: (add-hook 'after-init-hook #'package-vc-install-selected-packages -99) [Simpler than `package', which needs additional babysitting with `(package-refresh-contents)'. Perfect!] That said, When I updated my config to install from VC, I noticed that `elpa' in `.emacs.d' now contained two versions of the packages, one from `package' and one from `package-vc'. I executed `package-autoremove', but it made me wonder if having two versions, even if temporarily, will cause problems for the people upgrading from `package' to `package-vc'. As a side note, you mentioned that `package-install' works for both "normal" and VC packages? I guess `package-autoremove' does that too? I looked at the documentation for both and they mention just `package-selected-packages'. And speaking of `-autoremove', should we also add `-vc-autoremove'? For the only problem I have, I could not install `geiser'. I got "user-error: Package has no VC data", and I kept wondering what the user should do in this situation. I had no idea where to look. I will try more packages in the coming days or weeks! P.S. The documentation for the `package-vc-selected-packages' variable contains a typo "... you cal also use ...". Rudy --=20 "Logic is a science of the necessary laws of thought, without which no employment of the understanding and the reason takes place." -- Immanuel Kant, 1785 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia