Discussion:
unused ~/News and ~/Mail get recreated
Christoph Groth
2014-09-09 14:15:29 UTC
Permalink
Hello,

In ~/.emacs I set the variable gnus-directory to "~/.news". I do not
use nnml, only nntp and nnimap. The strings "News" and "Mail" do not
appear anywhere in ~/.emacs, ~/.gnus, or ~/.newsrc.eld. Sill, Gnus
keeps recreating the ~/News and ~/Mail directories:

$ find News Mail
News
News/drafts
News/drafts/drafts
News/drafts/queue
Mail
Mail/drafts

~/Mail appears when I start to compose a new message and press C-x C-s
to save the draft. The draft is saved in the proper directory
(~/.news/drafts/drafts/), but ~/Mail is nevertheless created. I did not
manage to observe when ~/News gets created.

This seems to be a bug in Gnus. I tried grepping the Gnus source code
for News and Mail, but couldn't find where the problems could sit.

Any suggestions?

Christoph
Jorge A. Alfaro-Murillo
2014-09-09 14:47:31 UTC
Permalink
Hi Christoph.
In ~/.emacs I set the variable gnus-directory to "~/.news". I do
not use nnml, only nntp and nnimap. [...] Sill, Gnus keeps
recreating the ~/News and ~/Mail directories [...] Any
suggestions?
You can move the gnus-home-directory to another place. Also change
message-directory, because that is set by message.el, not gnus.
For example I moved them to Dropbox to keep my gnus synchronized
between machines:

#+BEGIN_SRC emacs-lisp
(setq gnus-home-directory "~/Dropbox/gnus/") (setq
message-directory "~/Dropbox/gnus/Mail/")
#+END_SRC

This has to go in your .emacs, not your .gnus.el.

Best,
--
Jorge.
Christoph Groth
2014-09-10 10:39:46 UTC
Permalink
Post by Jorge A. Alfaro-Murillo
In ~/.emacs I set the variable gnus-directory to "~/.news". I do
not use nnml, only nntp and nnimap. [...] Sill, Gnus keeps
recreating the ~/News and ~/Mail directories [...] Any
suggestions?
You can move the gnus-home-directory to another place. Also change
message-directory, because that is set by message.el, not gnus.
Setting message-directory as well did the trick, thanks.

Loading...