Katsumi Yamaoka <[EMAIL PROTECTED]> writes:

> I tried
>
> (setq gnus-home-directory "~/.emacs.d/gnus")
> (setq message-directory (concat gnus-home-directory "/Mail"))
>
> in ~/.gnus.el and got "~/News/drafts" for `nndraft-directory'.
> It is because `nndraft-directory' is derived from `gnus-directory'
> of which the default value is determined by `gnus-home-directory'
> before ~/.gnus.el is loaded.  Though I don't see why you got
> "~/Mail/drafts", not "~/News/drafts".  You might have the
> environment variable SAVEDIR with the value "~/Mail/" perhaps.
>
> ;; gnus.el
> (defcustom gnus-home-directory "~/"
>   ...)
> (defcustom gnus-directory (or (getenv "SAVEDIR")
>                             (nnheader-concat gnus-home-directory "News/"))
>   ...)
>
> Anyway you seem to need to set `gnus-directory' explicitly like:
>
> (setq gnus-home-directory "~/.emacs.d/gnus"
>       gnus-directory (concat gnus-home-directory "/News")
>       message-directory (concat gnus-home-directory "/Mail"))
>
I have these setting:
  (setq gnus-home-directory "~/.emacs.d/gnus")
  (setq gnus-init-file "~/.emacs.d/site-lisp/.gnus.el"
        gnus-inhibit-startup-message t)
in ~/.emacs

and this:
(setq message-directory (concat gnus-home-directory "/Mail"))
in ~/.emacs.d/site-lisp/.gnus.el

I also check the enviroment, no $SAVEDIR defined.
So be confused much.

I didn't set the gnus-directory,  will try it.

-- 
Regards,

  anhnmncb
 gpg key: 44A31344
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to