From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.devel Subject: Re: Unboxed package manager Date: Wed, 22 Mar 2023 18:44:32 -0700 Message-ID: References: <57668895-8EEA-44F7-BD46-9CDFAA11FD2C@gmail.com> <08b5f766ddd9da754a86@heytings.org> <08b5f766ddf4b33993cd@heytings.org> <08b5f766dd896dfbed4c@heytings.org> <83jzza6xwk.fsf@gnu.org> <08b5f766dd0f765bb1a9@heytings.org> <83edpi6vl4.fsf@gnu.org> <08b5f766dd05e9469540@heytings.org> <838rfq6mi8.fsf@gnu.org> <83zg846e53.fsf@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="9307"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Lynn Winebarger , gregory@heytings.org, casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 23 06:33:32 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 1pfDZs-0002GO-2C for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Mar 2023 06:33:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfDYu-00052n-LM; Thu, 23 Mar 2023 01:32:32 -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 1pfA0Q-0001tP-4j for emacs-devel@gnu.org; Wed, 22 Mar 2023 21:44:43 -0400 Original-Received: from mail-bn7nam10olkn2048.outbound.protection.outlook.com ([40.92.40.48] helo=NAM10-BN7-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 1pfA0N-00063m-Q6; Wed, 22 Mar 2023 21:44:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ke2V+KIKV7tlZR6LhgntJwt2kBfSF7kMYdiZSAhvLo9L3heua1PQKtY7hnBEa3ulzgz0g8XToGWvgXGZh5iCnxxJ4H+pmBo2e5AvhSkTkBRHZhQSzBEIjK5VTHXRPdQkPe15t7CtqFGmRSPcRA0/zJga9pWSk7ZyNt8JhEkaBK6c9rjxTt2jq3LtLbMUQUmRgiIZzZJaPBzCsZznncERN8X2IDCvQb9rTgmlHrJd/qIlCZw8mhd/e213IXxNv31aro5VG6c5e9epR79zSCtLL7teJ9y388X960ARKxS/6fl8NleKJ2YSMueLGpuoszcBePrheyF21poTgGtRGzy1bA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QT1KdAZEyWf0r+gjcTluzpPrqtgk2m97GJnEBqYIGCk=; b=Lf25ZvAq6N9ze7+VZ86S9LLMh+ypbZWmeXoCs4oaKStrQA774VnXTxitU8mVPt3IzwrbRZteuzZxgWOO1LH/YmrwseXOHTjucabdNQ9jsF8RL8gU3i5uLvVNHNrDR0UZDBCjqEp1Jbc/UPekAe9WOlCtncz4MYy7TnAvhauYPKiOUD0vlfzU9XnCROto60fnSgDGy7koEsADpLeqZGKzSUZX7EtDabUvAnVtGUcbGEWMEBk3otk00HrniR6S9Kl1qcs3Gpl4Qp3SO/AeCunRNGu/3flKtSzw0yN1C2H+soLNc6loNYZRi3kOO/TxBq1AVC1FP7iiEKNetNEwrxf/ow== 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=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QT1KdAZEyWf0r+gjcTluzpPrqtgk2m97GJnEBqYIGCk=; b=iFoG8gJQBiuis3aWyT97K/7u5FZRpaqXQ6RYHDv5N+oZvMZPTNdDLuhC4jxwUd4o25lpRyU2qgLZXsSexhFKBYfczD888sUHDv4pEpIaruqBaDIrvV6CorYfWNBcUGcSn5oTszdjTCC5wA0bq0GUrK7qCJBfXrrqFG6PWpsC1BEu5BhRBOKZJwwjAE1g1BVxAL5u6fBzTi8kKGjWTZx5OsHjOv6gri+S7VeTv7Rz2UEO2rWmGDANmUuV137dd7ztDRVmsiLdDl5YGKpI+XnUCrJNNX+2waO7v13Hm8+AeuaKWglEoJuVMlT46VTc6bZEvEDmBXoAzndb/M/oibzapg== Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by PH0PR03MB6870.namprd03.prod.outlook.com (2603:10b6:510:167::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Thu, 23 Mar 2023 01:44:35 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::d01d:3da9:55ae:2b5a]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::d01d:3da9:55ae:2b5a%9]) with mapi id 15.20.6178.037; Thu, 23 Mar 2023 01:44:35 +0000 In-Reply-To: <83zg846e53.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 22 Mar 2023 16:42:48 +0200") X-TMN: [fjxq6ACP/maWzKMHF8HgAVS6K5I1JZajBBaSlCJqrldwKVIP+MziKuXvJYH5oknU] X-ClientProxiedBy: PH7PR13CA0005.namprd13.prod.outlook.com (2603:10b6:510:174::8) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <878rfoz1fj.fsf@penguin> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB5455:EE_|PH0PR03MB6870:EE_ X-MS-Office365-Filtering-Correlation-Id: d4ebe877-9704-4ad5-14b5-08db2b4027d6 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aa36vsvKZDk9qvtivlq+jnoqEf76Vm7F89L5jFkla9e96LYdvC7mXKXKvgf0024/3oH9tdliYjoyYSvnQfI9HTXSlOiQ8DRlaSO/1otQsZooY223r/PIJWMbQOZg1V+FONxXGzFfjvu1H4zygPlUIT3XQayQkWvIK1P45+JZQINBoqMGSPIW6PgzjiL2JGkmZgU1PXG1ilgec6dxJj0EVb8qsAthRkXw6hoTALxAYa00WGajiBnkwyeKr5w7ssL0/BzapjV6cPdwtAgeXNDfivXB0BSl/0o+7/XR87Qu9xy8LvbspDjMpEDWnluc69vOyqAU5JQxerfLEWa/MS0cHJzyaPy9f2I7GLexA+xQ9hOKp3mtrwN7NF3vXaeDV5yfMfMPiOmCV+FDsqu7+Nz4hTaL2Rl8hWCPcolVhSFC+lDOKfVl7EEXGTt0CYHUi6FWGaj/wr7yWVBQHWc+tun6biKTKETTLf68M4GoahwB2A+DiQsulBpv4ZQ9TZbpXsVMIErdjgJ0PlED/XxigiK/xZ5aVNbYRPbHTz4NyL267/N/iENUS1nC1uwW2Pag7LB9FSDIaaZ2IIUuaAgY+SAxsNNCXzUBfF2xdaiYM79auh02ZIGmA8VuKflW8iIfACBgXbcwglIRDXj3vx/mZ/AvdQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?dtm4XUHY5xi8IuWn4HNO7DU7Yc2ZPadLeyhmnzSQe0FHFBgA5ZtBPK4pJm0D?= =?us-ascii?Q?9rZT6UUtH3KF/JzHTw7+tmq50UVFbviFv+/HcglUGfpK0IqDYrSsM9e/JjkN?= =?us-ascii?Q?NEv4IiKFrWdQqzxvWsJJSNeiBIh3Lck/jP0VytKHvnoU+CzCIJoqUj/idfw8?= =?us-ascii?Q?uhsLUvxeWTxcH4dVq+5GefdWILqZC3yBYkXw4AuAzyYFNeCSqhHgzYAb9MoK?= =?us-ascii?Q?Yhygv4qyFaUYxMtQHZ/+rOKWc+lFzOr1jjzTloDil6tMQSAduu70LesuTymL?= =?us-ascii?Q?Cy1o6Bcw1zU8d1yNZ/I1TYVh0Y2G7klKuqAvgam7bW8L8BCSZ/Bv0PEjPC3d?= =?us-ascii?Q?XTEJjw334qt/g8IXeZJobGwQBj74bo9PUOsBHbgWp5jDOHBfCdppvi9OgjG/?= =?us-ascii?Q?iIcqBpxYakBWkfrQ4JzgkAs7BwCo6z3SjiNdHlKql4gudILTVcCYfcWTShlN?= =?us-ascii?Q?xhAnUxpYVANRigcCsfY66NZdd+szi6O75RyjVaxrEgEpvFKpKaou7NCpzs6m?= =?us-ascii?Q?fW/eWRJt6fNxixccJNsBKQgLRVr+5sLME/R482a7VWVaJMgI/Pxx7gmeL04S?= =?us-ascii?Q?A6KikUj6qvoyLTAiDAboCvdcEQFOtbwNcvFDEYi/eo1iazHxDErkhjbCJV7i?= =?us-ascii?Q?SH X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4ebe877-9704-4ad5-14b5-08db2b4027d6 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2023 01:44:35.2423 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR03MB6870 Received-SPF: pass client-ip=40.92.40.48; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM10-BN7-obe.outbound.protection.outlook.com X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Mar 2023 01:32:31 -0400 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:304732 Archived-At: Eli Zaretskii writes: > As I already said: you can simply load each package by its explicit > absolute name. Poof! problem disappeared. So, the use case is managing packages in your .emacs over time. As you collect packages over time (job changes, etc.), the list of packages grows (laziness might lead to keeping more than you need). Also, packages will get updated (perhaps, automatically via auto-package-update). Constantly updating package absolute names is rife for mistake. Perhaps (say) use-package could be adjusted to handle this via a persistent index of '(pkgname . abs-pathname)' items. Some init function could load the persistent index. Use-package would then use the index to find the package directly. If the abs-pathname no longer exists, use-package can try via load-path and update the persistent index accordingly for next time. Possible? -- David Masterson