Gnus development mailing list
 help / color / mirror / Atom feed
* Errors with archive methods
@ 2011-03-26  9:21 Richard Riley
  2011-03-26 10:31 ` Antoine Levitt
  2011-03-28 16:40 ` SOLVED " Richard Riley
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Riley @ 2011-03-26  9:21 UTC (permalink / raw)
  To: nognus


I finally decided to see if I could get rid of the the ~/Mail link which
links to my "real" Mail in ~/.emacs.d

I had my suspicions it was linked to archiving.

Reading the manual I see I can specifiy the archive method thus:-
,----
| gnus-message-archive-method is a variable defined in `gnus.el'.
| Its value is (nnfolder "archive"
| 	  (nnfolder-inhibit-expiry t)
| 	  (nnfolder-active-file "~/.emacs.d/Mail/archive/active")
| 	  (nnfolder-directory "~/.emacs.d/Mail/archive/"))
| 
| Original value was "archive"
`----

 From my understanding the original value of "archive" expands to 

,----
| 
|      (nnfolder "archive"
|                (nnfolder-directory   "~/Mail/archive")
|                (nnfolder-active-file "~/Mail/archive/active")
|                (nnfolder-get-new-mail nil)
|                (nnfolder-inhibit-expiry t))
`----

(is ~/Mail really hardcoded? As opposed to being based on the
gnus-directory setting which I have set to ~/.emacs.d ?)

My value of gnus-method-group is

,----
| gnus-message-archive-group is a variable defined in `gnus.el'.
| Its value is ((if
|      (message-news-p)
|      nil
|    (concat "mail-"
| 	   (format-time-string "%Y"))))
`----

When I try to send an email plugged or unplugged I get this backtrace

,----
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   file-name-as-directory(nil)
|   nnheader-concat(nil "active")
|   (defvar nnfolder-active-file (nnheader-concat nnfolder-directory "active") ("/home/shamrock/.emacs.d/nognus/lisp/nnfolder.elc" . 1827))
|   require(nnfolder)
|   gnus-server-opened((nnfolder "archive" (nnfolder-inhibit-expiry t) (nnfolder-active-file "~/.emacs.d/Mail/archive/active") (nnfolder-directory "~/.emacs.d/Mail/archive/")))
|   gnus-check-server((nnfolder "archive" (nnfolder-inhibit-expiry t) (nnfolder-active-file "~/.emacs.d/Mail/archive/active") (nnfolder-directory "~/.emacs.d/Mail/archive/")))
|   gnus-inews-do-gcc()
|   gnus-agent-possibly-do-gcc()
|   run-hooks(message-sent-hook)
|   message-send(nil)
|   message-send-and-exit(nil)
|   call-interactively(message-send-and-exit nil nil)
`----

Something obvious?

regards 

r.

-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ http://www.richardriley.net



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

end of thread, other threads:[~2011-03-28 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-26  9:21 Errors with archive methods Richard Riley
2011-03-26 10:31 ` Antoine Levitt
2011-03-28 16:40 ` SOLVED " Richard Riley

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