GNU bug report logs -
#18284
nnfolder-directory not honoring message-directory
Previous Next
Reported by: Carlos Pita <carlosjosepita <at> gmail.com>
Date: Sun, 17 Aug 2014 21:17:02 UTC
Severity: normal
Found in version 5.13
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18284 in the body.
You can then email your comments to 18284 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bugs <at> gnus.org
:
bug#18284
; Package
gnus
.
(Sun, 17 Aug 2014 21:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Carlos Pita <carlosjosepita <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bugs <at> gnus.org
.
(Sun, 17 Aug 2014 21:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The documentation states that:
nnfolder-directory
All the nnfolder mail boxes will be stored under this directory. The
default is the value of message-directory (whose default is ~/Mail)
This seems indeed true if we look at nnfolder.el:
(defvoo nnfolder-directory (expand-file-name message-directory)
"The name of the nnfolder directory.")
But then the first line of nnfolder-open-server reverts the value to the
default "~/Mail/archive", no matter what the value of message-directory
were:
(deffoo nnfolder-open-server (server &optional defs)
(nnoo-change-server 'nnfolder server defs)
You can better appreciate the problem in the following backtrace:
nnoo-change-server(nnfolder "archive" ((nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
nnfolder-open-server("archive" ((nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
gnus-open-server((nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
gnus-check-server((nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
gnus-ask-server-for-new-groups()
gnus-find-new-newsgroups()
One workaround is to explicitly define the archive method in order to
override the "~/Mail/archive". But, still, this is a bug because it
clearly contradicts what's documented.
See also:
http://superuser.com/questions/519685/gnus-get-rid-of-mail-and-news-folders
Regards
--
Carlos
--------------------------
Gnus v5.13
GNU Emacs 24.3.93.1 (i686-pc-linux-gnu, GTK+ Version 3.12.2)
of 2014-08-16 on localhost
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
100 Legal commands
ARTICLE [message-ID|number]
AUTHINFO USER name|PASS password|GENERIC program [argument ...]
BODY [message-ID|number]
CAPABILITIES [keyword]
DATE
GROUP newsgroup
HDR header [message-ID|range]
HEAD [message-ID|number]
HELP
IHAVE message-ID
LAST
LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS]
LISTGROUP [newsgroup [range]]
MODE READER
NEWGROUPS [yy]yymmdd hhmmss [GMT]
NEWNEWS wildmat [yy]yymmdd hhmmss [GMT]
NEXT
OVER [range]
POST
QUIT
STARTTLS
STAT [message-ID|number]
XGTITLE [wildmat]
XHDR header [message-ID|range]
XOVER [range]
XPAT header message-ID|range pattern [pattern ...]
Report problems to <usenet <at> ger.gmane.org>.
.
382 Begin TLS negotiation now
100 Legal commands
ARTICLE [message-ID|number]
AUTHINFO USER name|PASS password|GENERIC program [argument ...]
BODY [message-ID|number]
CAPABILITIES [keyword]
DATE
GROUP newsgroup
HDR header [message-ID|range]
HEAD [message-ID|number]
HELP
IHAVE message-ID
LAST
LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS]
LISTGROUP [newsgroup [range]]
MODE READER
NEWGROUPS [yy]yymmdd hhmmss [GMT]
NEWNEWS wildmat [yy]yymmdd hhmmss [GMT]
NEXT
OVER [range]
POST
QUIT
STARTTLS
STAT [message-ID|number]
XGTITLE [wildmat]
XHDR header [message-ID|range]
XOVER [range]
XPAT header message-ID|range pattern [pattern ...]
Report problems to <usenet <at> ger.gmane.org>.
.
Information forwarded
to
bugs <at> gnus.org
:
bug#18284
; Package
gnus
.
(Sun, 17 Aug 2014 21:57:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 18284 <at> debbugs.gnu.org (full text, mbox):
Well, my newsrc happened to have an archive source already defined with
the "~/Mail/archive" directory, so it was overriding my
message-directory setting. Thus I had to delete this variable from
newsrc and everything worked as expected after that. You can close this
ticket but a cautionary word in the documentation would prevent a
nightmarishly debug session.
Reagards
--
Carlos
bug closed, send any further explanations to
18284 <at> debbugs.gnu.org and Carlos Pita <carlosjosepita <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 25 Jan 2017 19:53:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 23 Feb 2017 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.