Gnus development mailing list
 help / color / mirror / Atom feed
From: Ken Raeburn <raeburn@raeburn.org>
To: ding@gnus.org
Subject: swapping which account is my "primary" select method
Date: Sat, 18 Nov 2017 23:03:07 -0500	[thread overview]
Message-ID: <337C011F-9607-42DB-A7D3-28F2F5E84715@raeburn.org> (raw)

I’ve recently had a change at work that has resulted in me adding a second email (IMAP) account to my Gnus config, with each account receiving email, though eventually the first, my current gnus-select-method, will be phased out entirely. Basically, right now, I want to change which one is “primary” without losing any data about the accounts or ticked articles or whatever. I’ve also got some nnvirtual groups, which of course means that Gnus has constructed and saved regular expressions to match group names that may or may not include the server names.

Is there a nice, user-friendly way I’m overlooking to swap the “primary” and a secondary select method around, keeping everything working (or even everything but the nnvirtual regexps), and without losing any state?

I’ve considered going through .newsrc.eld, editing group names, changing where server specs are present, rewriting nnvirtual regular expressions, figuring out how to update the .newsrc file, and so on, but given that it’s a one-shot deal, much of the data exists on the IMAP servers, and I have few gmane/gwene groups, I’m seriously wondering if the easiest way might be to delete all the Gnus data and start over, rebuild topics and virtual groups, etc.

Ken


             reply	other threads:[~2017-11-19  4:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-19  4:03 Ken Raeburn [this message]
2017-11-19 12:11 ` Adam Sjøgren
2017-11-20 19:29   ` Ken Raeburn
2017-11-20 19:37     ` Adam Sjøgren
2017-11-20 19:56       ` Eric Abrahamsen
2017-11-20 20:35         ` Jorge A. Alfaro-Murillo
2017-11-20 20:52           ` Eric Abrahamsen
2017-11-20 23:09             ` Andreas Schwab
2017-11-20 23:54               ` Eric Abrahamsen
2017-11-21 16:32                 ` Reiner Steib
2017-11-21 19:10                   ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=337C011F-9607-42DB-A7D3-28F2F5E84715@raeburn.org \
    --to=raeburn@raeburn.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).