Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* which variable determines the behavior of news' drafts?
@ 2012-11-09 11:41 Easior
  2012-11-11 17:52 ` William Gardella
  0 siblings, 1 reply; 2+ messages in thread
From: Easior @ 2012-11-09 11:41 UTC (permalink / raw)
  To: info-gnus-english


Hi, all.

I have made some modifications of default places of gnus directories, e.g.

(setq gnus-default-directory "~/.emacs.d/gnus/")
(setq gnus-home-directory "~/.emacs.d/gnus/")
(setq gnus-directory "~/.emacs.d/gnus/News/")
(setq message-auto-save-directory  "~/.emacs.d/gnus/Mail/drafts/")

it always works well. However, there exists a seemingly strange directory

$ cd ~/.emacs.d/gnus/News
$ ls 
agent  drafts trash
$ ls drafts
drafts queue

it means that there are two directories with the same name "drafts" exiting in the gnus
hirarchical directories. How can I do?

Thank in advance.

-- 
Best Regards,

Easior
-----
Ich bin von heute und ehedam, aber etwas ist in mir, das ist vor
morgen und übermorgen und einstmal.

                                     Friedrich Wilhelm Nietzsche
----------------------------------------------------------------


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: which variable determines the behavior of news' drafts?
  2012-11-09 11:41 which variable determines the behavior of news' drafts? Easior
@ 2012-11-11 17:52 ` William Gardella
  0 siblings, 0 replies; 2+ messages in thread
From: William Gardella @ 2012-11-11 17:52 UTC (permalink / raw)
  To: info-gnus-english-mXXj517/zsQ

Hi there.

Easior <easior-KN7UnAbNpbg@public.gmane.org> writes:

> Hi, all.
>
> I have made some modifications of default places of gnus directories,
> e.g.
>
> (setq gnus-default-directory "~/.emacs.d/gnus/") (setq
> gnus-home-directory "~/.emacs.d/gnus/") (setq gnus-directory
> "~/.emacs.d/gnus/News/") (setq message-auto-save-directory
> "~/.emacs.d/gnus/Mail/drafts/")
>
> it always works well. However, there exists a seemingly strange
> directory
>
> $ cd ~/.emacs.d/gnus/News $ ls agent drafts trash $ ls drafts drafts
> queue
>
> it means that there are two directories with the same name "drafts"
> exiting in the gnus hirarchical directories. How can I do?
>
> Thank in advance.

Those two directories exist because Gnus makes two "nndraft" groups
within `gnus-directory' automatically.  nndraft:drafts is for saved
unsent messages, while nndraft:queue is where "sent" messages are
diverted to whenever Gnus is in "unplugged" (offline) mode, or if you
set the variable `gnus-agent-queue-mail' to t.

FYI, according to the docstring of `message-auto-save-directory', it is
only used when Gnus isn't running.  You might be better off setting it
to what Gnus is trying to use.

Your directory setup is cool for portability.  I think I'll steal it. :)

Best, WGG

-- 
I use grml (http://grml.org/)

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

end of thread, other threads:[~2012-11-11 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-09 11:41 which variable determines the behavior of news' drafts? Easior
2012-11-11 17:52 ` William Gardella

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