Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnfolder-directory is entirely ignored
@ 2013-08-30 14:50 Jens K. Loewe
  2013-09-01 13:59 ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Jens K. Loewe @ 2013-08-30 14:50 UTC (permalink / raw)
  To: info-gnus-english

I use Emacs 24.3 on Win32. Although I set nnfolder-directory to "~/.emacs.d/Mail/archive/", Emacs creates an empty ~/Mail/archive/ folder on every startup. Why does it do that?

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

* Re: nnfolder-directory is entirely ignored
  2013-08-30 14:50 nnfolder-directory is entirely ignored Jens K. Loewe
@ 2013-09-01 13:59 ` Alex Kost
  2013-09-01 14:19   ` Jens K. Loewe
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2013-09-01 13:59 UTC (permalink / raw)
  To: Jens K. Loewe; +Cc: info-gnus-english

Hello,

Jens K. Loewe (2013-08-30 18:50 +0400):

> I use Emacs 24.3 on Win32. Although I set nnfolder-directory to
> "~/.emacs.d/Mail/archive/", Emacs creates an empty ~/Mail/archive/
> folder on every startup. Why does it do that?

`nnfolder-directory' got its default value from `message-directory'.
It's not clear whether you want to separate "archive" directory or you
don't want to have the whole "~/Mail" dir. If the latter, try
(setq message-directory "~/.emacs.d/Mail") in your .emacs.

I also wanted to write that you can check your "~/.newsrc.eld", but i've
just found that i have (nnfolder-directory "~/Mail/archive") in
`gnus-server-alist' there (and i don't use this default value either).
So it's not the point i think.

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

* Re: nnfolder-directory is entirely ignored
  2013-09-01 13:59 ` Alex Kost
@ 2013-09-01 14:19   ` Jens K. Loewe
  2013-09-01 15:06     ` Wolfgang Jenkner
  0 siblings, 1 reply; 4+ messages in thread
From: Jens K. Loewe @ 2013-09-01 14:19 UTC (permalink / raw)
  To: info-gnus-english

> `nnfolder-directory' got its default value from `message-directory'.
> It's not clear whether you want to separate "archive" directory or you
> don't want to have the whole "~/Mail" dir. If the latter, try
> (setq message-directory "~/.emacs.d/Mail") in your .emacs.

I did. The archive/ folder is still created in ~/Mail...

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

* Re: nnfolder-directory is entirely ignored
  2013-09-01 14:19   ` Jens K. Loewe
@ 2013-09-01 15:06     ` Wolfgang Jenkner
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Jenkner @ 2013-09-01 15:06 UTC (permalink / raw)
  To: Jens K. Loewe; +Cc: info-gnus-english

On Sun, Sep 01 2013, Jens K. Loewe wrote:

>> `nnfolder-directory' got its default value from `message-directory'.
>> It's not clear whether you want to separate "archive" directory or you
>> don't want to have the whole "~/Mail" dir. If the latter, try
>> (setq message-directory "~/.emacs.d/Mail") in your .emacs.
>
> I did. The archive/ folder is still created in ~/Mail...

I have the following in ~/.gnus, so apparently I had the same problem at
some point...

(setq gnus-update-message-archive-method t)
(setq gnus-message-archive-method
      `(nnfolder "archive"
		 (nnfolder-directory  ,(expand-file-name "archive" message-directory))
		 (nnfolder-active-file ,(expand-file-name "archive/active" message-directory))
		 (nnfolder-get-new-mail nil)
		 (nnfolder-inhibit-expiry t)))


Wolfgang

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

end of thread, other threads:[~2013-09-01 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 14:50 nnfolder-directory is entirely ignored Jens K. Loewe
2013-09-01 13:59 ` Alex Kost
2013-09-01 14:19   ` Jens K. Loewe
2013-09-01 15:06     ` Wolfgang Jenkner

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