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.4 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: from mx2.math.uh.edu (mx2.math.uh.edu [129.7.128.33]) by inbox.vuxu.org (Postfix) with ESMTP id A4B982B861 for ; Sun, 18 Feb 2024 18:50:19 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rblIq-0000000CN2w-31wT for ml@inbox.vuxu.org; Sun, 18 Feb 2024 11:50:12 -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 1rblIq-00000000epU-268q for ml@inbox.vuxu.org; Sun, 18 Feb 2024 11:50:12 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1rblIo-00000000epO-4A1y for ding@lists.math.uh.edu; Sun, 18 Feb 2024 11:50:11 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rblIn-0000000CN2B-34Pg for ding@lists.math.uh.edu; Sun, 18 Feb 2024 11:50:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To: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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bj6iXRPv29bkSMrsNGZ6X/BmUw4xHmnIywD/J8nmzRs=; b=T+jw/d9il40EL6wlmY1N6KUfTr 5p30bM+5ei5XDXhpZQRKP4SgL21/2ROc7AOoIcf59Dx4snUDZs/mFG3uN9E61bq7bZHgu3UvKJOKu g7HxUjoAFOacBD+63lmRmdiu3AvEzcFIW6SIY5ejS37bMkhAJ3QnD62hZ/grp5XKlmaw=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rblIh-0008Fe-1P for ding@gnus.org; Sun, 18 Feb 2024 18:50:05 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rblIg-0007yE-8g for ding@gnus.org; Sun, 18 Feb 2024 18:50:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: gnus-group-change-level Date: Sun, 18 Feb 2024 09:46:48 -0800 Message-ID: <87ttm5psvr.fsf@ericabrahamsen.net> References: <87le7ly3hn.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:NzhFGbpZYJ1H6+S2cKan4kQXGKo= List-ID: Precedence: bulk James Cloos writes: >>>>>> "AS" == Andreas Schwab writes: > > AS> On Feb 14 2024, James Cloos wrote: >>> Eg, this just returns nil w/o changing the level: >>> >>> (gnus-group-change-level "nnimap+oxygen:INBOX" 6) >>> >>> even though nnimap+oxygen13:INBOX > > AS> There is a discrepancy between the two names. Typo? > > yes. the typo is only in the email. I think you would need to edebug `gnus-group-change-level' and see what's happening. That function uses `gnus-group-entry' to turn the group string name into a group data structure, but all that macro does is `gethash' on the `gnus-newsrc-hashtb', and you've already stated that this works: (gethash "nnimap+oxygen:INBOX" gnus-newsrc-hashtb) so it looks like the function should at least be finding your group correctly, and things are going wrong elsewhere. Are you comfortable using edebug? Eric