Gnus development mailing list
 help / color / mirror / Atom feed
* gnus creating Mail directory
@ 2011-04-28 19:00 prad
  2011-04-28 21:15 ` Antoine Levitt
  2011-04-28 21:15 ` Eric Schulte
  0 siblings, 2 replies; 9+ messages in thread
From: prad @ 2011-04-28 19:00 UTC (permalink / raw)
  To: ding

i have fetchmail and exim4 delivering to Maildir.
i've set 

(setq imap-shell-program '("MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap"))
(setq gnus-secondary-select-methods 
      '((nnimap "Mail"
                (nnimap-stream shell))))

all is working fine.

however, everytime i run gnus it creates a Mail/archive Mail/drafts

i would prefer these to exist in Maildir, but am not sure how to make
this happen. (the "Mail" i presume is just a identifying label and
doesn't determine the directory.)

-- 
in friendship,
prad




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

* Re: gnus creating Mail directory
  2011-04-28 19:00 gnus creating Mail directory prad
@ 2011-04-28 21:15 ` Antoine Levitt
  2011-04-28 21:34   ` Eric Schulte
  2011-04-28 21:15 ` Eric Schulte
  1 sibling, 1 reply; 9+ messages in thread
From: Antoine Levitt @ 2011-04-28 21:15 UTC (permalink / raw)
  To: ding

28/04/11 21:00, prad
> i have fetchmail and exim4 delivering to Maildir.
> i've set 
>
> (setq imap-shell-program '("MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap"))
> (setq gnus-secondary-select-methods 
>       '((nnimap "Mail"
>                 (nnimap-stream shell))))
>
> all is working fine.
>
> however, everytime i run gnus it creates a Mail/archive Mail/drafts
>
> i would prefer these to exist in Maildir, but am not sure how to make
> this happen. (the "Mail" i presume is just a identifying label and
> doesn't determine the directory.)

See the mail-default-directory and message-directory variables (which
you possibly need to set before even running gnus - I set them in my
.emacs)




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

* Re: gnus creating Mail directory
  2011-04-28 19:00 gnus creating Mail directory prad
  2011-04-28 21:15 ` Antoine Levitt
@ 2011-04-28 21:15 ` Eric Schulte
  1 sibling, 0 replies; 9+ messages in thread
From: Eric Schulte @ 2011-04-28 21:15 UTC (permalink / raw)
  To: prad; +Cc: ding

Hi,

I'm having a similar problem, however in my case I keep all of my mail
in the "~/Mail/" directory, and gnus continually creates the empty
"~/mail/archive" directory, which maps to my group naming scheme, namely
mail.inbox, mail.school, etc...

I've scoured my configuration for lines which could be generating the
"~/mail" directory, but to no avail.

Best -- Eric

prad <prad@towardsfreedom.com> writes:

> i have fetchmail and exim4 delivering to Maildir.
> i've set 
>
> (setq imap-shell-program '("MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap"))
> (setq gnus-secondary-select-methods 
>       '((nnimap "Mail"
>                 (nnimap-stream shell))))
>
> all is working fine.
>
> however, everytime i run gnus it creates a Mail/archive Mail/drafts
>
> i would prefer these to exist in Maildir, but am not sure how to make
> this happen. (the "Mail" i presume is just a identifying label and
> doesn't determine the directory.)

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



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

* Re: gnus creating Mail directory
  2011-04-28 21:15 ` Antoine Levitt
@ 2011-04-28 21:34   ` Eric Schulte
  2011-04-28 21:44     ` Antoine Levitt
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Schulte @ 2011-04-28 21:34 UTC (permalink / raw)
  To: Antoine Levitt; +Cc: ding

Antoine Levitt <antoine.levitt@gmail.com> writes:

> 28/04/11 21:00, prad
>> i have fetchmail and exim4 delivering to Maildir.
>> i've set 
>>
>> (setq imap-shell-program '("MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap"))
>> (setq gnus-secondary-select-methods 
>>       '((nnimap "Mail"
>>                 (nnimap-stream shell))))
>>
>> all is working fine.
>>
>> however, everytime i run gnus it creates a Mail/archive Mail/drafts
>>
>> i would prefer these to exist in Maildir, but am not sure how to make
>> this happen. (the "Mail" i presume is just a identifying label and
>> doesn't determine the directory.)
>
> See the mail-default-directory and message-directory variables (which
> you possibly need to set before even running gnus - I set them in my
> .emacs)
>

Even with Both of these set to "~/Mail" before calling gnus (in my
.emacs), the "~/mail" directory is created while gnus checks-for and
downloads my mail.

Thanks -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



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

* Re: gnus creating Mail directory
  2011-04-28 21:34   ` Eric Schulte
@ 2011-04-28 21:44     ` Antoine Levitt
  2011-04-28 23:05       ` prad
  0 siblings, 1 reply; 9+ messages in thread
From: Antoine Levitt @ 2011-04-28 21:44 UTC (permalink / raw)
  To: Eric Schulte; +Cc: ding, Richard Riley

28/04/11 23:34, Eric Schulte
> Antoine Levitt <antoine.levitt@gmail.com> writes:
>
>> 28/04/11 21:00, prad
>>> i have fetchmail and exim4 delivering to Maildir.
>>> i've set 
>>>
>>> (setq imap-shell-program '("MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap"))
>>> (setq gnus-secondary-select-methods 
>>>       '((nnimap "Mail"
>>>                 (nnimap-stream shell))))
>>>
>>> all is working fine.
>>>
>>> however, everytime i run gnus it creates a Mail/archive Mail/drafts
>>>
>>> i would prefer these to exist in Maildir, but am not sure how to make
>>> this happen. (the "Mail" i presume is just a identifying label and
>>> doesn't determine the directory.)
>>
>> See the mail-default-directory and message-directory variables (which
>> you possibly need to set before even running gnus - I set them in my
>> .emacs)
>>
>
> Even with Both of these set to "~/Mail" before calling gnus (in my
> .emacs), the "~/mail" directory is created while gnus checks-for and
> downloads my mail.
>
> Thanks -- Eric

Isn't that the expected behaviour? Or do you mean a "mail" dir
uncapitalized is created? I've never seen that before.

CCing Richard Riley, I believe he had similar issues recently, maybe he
understands what's going on.



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

* Re: gnus creating Mail directory
  2011-04-28 21:44     ` Antoine Levitt
@ 2011-04-28 23:05       ` prad
  2011-04-29 13:08         ` Richard Riley
  0 siblings, 1 reply; 9+ messages in thread
From: prad @ 2011-04-28 23:05 UTC (permalink / raw)
  To: ding

Antoine Levitt <antoine.levitt@gmail.com> writes:

> CCing Richard Riley, I believe he had similar issues recently, maybe he
> understands what's going on.
>
richard was the one who got me on to gnus a few months ago and he was a
big help! the funny thing is that i had everything going into ~/Mail
without any issues then when i was on archlinux. i just switched to
debian and used the same config files, but must have slipped up on
something.

-- 
in friendship,
prad




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

* Re: gnus creating Mail directory
  2011-04-28 23:05       ` prad
@ 2011-04-29 13:08         ` Richard Riley
  2011-04-29 17:17           ` prad
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Riley @ 2011-04-29 13:08 UTC (permalink / raw)
  To: ding

prad <prad@towardsfreedom.com> writes:

> Antoine Levitt <antoine.levitt@gmail.com> writes:
>
>> CCing Richard Riley, I believe he had similar issues recently, maybe he
>> understands what's going on.
>>
> richard was the one who got me on to gnus a few months ago and he was a
> big help! the funny thing is that i had everything going into ~/Mail
> without any issues then when i was on archlinux. i just switched to
> debian and used the same config files, but must have slipped up on
> something.

I have this:-

    (setq  gnus-directory "~/.emacs.d/"
          mail-default-directory "~/.emacs.d/"
          message-directory "~/.emacs.d/Mail/"
          )

and I think its all in .emacs.d now ;) drafts and the queue (they are
kind of the same..) are in .emacs.d/drafts.




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

* Re: gnus creating Mail directory
  2011-04-29 13:08         ` Richard Riley
@ 2011-04-29 17:17           ` prad
  2011-05-14  1:33             ` Eric Schulte
  0 siblings, 1 reply; 9+ messages in thread
From: prad @ 2011-04-29 17:17 UTC (permalink / raw)
  To: ding

Richard Riley <rileyrg@googlemail.com> writes:

> prad <prad@towardsfreedom.com> writes:
>
>> Antoine Levitt <antoine.levitt@gmail.com> writes:
>>
>>> CCing Richard Riley, I believe he had similar issues recently, maybe he
>>> understands what's going on.
>>>
>> richard was the one who got me on to gnus a few months ago and he was a
>> big help! the funny thing is that i had everything going into ~/Mail
>> without any issues then when i was on archlinux. i just switched to
>> debian and used the same config files, but must have slipped up on
>> something.
>
> I have this:-
>
>     (setq  gnus-directory "~/.emacs.d/"
>           mail-default-directory "~/.emacs.d/"
>           message-directory "~/.emacs.d/Mail/"
>           )
>
> and I think its all in .emacs.d now ;) drafts and the queue (they are
> kind of the same..) are in .emacs.d/drafts.
>
hmmm ... none of this worked for me.
i tried 

(setq  gnus-directory "~/.emacs.d/"
       mail-default-directory "~/"
       message-directory "~/Maildir/")

and variations, but it didn't even pick up the gnus-directory in the
init.el file. anyway, not a problem because everything else is working
fine (though the edit menu disappears from the menubar from time to time
and i haven't figured out a pattern to it yet).

thx!


-- 
in friendship,
prad




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

* Re: gnus creating Mail directory
  2011-04-29 17:17           ` prad
@ 2011-05-14  1:33             ` Eric Schulte
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Schulte @ 2011-05-14  1:33 UTC (permalink / raw)
  To: prad; +Cc: ding

prad <prad@towardsfreedom.com> writes:

> Richard Riley <rileyrg@googlemail.com> writes:
>
>> prad <prad@towardsfreedom.com> writes:
>>
>>> Antoine Levitt <antoine.levitt@gmail.com> writes:
>>>
>>>> CCing Richard Riley, I believe he had similar issues recently, maybe he
>>>> understands what's going on.
>>>>
>>> richard was the one who got me on to gnus a few months ago and he was a
>>> big help! the funny thing is that i had everything going into ~/Mail
>>> without any issues then when i was on archlinux. i just switched to
>>> debian and used the same config files, but must have slipped up on
>>> something.
>>
>> I have this:-
>>
>>     (setq  gnus-directory "~/.emacs.d/"
>>           mail-default-directory "~/.emacs.d/"
>>           message-directory "~/.emacs.d/Mail/"
>>           )
>>
>> and I think its all in .emacs.d now ;) drafts and the queue (they are
>> kind of the same..) are in .emacs.d/drafts.
>>
> hmmm ... none of this worked for me.
>

I found the root of the problem on my system.

Old directories were persisted in my gnus.eld file, and on every run of
gnus this file is read, and re-sets variables to point to directories in
my ~/mail folder (which are then dutifully created by gnus).  Searching
and replacing in this file fixed the problem on my system.

Hope this helps -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



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

end of thread, other threads:[~2011-05-14  1:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 19:00 gnus creating Mail directory prad
2011-04-28 21:15 ` Antoine Levitt
2011-04-28 21:34   ` Eric Schulte
2011-04-28 21:44     ` Antoine Levitt
2011-04-28 23:05       ` prad
2011-04-29 13:08         ` Richard Riley
2011-04-29 17:17           ` prad
2011-05-14  1:33             ` Eric Schulte
2011-04-28 21:15 ` Eric Schulte

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