Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-group-change-level
@ 2024-02-15  3:20 James Cloos
  2024-02-15 18:41 ` gnus-group-change-level Andreas Schwab
  0 siblings, 1 reply; 18+ messages in thread
From: James Cloos @ 2024-02-15  3:20 UTC (permalink / raw)
  To: ding

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 <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-02-23  2:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15  3:20 gnus-group-change-level James Cloos
2024-02-15 18:41 ` gnus-group-change-level Andreas Schwab
2024-02-15 18:51   ` gnus-group-change-level James Cloos
2024-02-18 17:46     ` gnus-group-change-level Eric Abrahamsen
2024-02-18 19:47       ` gnus-group-change-level James Cloos
2024-02-18 20:02       ` gnus-group-change-level James Cloos
2024-02-18 20:07         ` gnus-group-change-level Eric Abrahamsen
2024-02-19  1:26           ` gnus-group-change-level James Cloos
2024-02-19  2:31             ` gnus-group-change-level Eric Abrahamsen
2024-02-19  2:58               ` gnus-group-change-level James Cloos
2024-02-20  5:37                 ` gnus-group-change-level Eric Abrahamsen
2024-02-20 16:18                   ` gnus-group-change-level James Cloos
2024-02-22 17:13                     ` gnus-group-change-level Eric Abrahamsen
2024-02-22 18:39                       ` gnus-group-change-level Andreas Schwab
2024-02-22 22:00                         ` gnus-group-change-level Eric Abrahamsen
2024-02-22 22:36                       ` gnus-group-change-level James Cloos
2024-02-19 10:57             ` gnus-group-change-level Eric S Fraga
2024-02-23  2:08               ` gnus-group-change-level Eric Abrahamsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).