info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Trying to require a method that doesn't exist"


From: Bill Harris
Subject: Re: "Trying to require a method that doesn't exist"
Date: Wed, 08 Dec 2010 15:46:16 -0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Bill <wsharris13@gmail.com> writes:
>
>>   gnus-server-opened((nil ""))
>>   gnus-activate-group("nnml:mailinglists.reportlab-users" scan)
>
> This probably means that Gnus isn't able to guess at what the method
> used for this group is, which seems somewhat odd.

Lars,

Thanks for the note (I'm responding from my other email address).  Yes,
I find this all a bit odd.

> Do you have (nnml "") in your secondary select methods?

My .gnus, with certain bits sanitized:

,----
| (setq user-mail-address "me@myaddress.com")
| (setq user-full-name "fn ln")
| (setq gnus-select-method '(nntp "my.news.server.net"))
|   (setq mail-sources '((pop :server "localhost"
|                             :user "myusernameatmyemailhost")))
| 
|         (add-to-list 'gnus-secondary-select-methods
|                 '(nnimap "my.imap.email.address"
|                         (nnimap-server-port thenumber)
|                         (nnimap-address "my.imap.email.address")
|                         (nnimap-stream ssl)))
| 
| (setq nntp-connection-timeout 30)
| (setq gnus-summary-line-format
|    "%*%U%R %B %s %-60=|%4L |%-20,20f |%&user-date; %k \n")
| (add-hook 'message-send-mail-hook 'mail-source-touch-pop)
|    (setq gnus-outgoing-message-group "nnml:archive")
| (setq gnus-mime-display-multipart-related-as-mixed t)
| (setq mm-file-name-rewrite-functions
|       '(mm-file-name-trim-whitespace
|         mm-file-name-collapse-whitespace
|         mm-file-name-replace-whitespace))
| (add-hook 'message-mode-hook
|       (lambda ()
|            (setq fill-column 72)
|            (turn-on-auto-fill)))
|  (eval-after-load "mm-decode"
|   '(progn 
|        (add-to-list 'mm-discouraged-alternatives "text/html")
|        (add-to-list 'mm-discouraged-alternatives "text/richtext")))
`----

... and hopefully pertinent sections of my .emacs:

,----
| ;;Enable outgoing email
| (setq user-full-name "fn ln")
| (setq user-mail-address "fnln@address.com")
| 
|      (setq send-mail-function 'feedmail-send-it)
|      (autoload 'feedmail-send-it "feedmail")
| 
|      (setq feedmail-enable-queue t)
|      (autoload 'feedmail-run-the-queue "feedmail")
|      (autoload 'feedmail-run-the-queue-no-prompts "feedmail")
|      (setq auto-mode-alist (cons '("\\.fqm$" . mail-mode) auto-mode-alist))
|
| (require 'pgg)
| 
| (setq gnus-buttonized-mime-types
|   '("multipart/encrypted" "multipart/signed"))
| 
| (require 'bbdb)
| (bbdb-initialize 'gnus 'message 'sc 'w3)
| (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
| (add-hook 'gnus-startup-hook 'bbdb-insinuate-message)
| ;;(bbdb-insinuate-sc) ;; need 3 other variables set -- see 
http://bbdb.sourceforge.net/bbdb_1.html#SEC2 
| 
| (bbdb-insinuate-w3)
| 
| ;; from http://linux01.gwdg.de/~steufel/steffi-xemacs-3.html
| 
| (setq bbdb/news-auto-create-p 'bbdb-ignore-most-messages-hook
|   bbdb-ignore-most-messages-alist '(("To" . 
"bill_harris\\|info\\|webmaster@facilitatedsystems.com")))
| 
| ;;*Und so fügen wir Organizations-Zeile et al in unsere Datenbank
|  ;; ein:
| 
| (setq bbdb-notice-hook 'bbdb-auto-notes-hook)
| 
| (setq  bbdb-auto-notes-alist   
|   '(
|     ("Organization"  (".*" company 0))
| ;;    ("Newsgroup      ("[^,]+" newsgroups 0))
|     ("Subject"       (".*" last-subj 0 t))
|     ("User-Agent"   (".*" mailer 0))
|     ("X-Newsreader"  (".*" mailer 0))
|     ("X-Mailer"      (".*" mailer 0))
|     ("X-URL"         (".*" url 0))
|     ))
| 
| ;;*So geben wir der BBDB einen Datumsstempel mit auf den Weg
| (add-hook 'bbdb-change-hook 'bbdb-creation-date-hook)
| (add-hook 'bbdb-change-hook 'bbdb-timestamp-hook)
`----

I've also got some customization that may affect email, along with lots
of stuff I think is irrelevant.  I've trimmed the irrelevant part of my
.emacs plus the nnmail-split-methods variable, as that's both long and
contains some people's names I should sanitize if you need to see it:

,----
| (custom-set-variables
|  '(bbdb-complete-name-allow-cycling t)
|  '(gnus-activate-level 3)
|  '(mail-user-agent (quote gnus-user-agent))
|  '(message-send-mail-function (quote message-smtpmail-send-it))
|  '(message-send-mail-partially-limit 3000000)
|  '(pgg-gpg-use-agent nil)
|  '(pgg-passphrase-cache-expiry 240)
|  '(read-mail-command (quote gnus))
|  '(smtpmail-default-smtp-server "localhost")
|  '(smtpmail-smtp-service portnumber)
`----

So there is no (nnml "") in your secondary select methods.  I'm
surprised, but I just did a diff of my current .gnus with my latest
backup (done while email was still working), and they are the same.
That's not surprising; they both show the same modification date of a
bit over a month ago.  

Hmm.  There's a commented section in my .gnus:

,----
| ;; (add-to-list 'gnus-secondary-select-methods '(nnml ""))
| ;; (add-to-list 'gnus-secondary-select-methods
| ;;         '(nnml ""
| ;;                (nnmail-directory "c:/Mail/")
| ;;                (nnmail-active-file "c:/Mail/active"))
`----

That's apparently left over from over a year ago when I was running Gnus
on Windows.  I'm curious how anything is running without a replacement
for that. 

I also found my *Server* buffer interesting:

,----
|      {nnfolder:archive} (opened)
|      {nntp:my.news.server.net} (opened) (agent)
`----

It's got lots of cruft that I elided (mostly old Windows nndoc and nndir
c:/ junk I never cleaned out, apparently, but also the currently unused
imap connection), but I don't see anything about nnml, and I thought I
might.

Is the likely answer to uncomment the commented stuff I showed near the
end but with ~/ instead of c:/?

If that's so, I wonder how in the world it ever worked.  I guess I can
see that I launched it at some time and then left it open --- if my
.gnus was changed after that point, it might have never gotten read, and
so earlier definitions would have held.  Still, I thought I probably
restarted Gnus sometime over the last month, and the last edit I recall
making to my .gnus was to change smtpmail-smtp-service to point to a new
port because my host changed to reduce hits on the standard port.

Bill

PS: If you see obvious improvements I might want to try in my setup,
feel free to pass along suggestions.
- -- 
Bill Harris                  http://makingsense.facilitatedsystems.com/
Facilitated Systems                              Everett, WA 98208 USA
http://www.facilitatedsystems.com/               phone: +1 425 374-1845
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkyuhYwACgkQ3J3HaQTDvd/DBQCghfur0dyzXCx5QkanHJoLYU97
zosAoIPcZ10K3RPrqjr0blHpXDCM5VqF
=jdHT
-----END PGP SIGNATURE-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]