From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_DOTEDU_SUSP,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id EF1F2217F4 for ; Thu, 15 Feb 2024 04:20:38 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1raSIe-0000000CxHt-2kkU for ml@inbox.vuxu.org; Wed, 14 Feb 2024 21:20:36 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1raSIe-00000000XVw-1lBz for ml@inbox.vuxu.org; Wed, 14 Feb 2024 21:20:36 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1raSIb-00000000XVn-2Hfr for ding@lists.math.uh.edu; Wed, 14 Feb 2024 21:20:33 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1raSIX-0000000CxHD-2aPL for ding@lists.math.uh.edu; Wed, 14 Feb 2024 21:20:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=R9/uDTh81m6sCHaQTlwsVir7WQSJZfJUPdo50k5ah3o=; b=HCxycjTyDuF4yvsugYYEx7jm/p pYmBvynY2L4LVZDVV/jNiq08XrvCd51EuVg+H7qn8UbjQJVUwwtfxILRcHpwNsPqyTBa7bJaESmlw PNeb4W9kR6jPh/6sXF6volONG5mXrP8Ka4JdY4SEfi7BkhWUWE31DGfSJoLnJIQHDP+U=; Received: from ore.jhcloos.com ([192.40.56.151]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1raSIN-0005Of-IM for ding@gnus.org; Thu, 15 Feb 2024 04:20:24 +0100 Received: from oxygen.localdomain (oxygen [192.168.1.8]) by ore.jhcloos.com (Postfix) with ESMTP id 5C0941E15E for ; Thu, 15 Feb 2024 03:20:16 +0000 (UTC) Received: from nitrogen.jhcloos.org (nitrogen.jhcloos.org [192.168.1.7]) by oxygen.localdomain (Postfix) with ESMTP id D560F84DF82 for ; Thu, 15 Feb 2024 03:20:15 +0000 (UTC) Received: by nitrogen.jhcloos.org (Postfix, from userid 500) id D041815B36; Thu, 15 Feb 2024 03:20:15 +0000 (-00) From: James Cloos To: ding@gnus.org Subject: gnus-group-change-level User-Agent: Gnus/5.13 (Gnus v5.13) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC Copyright: Copyright 2024 James Cloos OpenPGP: 0x997A9F17ED7DAEA6; url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Date: Wed, 14 Feb 2024 22:20:15 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk When passing a string to gnus-group-change-level, what format should the string take? Eg, this just returns nil w/o changing the level: (gnus-group-change-level "nnimap+oxygen:INBOX" 6) even though nnimap+oxygen13:INBOX is how the group shows up in the *Groups* buffer and in gnus-newsrc-alist? This works: (gethash "nnimap+oxygen:INBOX" gnus-newsrc-hashtb) but the above chang-level call does not. So what should the string look like? I had to redo my imap setup when my prevous workstation stopped working last summer, and I'd like to automate getting the levels back to what I had. I have a list of the goups w/o the nnimap+[hostname]: prefix which is easy to awk into a bunch of calls to gnus-group-change-level, but so far it is not working. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6