Re: gnus-group-change-level

Eric Abrahamsen <[email protected]>
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
James Cloos <[email protected]> writes:

>>>>>> "AS" == Andreas Schwab <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.