From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gabriel Newsgroups: gmane.emacs.devel Subject: On package-install x package-install-selected-packages Date: Sat, 13 Mar 2021 03:13:14 -0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27470"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 13 07:14:27 2021 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 1lKxXf-00073C-H4 for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Mar 2021 07:14:27 +0100 Original-Received: from localhost ([::1]:56234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKxXe-0002Oo-D8 for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Mar 2021 01:14:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKxWf-0001uX-MR for emacs-devel@gnu.org; Sat, 13 Mar 2021 01:13:26 -0500 Original-Received: from mail-dm6nam11olkn2058.outbound.protection.outlook.com ([40.92.19.58]:35937 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKxWd-0003ly-Tk for emacs-devel@gnu.org; Sat, 13 Mar 2021 01:13:25 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lu4XwrCBcpCoyWmDCfRr08awhFA6w6Vq2EY0A2x6Qt0w3jiQLO+raCms+3K/7F8lv3jm8guvWuZuhtBc5QE0mM9sTulU5fI7Ynh2K2Zl2TK2APENPUgxHPRA+VxC2XhzXuk/LqUzN+mvWB5D2MDbRU6KA6jL2NyE7/v7P3cqqjIltFvC7JVTmxZrorLQEqspx54K33Y073V+dfrbFr162+1523MIMBlqJuT62V6s04CQ/hE2gCVxNeOYffi/XIv8o4BDXTcDBK/8SZ7cifVsnB2vh5mPDk52QFHgkAZhSF/X+3xBblvka+zrkhjRX+/TBSth2Cb7mI/FR+p/6xsQGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y1NLWAnedbtFwoSOlkmsYVZyImDvenK3r2hV2evewno=; b=kfOx2xyY1JwxtPHXPOyepteVEnrCEHAU7NLbX9oXYN3Zo2S27IklBIhqmDJV8mDB/NQ2QvX74PkZiYp4jXJ6JBLZdBI3AdXtkoBHNvNVh8GrdtklR6AqEI8SEljwxzsiPzDJ8LCUKOupKd5X54Lys+AEucDdJ0OZ+6M4OH0+c2nt65lglXwCQG52X8SS+2yEhHAnKjnqX+e+ETP990h759QhKiLmDJopnhIYYnaiVZuj/XZ1suC+2xorkWAjalfW81k7UOWQypdv9EJBFohDrVvgIqsNAlN8PT/QFxdGcQwTsZCcsFMVwdQPgP0UT4pZwOTwkBgqHV84/P95HFHa0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y1NLWAnedbtFwoSOlkmsYVZyImDvenK3r2hV2evewno=; b=XLbzcKgUNTLKCda49hDk0c1BQ22FkmVK+i/IzY0Vj6C/962ehdYGWcqpCBqTa/hQUPX/v/S6Z+Qsx9AOGchzjOufUpe6rUzWpwe7tpAuyxheUvoOoYe+2vIRmXuUtLvho5NO45xXmhWRV+vPA2PkwG01vOrf8RGd/qUbj5CwGzyuB7DSTGxxy6xc/WjYL5OYVYJVH4kcM87YAj49b+jbMxTrukVDGy7vzT4N84k8DwwFsZV9z/nAy86AL5h4LiJUVny4+Zq5fmVCjyuigK8l0yX6S/mpjRi3FiBK6XRBxn1Q9TgK7PrEZXyQI5z4ALuku6+ak3GrNxc4aeWa94FAuw== Original-Received: from BN8NAM11FT033.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::45) by BN8NAM11HT127.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Sat, 13 Mar 2021 06:13:21 +0000 Original-Received: from CH2PR01MB5879.prod.exchangelabs.com (2a01:111:e400:fc4b::4d) by BN8NAM11FT033.mail.protection.outlook.com (2a01:111:e400:fc4b::405) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31 via Frontend Transport; Sat, 13 Mar 2021 06:13:21 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:4F8B15591C3051BEF72EA238933FA16604BB0B38ADAB10BD5892B3317903CD33; UpperCasedChecksum:E04549C6E82482C8C282E0B3EE4E5250B5AA3C5EAF841B789012AFF8B79F0B87; SizeAsReceived:7217; Count:42 Original-Received: from CH2PR01MB5879.prod.exchangelabs.com ([fe80::592f:9a58:d8cd:d9c9]) by CH2PR01MB5879.prod.exchangelabs.com ([fe80::592f:9a58:d8cd:d9c9%7]) with mapi id 15.20.3912.028; Sat, 13 Mar 2021 06:13:20 +0000 X-TMN: [Nu03xnkztDiCS1XyeJm5KArSlp3feyfh6iX+tAJtTtBAu2Gq8wAkR3VkH9EezT8J] X-ClientProxiedBy: CP3P284CA0086.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:6e::31) To CH2PR01MB5879.prod.exchangelabs.com (2603:10b6:610:3c::12) X-Microsoft-Original-Message-ID: <87im5vvax1.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from precision5540 (2804:431:c7f2:d29a:45c:4e08:d82f:ccbd) by CP3P284CA0086.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:6e::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31 via Frontend Transport; Sat, 13 Mar 2021 06:13:18 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 42 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d3404600-5742-4a15-8289-08d8e5e718fa X-MS-TrafficTypeDiagnostic: BN8NAM11HT127: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5QT+wZtso777T1MFjjR9UK4ZUykYlwieDYcvVFWZFrSPXp5vUpJYuEvu/cBt9VfIZx1hK9IhcCKcl8n4GQR9HNNHa5b2jRwUtEfC/fi4AcS4e7MSu9sywnSIhxaYtEpzty0GgF9k2yceJ+NQZgdbnA0qqjaRaJWTBIChQt86pB4VLkTbxe2RwojTU5skaMpWtn5FK51NIc78LbGipd/ePcUn08b6n2PWDLVY2/V401CctmRfWQ7ugo+yNT3r3VgkL8o1ZXyyxR+sK5D1jAABAh1VekkJ7IEdCQolIyK9k/N9rrWFwuyEluwUSADTMm0WOUqYLUex/iQmhAA4zNnO/9sOEhPmKAWvbyGo78ZlSJkH3+k78S80FGIKDt4FZcHRnzdRyydTRM59V+pLamnEXA== X-MS-Exchange-AntiSpam-MessageData: Ia+78X5LbYWnWVjhM52/a/GtsPq0nMVq6cxspVHLBdnPczgj/OSNPTJCB2aMQKGXYK8YZM+sAbLI6QlPoUCOhIo8t4iw3nmCaLA833eADYP0WMVVpfprm4yqOesNiRaZex74fBhBO51p90t0o+yIczQGiFFPCIo7kcZPJjgwU4CtcGQJdmCAwS4SdAqA5ZFxtBjlNt5NRYKYOb659Kbsvw== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3404600-5742-4a15-8289-08d8e5e718fa X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2021 06:13:20.5883 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT033.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM11HT127 Received-SPF: pass client-ip=40.92.19.58; envelope-from=gabriel376@hotmail.com; helo=NAM11-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.23 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" Xref: news.gmane.io gmane.emacs.devel:266426 Archived-At: On package.el, the 'package-install' calls 'package--archives-initialize' to initialize the archive contents, but 'package-install-selected-packages' does not calls it, relying on users to initialize the archive contents by themselves. I could not find any documentation about this difference. Should we modify 'package-install-selected-packages' to call 'package--archives-initialize' ? Or add some flag to control this behavior ? Or update the documents to account for these subtle differences ? Also, 'package-install-selected-packages' always asks for a confirmation to install or not the packages. Can we add an option to skip this confirmation ?