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.

  • 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 3:57
  • I don't think that gnus actually tracks this information by itself. You may have to synchronise your mail storage itself. – user227 Dec 18 '15 at 21:33

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. I couldn't find a recent enough version of the Gnus Manual online, so I uploaded a plaintext paste of the relevant nodes as of late March here.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.