Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: Mail/drafts is still at ~/
Date: Wed, 27 Feb 2008 09:48:49 +0900	[thread overview]
Message-ID: <b4m1w6z5imm.fsf@jpl.org> (raw)
In-Reply-To: <86oda3s2lz.fsf@freebsd.hasee.cpu>

>>>>> anhnmncb wrote:
> hi, reiner:
> I tried again: write an article in newsgroup, C-x C-k to quit, then
> Mail/drafts is appeared in $HOME. Maybe I've missed something?
> My Gnus version 5.13

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

Regards,

  reply	other threads:[~2008-02-27  0:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26 11:08 anhnmncb
2008-02-26 18:59 ` Reiner Steib
2008-02-26 23:46   ` anhnmncb
2008-02-27  0:48     ` Katsumi Yamaoka [this message]
2008-02-27  3:58       ` anhnmncb
2008-02-27  4:28         ` anhnmncb
2008-02-27  6:54           ` Katsumi Yamaoka
2008-03-01 10:32   ` anhnmncb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4m1w6z5imm.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).