From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79126 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus keeps messing up its active file Date: Thu, 16 Jun 2011 11:12:10 +0200 Organization: my virtual residence Message-ID: <87fwnaywb9.fsf@yun.yagibdah.de> References: <87d3ieheb0.fsf@yun.yagibdah.de> <87k4cm1d2h.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1308215578 26817 80.91.229.12 (16 Jun 2011 09:12:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2011 09:12:58 +0000 (UTC) Cc: To: Tassilo Horn Original-X-From: ding-owner+M27425@lists.math.uh.edu Thu Jun 16 11:12:54 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QX8d8-0002cH-P1 for ding-account@gmane.org; Thu, 16 Jun 2011 11:12:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QX8cm-0006mM-Qz; Thu, 16 Jun 2011 04:12:28 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QX8ck-0006m7-Jz for ding@lists.math.uh.edu; Thu, 16 Jun 2011 04:12:26 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QX8cj-00065w-Al for ding@lists.math.uh.edu; Thu, 16 Jun 2011 04:12:26 -0500 Original-Received: from static.73.179.46.78.clients.your-server.de ([78.46.179.73]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QX8ch-0002HF-JU for ding@gnus.org; Thu, 16 Jun 2011 11:12:23 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.76) (envelope-from ) id 1QX8cU-0001T8-ND; Thu, 16 Jun 2011 11:12:10 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1677--6573h-0s--0d--H*UA:Emacs, 0.000-1515--5937h-0s--0d--H*u:Emacs, 0.000-1409--5522h-0s--0d--H*UA:Gnus, 0.000-1409--5521h-0s--0d--H*u:Gnus, 0.000-1354--5306h-0s--0d--H*u:linux Spam tokens: 0.965-5320--1317h-51082s--0d--H*r:quimby.gnus.org, 0.910-177--208h-2956s--0d--H*r:sk:static., 0.903-2718--3951h-51326s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.903-2718--3951h-51326s--0d--H*RU:quimby.gnus.org, 0.902-2437--3564h-46184s--0d--H*Ad:D*gnus.org Autolearn status: no -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79126 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tassilo Horn writes: > lee writes: > > Hi! > >> gnus has just messed up its active file on at least two groups. What >> might be the reason for this? > > I think you need to provide some more configuration details for anyone > (excluding me, who uses only nntp and imap) to give some pointers. Yeah, I thought so. I just don=C2=B4t know exactly what I need to provide, = so I=C2=B4m attaching my ~/.gnus.el with the splitting rules removed. I think that the problem started after I was trying to activate the archiving of all outgoing messages, yet I haven=C2=B4t been able to prove that. I have disabled the archiving and tried to remove all traces of it by moving ~/Mail/archive out of the way and removing the entry for the mail.archive.all.outgoing group from ~/Mail/active. So far, that seems to have improved things. Suspecting that the active file isn=C2=B4t actually messed up and that for unknown reasons the articles just expire, I=C2=B4ve checked for expiry entries in ~/.gnus.el and ~/.newsrc.eld and found nothing. Once all the old mail has been transfered, I=C2=B4ll make a copy of everything and use that for testing purposes. It seems to be a very good idea to try out changes on a copy ... As you can see in the attached gnus.el, I have also tried to get nndiary to work. It doesn=C2=B4t do anything, though. Diary messages are ignored, there=C2=B4s no dairy entry in the server view, no diary group in the group view, and ~/Mail/mail/nndiary/ doesn=C2=B4t exist. I=C2=B4ve verified that = diary messages I=C2=B4m sending myself are delivered correctly into ~/.nndiary. So far, the only thing I=C2=B4ve found is that there=C2=B4s perhaps a bug in t= he documentation, see and the following thread from March 2007 in the gmane.emacs.gnus.general newsgroup. I=C2=B4ll read up about nndiary some more ... --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=debug-gnus.el Content-Transfer-Encoding: quoted-printable Content-Description: my ~/.gnus.el (require 'gnus-diary) (setq user-mail-address "lee@yun.yagibdah.de") (setq user-full-name "lee") (setq gnus-select-method '(nnml "yun") mail-sources '((maildir :path "~/DUMMY/") (file :path "~/Datenquellen/telephon/sms-out.mbox") (file :path "~/Datenquellen/telephon/sms-in.mbox"))) (setq gnus-secondary-select-methods '((nntp "news.gmane.org"))) (add-to-list 'gnus-secondary-select-methods '(nntp "news1.open-news-network.org") '((nndiary "diary") (nndiary-get-new-mail t))) ;; '(nnimap "yun" (nnimap-stream tls) ;; (nnimap-address "localhost") ;; (nnimap-server-port 993))) (setq gnus-parameters '( ("bogus" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail\\.done" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail\\..*\\.posted" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail\\.sent" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail\\.0-incoming" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail\\.lists\\..*" (subscribed . t) (gnus-show-threads t) ;; (gnus-thread-hide-subtree t) (gnus-use-scoring t) (display . default) (gcc-self . "mail.posted") (posting-style (organization "my virtual residence")) (gnus-summary-line-format ":%U%R%z%B(%5L) %(%[%-23,23f%]%) '%s\n")) ;; ("mail\\.misc\\.bewerbungen" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.misc.bewerbungen") (posting-style (name "my name") ("Return-Receipt-To" user-mail-address) ("Disposition-Notification-To" user-mail-address) ("X-yun.yagibdah.de-info" "ref ") (body :file "~/texte/email.templates/template-00.txt")) (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail\\.per\\..*" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail.misc\\..*" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("mail.sys\\..*" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . default) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5L) %(%[%-23,23f%]%) %11&user-date; '%s\n")) ;; ("nntp.*" (gnus-show-threads t) (gnus-thread-hide-subtree t) (gnus-use-scoring t) (display . default) (gcc-self . "mail.news.posted") (gnus-summary-line-format ":%U%R%z%B(%5L) %(%[%-23,23f%]%) '%s\n") (posting style (organization "my virtual residence"))) )) ;; for mailing lists: (setq message-subscribed-address-functions '(gnus-find-subscribed-addresses)) ;; The `gnus-large-newsgroup' variable says what Gnus should consider ;; to be a big group. If it is `nil', no groups are considered big. The ;; default value is 200. If the group has more (unread and/or ticked) ;; articles than this, Gnus will query the user before entering the group. ;; The user can then specify how many articles should be fetched from the ;; server. If the user specifies a negative number (-N), the N oldest ;; articles will be fetched. If it is positive, the N articles that have ;; arrived most recently will be fetched. ;; (setq gnus-large-newsgroup 2000) ;; ,---- ;; | (gnus-demon-add-handler 'gnus-demon-scan-news nil 2) ;; after 2 min id= le ;; |=20 ;; | (gnus-demon-add-handler 'gnus-demon-scan-news 5 nil) ;; every 5 Min. ;; |=20 ;; | (gnus-demon-add-handler 'gnus-demon-scan-news 30 5) ;; every 30 min, ;; | ;; only when 5 min= idle ;; |=20 ;; | (info "(gnus)Daemons") ;; `---- ;; ,---- ;; | If you add handlers to `gnus-demon-handlers' directly, you should ;; | run `gnus-demon-init' to make the changes take hold. To cancel all ;; | daemons, you can use the `gnus-demon-cancel' function. ;; `---- ;; (gnus-demon-add-handler 'gnus-demon-scan-news 60 nil) ;; (gnus-demon-add-handler 'gnus-demon-scan-mail 3 t) (gnus-demon-add-handler 'gnus-demon-close-connections nil 25) (gnus-demon-init) ;; save msg IDs to check for duplicates (setq nnmail-message-id-cache-length 5000) ;; ,---- (info "(gnus)Filling In Threads") ;; | If non-`nil', Gnus will attempt to build old threads by fetching ;; | more old headers--headers to articles marked as read. If you wou= ld ;; | like to display as few summary lines as possible, but still ;; | connect as many loose threads as possible, you should set this ;; | variable to `some' or a number. If you set it to a number, no ;; `---- (setq gnus-fetch-old-headers "some") ;; ,---- ;; | If `gnus-use-full-window' non-`nil', Gnus will delete all other ;; | windows and occupy the entire Emacs screen by itself. It is `t' by ;; | default. ;; `---- ;; :too glitchy, use multiple frames instead ;;(setq gnus-use-full-window nil) ;; ,---- from Group Mode Line Specification ;; | `D' ;; | Newsgroup description. You need to read the group descriptions ;; | before these will appear, and to do that, you either have to set ;; | `gnus-read-active-file' or use the group buffer `M-d' command. ;; `---- (setq gnus-read-active-file "some") ;; ,---- from Group Mode Line Specification ;; | `%M%S%5y:%B%(%g%)\n' is the default ;; `---- (setq gnus-group-line-format "%M%S%7y : %(%-65g%) (%7t) %B\n") (setq nnmail-split-methods 'nnmail-split-fancy) (setq nnmail-split-fancy '(| ;; [...] "mail.0-incoming")) ;; gnus-summary-line-format: ;; ,---- ;; | The default string is `%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n'. ;; `---- ;; ;; (gnus-summary-line-format ;; "%U%R%z%I%(%[%4L: %-30,30f%]%) %s\n") ;; nndiary settings: (add-hook 'gnus-select-group-hook 'gnus-group-set-timestamp) ;;(setq nndiary-get-new-mail t) (setq nndiary-mail-sources '((file :path "~/.nndiary"))) (setq nndiary-split-methods '(("mail.nndiary" ""))) (setq nndiary-week-starts-on-monday t) ;; article caching (setq gnus-use-cache t) ;; default archive for outgoing messages (setq gnus-gcc-mark-as-read t) ;; (setq gnus-update-message-archive-method t) ;; (setq gnus-message-archive-group "mail.archive.all.outgoing") ;; (setq gnus-message-archive-method ;; '(nnfolder "gnus-arc" ;; (nnfolder-directory "~/Mail/archive") ;; (nnfolder-active-file "~/Mail/archive/active") ;; (nnfolder-get-new-mail nil) ;; (nnfolder-inhibit-expiry t))) ;; scoring (defun my-summary-mode-hook-fn () (setq gnus-summary-expunge-below -1000)) (add-hook 'gnus-summary-mode-hook 'my-summary-mode-hook-fn) ;; don=C2=B4t move to the next group in the group ;; buffer when exiting a group, and don=C2=B4t move to unread (setq gnus-summary-next-group-on-exit nil) (setq gnus-group-goto-unread nil) ;; headers (for searching) (setq gnus-extra-headers '(To Cc List-Id)) (setq nnmail-extra-headers gnus-extra-headers) ;; keep expired articles in this group (setq nnmail-expiry-target "sys.expired") --=-=-=--