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

* Re: Errors with archive methods
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Antoine Levitt @ 2011-03-26 10:31 UTC (permalink / raw)
  To: ding

26/03/11 10:21, Richard Riley
> 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'm not sure about your other problems, but here's what I use to put
everything in .emacs.d.

;; put everything in ~/.emacs.d
(setq gnus-init-file "~/.emacs.d/gnus.el"
      gnus-home-directory "~/.emacs.d"
      mail-default-directory "~/.emacs.d"
      message-directory "~/.emacs.d/Mail"
      bbdb-file "~/.emacs.d/bbdb")




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

* SOLVED Re: Errors with archive methods
  2011-03-26  9:21 Errors with archive methods Richard Riley
  2011-03-26 10:31 ` Antoine Levitt
@ 2011-03-28 16:40 ` Richard Riley
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Riley @ 2011-03-28 16:40 UTC (permalink / raw)
  To: nognus

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


Problem solved : earlier customisations had seen nnfolder-directory
stored in my custom. Removed and now works. Me bad on that one.



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