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.help Subject: Re: package-autoremove ? Date: Thu, 24 Aug 2023 21:52:23 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32877"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Rudolf Schlatte Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 25 06:58:50 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1qZOuI-0008Mc-Ew for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 25 Aug 2023 06:58:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZOtA-0000WC-LV; Fri, 25 Aug 2023 00:57:41 -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 1qZOt4-0000Vp-K6 for help-gnu-emacs@gnu.org; Fri, 25 Aug 2023 00:57:34 -0400 Original-Received: from mail-mw2nam04olkn20824.outbound.protection.outlook.com ([2a01:111:f400:7e8c::824] helo=NAM04-MW2-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 1qZOt2-0002hY-6C for help-gnu-emacs@gnu.org; Fri, 25 Aug 2023 00:57:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B7VY5PlKaGHJvWoZkmcbwCMc1rKT5uos3gZyYrqRgfRW9PYY0okJ0up/gQi+1jJhUI84jknaBFtq84XI+5bEDmd3Ga4B/40nq1d0w82YUpgu7jBRszhHrJA+8SoeW55GZcqh7Xz255TKVVcRIDVF99ssvZDROJH8ecsX0ksV96gU46WgzYWTd/TEwAW+xlIZh30nhoGQxJL5zlc+zfC24VjTJaNFK2Hmh3WLUwSwYhx9XauDsM2UUcIVgHgpMEUoOOu7duixK3CZJwKqP8DQQXgDb8Js9kfrM+d5ZrMYkZkaLezOqkRMfnfkZA+jV9fPWLXJTNCh4B9ZbdFkRoAYcg== 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=cBV6Bnhj1a2gk76OGoToe/zufpqPZSDJLwxROTzO3BU=; b=Bj/jMEP/75pCn01U33b0Zr/ZbjUckWve3En2Q+UKYQ+imlRcWq47eRsXs9pZifwm/2N2Vx7hdS4aT3yTj13VadhrRc+gGImCDPL1pPF0vi/pPmE9F/K4ea7EFMmk+2QVhobT5rY6ShcmD93doq/kbhIP4hNPj6KnmAuc6T+wBNLI9iEOYlqKHEoxx160Oc6O9m+IEgFmnJ8+Y6nAXZaSlnp9zT0EmnroxLLG5RIMsTHeGG8TdhIDkpkTSiZji6HqTyTvifBEBvW83ClKG5x+mMYgHEHiclfU9TN1hNR8ddNO6IuvjaMuN344woU4GcR/kb9N9eStbo0xa4djUX4qeQ== 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=cBV6Bnhj1a2gk76OGoToe/zufpqPZSDJLwxROTzO3BU=; b=P80IG0iKY/jN4pepw4dJOxK+QaQlMm7rTjzAGm5wgcKaQGzGLSlLdaXRC8EwzZsVzP45Avx6LCEJNEU4UJkmQTf7xe37IxhSmDXp+WOn0yn+nuvzdHd1CJsXcPhsTwvu4nDp8cKRdjD7cnI3HQ6TN+LvebyXWH2Ir0BPLCW8Bj20CgEXMv95CC3HhIYZ9AISNKyXPxZdafcZP3cLDQd5h0u82yZiBeoyP6QMD1Dpp5ams0j1GegKrlFzYauIFRIxDNHdsjfT2Y5Uu2KjGiqWuuwvXQrcYIHHl+aVk2OaJT5oxcatt1PmGDeqkslfvW6phA7UTp9xXc/xSEUPnspOmw== Original-Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by CY5P223MB0538.NAMP223.PROD.OUTLOOK.COM (2603:10b6:930:25::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.29; Fri, 25 Aug 2023 04:52:26 +0000 Original-Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::b171:c1d6:afa1:cff5]) by LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::b171:c1d6:afa1:cff5%6]) with mapi id 15.20.6699.027; Fri, 25 Aug 2023 04:52:26 +0000 In-Reply-To: (Rudolf Schlatte's message of "Tue, 22 Aug 2023 14:17:12 +0200") X-TMN: [5f2Z/om5UWxpxX6P+XytDTWH3UyPnn+WO4nAI0sS/y++o65fRhjz6euNQUmZLvHn] X-ClientProxiedBy: BYAPR07CA0097.namprd07.prod.outlook.com (2603:10b6:a03:12b::38) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87sf87iv08.fsf@penguin> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|CY5P223MB0538:EE_ X-MS-Office365-Filtering-Correlation-Id: d6d9aab7-b94b-4598-94f3-08dba527141e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M/jth7aul2ADmuq/Q8Nft+EuHTiZaTYOts71QKSnM8mjg1WzSmw3LftSf1ODgX+utkm2rich1s3UerqZJSXUv6EqG1av49TlOTI7P9T3BNO+hevrYxS61N1OT57jjFo2zVfDYGxSrkj3aqwYyZVCUH1+YXlPjOy7qZRX3lwe3qQOqWhv+XxHYy4SpCPk3Fivozy7JZhC1h1vZel1pFy6gkxhKuqKegqjdA4ZC2i3XuckfEZ1YSU6ePCAFcZM8dQapfcg15+HcBmDERH0FFgPiunFGi6/JvMkDN0HIzdkFwgljYe8AfTXUOoAg1TE6cyRd4+kG/ZQNMTckHIskF08lEouIQSCLwxwj2BygQpdMDaTbTyw4xMXzYLxAvYNqIC9s5yynSNa9tmwoNLKX4GmT3Hhw93LR+Y2QGXuzIFAZCWreuqs6uEuIsSjkCLkTX4D9tzG4wQ1ZDxhmsjG1DSTokHAOF3njIf3DOW0jHGt8CPo59M+e443rRaBQEjfrhwaoQkqT8//li6o0gt+bUeUt/d5KPHrxpnCzVnZWum8ZkqYi9nf4sB3tnKK/+813nYM X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?P//MCGCEaJIZfqUvaXQldKXwcVGrdfdj6ZN/Ogxno8X5jInsWcK3fsQIIJhI?= =?us-ascii?Q?TvGMLbdL2S+2RWhkLW3gT4Vorh+hwDiVocYsF9xfJoE+sXOtBZ22+iVHmWK/?= =?us-ascii?Q?JA7MSXnOT1zGSvqZaQwwKgDzsn8jJeECuiHhWOXtdJvfLO8xm399X3ILNfUA?= =?us-ascii?Q?7b6AqhSSPsT5Q/Y45Z0uh88oLAQZkGvbvUMyBqsHH00fxWZlqLaDTpQ/FhmE?= =?us-ascii?Q?9iWPGuiRCSgrJciVWgril+2TcWELVeFUZjclYKJoF+//9y5VLS4mXppJYYFl?= =?us-ascii?Q?QQXKJrEua0vxC2PKPnfND21aw7PGNiDM0JzSqhDUq1oasX/nTRm/W36F95ut?= =?us-ascii?Q?Cfe4zdR83RH7plIbmgsrlYWdaBVL6lAH+JMuvT0yGgKblxIIy9OG6ELncc4V?= =?us-ascii?Q?3/lzZutmXAzKzRkn6QB/alNzn5yZJHU6YRfxP7gWhLhBiWPLGZjV+Dux+z1I?= =?us-ascii?Q?ZPShpV7rMbSw0CbgDMO4wcF1OUBRCx37/Ot94X3ZHaUWGn8lvy5tlMfOrWx0?= =?us-ascii?Q?9JQvSuy/d2/aTinxnkHVaEm6bkABJNKQWZfKTr7KFnzT00aIoWRPuDIKA0dI?= =?us-ascii?Q?cgxHqZMvR0LSSUWnmVILBdAnC9eM4H5yzblGQkL2G+7ue1F/TGrOk8+cwMZh?= =?us-ascii?Q?Rq X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6d9aab7-b94b-4598-94f3-08dba527141e X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2023 04:52:26.5367 (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: CY5P223MB0538 Received-SPF: pass client-ip=2a01:111:f400:7e8c::824; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM04-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 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.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144953 Archived-At: Rudolf Schlatte writes: > David Masterson writes: > >> Can someone describe the process that package-autoremove goes through to >> create the list of packages that are "safe" to be removed? When I use >> it, I see a few packages that I have connected to other packages >> (ex. 'diminish being used by 'use-package). Is there anything I should >> do to signal to package-autoremove that I know a package is needed? > > You can add these packages to `package-selected-packages'. `M-x > list-packages' will show such packages as "dependency" instead of > "installed"; typing "i" then "x" on the line of a dependency package > (i.e., trying to install the package) will add it to > `package-selected-packages' as well. > > For me, this situation comes up when I install a package via > `(use-package ... :ensure t)' instead of via `list-packages'. Sounds like a good possibility for me as well. Someone should adjust use-package to add the package to package-selected-packages for this reason. My Lisp isn't that good. -- David Masterson