6

I try to read email and mail list with Gnus on different computer. I am able to sync the configure files through Dropbox and it works fine.

But I don't know how to sync the read history. I am always get the read articles show as unread on different computers repeatedly.

Enze Chi
  • 1,410
  • 12
  • 28
  • I sync my Emacs *everything* to all computers, so I never have to worry about syncing a single component. That might be the simplest thing you could do in this situation. – lawlist Dec 18 '15 at 03:57
  • I don't think that gnus actually tracks this information by itself. You may have to synchronise your mail storage itself. –  Dec 18 '15 at 21:33

1 Answers1

0

Required reading

See the Gnus Manual node on Startup Files. This mentions the various files and related settings that Gnus uses to save information such as ranges of read/unread articles per group. I believe configuring and syncing these files in addition to your gnus-init-file will solve your problem. I think the main files are located at ~/.newsrc (cross-newsreader) and ~/.newsrc.eld (Gnus-specific) by default, but I'm not 100% certain.

Recommended reading

Gnus in Emacs 25.1 comes with a new feature called the Gnus Cloud, which uses an IMAP server to synchronise your Gnus data across machines.

You may also be interested in this EmacsWiki article on syncing Gnus.

See also

Documentation of variables:

  • gnus-home-directory
  • gnus-directory
  • gnus-article-save-directory
  • gnus-startup-file
  • gnus-read-newsrc-file
  • gnus-save-newsrc-file

For more peace of mind, also read documentation of variables:

  • gnus-backup-startup-file
  • gnus-use-dribble-file
  • gnus-dribble-directory
  • gnus-always-read-dribble-file
kballou
  • 123
  • 1
  • 1
  • 9
Basil
  • 12,019
  • 43
  • 69
  • 1
    I found the Gnus Cloud documentation here: https://www.gnu.org/software/emacs/draft/manual/html_node/gnus/The-Gnus-Cloud.html I don't know why it's only available in the draft subdirectory. –  Jan 05 '18 at 01:27
  • Updated link to Gnus Cloud https://www.gnu.org/software/emacs/manual/html_node/gnus/The-Gnus-Cloud.html – xuhdev Oct 08 '19 at 01:25