Gnus development mailing list
 help / color / mirror / Atom feed
* unused ~/News and ~/Mail get recreated
@ 2014-09-09 14:15 Christoph Groth
  2014-09-09 14:47 ` Jorge A. Alfaro-Murillo
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Groth @ 2014-09-09 14:15 UTC (permalink / raw)
  To: ding

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




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

* Re: unused ~/News and ~/Mail get recreated
  2014-09-09 14:15 unused ~/News and ~/Mail get recreated Christoph Groth
@ 2014-09-09 14:47 ` Jorge A. Alfaro-Murillo
  2014-09-10 10:39   ` Christoph Groth
  0 siblings, 1 reply; 3+ messages in thread
From: Jorge A. Alfaro-Murillo @ 2014-09-09 14:47 UTC (permalink / raw)
  To: ding

Hi Christoph.

Christoph Groth writes: 

> 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.




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

* Re: unused ~/News and ~/Mail get recreated
  2014-09-09 14:47 ` Jorge A. Alfaro-Murillo
@ 2014-09-10 10:39   ` Christoph Groth
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Groth @ 2014-09-10 10:39 UTC (permalink / raw)
  To: ding

Jorge A. Alfaro-Murillo wrote:

> Christoph Groth writes: 
>
>> 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.




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

end of thread, other threads:[~2014-09-10 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-09 14:15 unused ~/News and ~/Mail get recreated Christoph Groth
2014-09-09 14:47 ` Jorge A. Alfaro-Murillo
2014-09-10 10:39   ` Christoph Groth

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).