From: Philipp Haselwarter <philipp.haselwarter@gmx.de>
To: ding@gnus.org
Subject: Fail to set mail directories
Date: Sun, 26 Jun 2011 00:14:07 +0200 [thread overview]
Message-ID: <87d3i1lftc.fsf@nzebook.haselwarter.org> (raw)
Hi,
I've tried to move my gnus related directories from their default
location. For the most part, it seems to work, but there are a few
variables that seem to somehow magically get reset to the (true) default
values.
This entails for example recreation of ~/Mail/drafts/ as soon as I start
composing mail (although `nndraft-directory' points to
"~/.emacs.d/gnus/News/drafts/").
As far as I can tell, the variables concerned are:
nntp-marks-directory, message-auto-save-directory,
gnus-article-save-directory, gnus-cache-directory,
gnus-kill-files-directory
They should be set up relative to gnus-directory and friends, but it
seems that the default values of those are used.
Strangely enough, when I « C-h v message-auto-save-directory RET », I
get this:
,----
| message-auto-save-directory is a variable defined in `message.el'.
| Its value is "/home/philipp/Mail/drafts/"
| Original value was
| "/home/philipp/.emacs.d/gnus/Mail/drafts/"
|
| Documentation:
| *Directory where Message auto-saves buffers if Gnus isn't running.
| If nil, Message won't auto-save.
|
| You can customize this variable.
|
| [back]
`----
Right now, my setup is
#+begin_src emacs-lisp
(eval-after-load "gnus" '(require 'my-gnus-config))
#+end_src
here's the relevant section in my-gnus-config:
#+begin_src emacs-lisp
(setq mail-default-directory
(file-name-as-directory (expand-file-name "gnus" user-emacs-directory))
gnus-directory
(file-name-as-directory (expand-file-name "News" mail-default-directory))
message-directory
(file-name-as-directory (expand-file-name "Mail" mail-default-directory))
mail-source-directory message-directory
smtpmail-queue-dir
(file-name-as-directory (expand-file-name "queued-mail" message-directory))
smime-certificate-directory
(file-name-as-directory (expand-file-name "certs"
message-directory)))
#+end_src
What am I doing wrong? How do I debug this?
--
Philipp Haselwarter
next reply other threads:[~2011-06-25 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-25 22:14 Philipp Haselwarter [this message]
2011-06-26 8:39 ` Reiner Steib
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=87d3i1lftc.fsf@nzebook.haselwarter.org \
--to=philipp.haselwarter@gmx.de \
--cc=ding@gnus.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).