From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83874 Path: news.gmane.org!not-for-mail From: Pedro Silva Newsgroups: gmane.emacs.gnus.general Subject: respooling nnimap group with nnimap-split-fancy Date: Tue, 12 Nov 2013 22:35:46 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384295891 13741 80.91.229.3 (12 Nov 2013 22:38:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2013 22:38:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32130@lists.math.uh.edu Tue Nov 12 23:38:14 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VgMb7-00037T-Qp for ding-account@gmane.org; Tue, 12 Nov 2013 23:38:14 +0100 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 1VgMaQ-0002WL-Cz; Tue, 12 Nov 2013 16:37:30 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VgLd0-0002Ai-Fj for ding@lists.math.uh.edu; Tue, 12 Nov 2013 15:36:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1VgLcy-0006Wg-QH for ding@lists.math.uh.edu; Tue, 12 Nov 2013 15:36:06 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1VgLcw-0008Oi-R9 for ding@gnus.org; Tue, 12 Nov 2013 22:36:02 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VgLct-0006XY-HX for ding@gnus.org; Tue, 12 Nov 2013 22:35:59 +0100 Original-Received: from h0234.upc-h.chello.nl ([62.194.0.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Nov 2013 22:35:59 +0100 Original-Received: from psilva by h0234.upc-h.chello.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Nov 2013 22:35:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h0234.upc-h.chello.nl User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (darwin) Cancel-Lock: sha1:xWcHV13ywljv9JN3Do6k4RZKB60= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83874 Archived-At: Hi, I've been trying to get respooling to work with fancy splitting on nnimap backends with no results. Here's the relevant trace: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) decode-coding-string(nil utf-8) nnimap-decode-gnus-group(nil) nnimap-request-accept-article(nil "imap.example.com" t) funcall(nnimap-request-accept-article nil "imap.example.com" t) (let ((gnus-command-method (or gnus-command-method (gnus-find-method-for-group group))) (result (funcall (gnus-get-function gnus-command-method (quote request-accept-article)) (if (stringp group) (let ((gname group)) (if (string-match "^[^:]+:" gname) (substring gname ...) gname)) group) (cadr gnus-command-method) last))) (if (and gnus-agent (gnus-agent-method-p gnus-command-method) (cdr result)) (progn (gnus-agent-regenerate-group group (list (cdr result))))) result) gnus-request-accept-article(nil (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap)) t t) eval((gnus-request-accept-article nil (quote (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap))) t t)) nnimap-request-move-article(68484 "INBOX" "imap.example.com" (gnus-request-accept-article nil (quote (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap))) t t) t nil) funcall(nnimap-request-move-article 68484 "INBOX" "imap.example.com" (gnus-request-accept-article nil (quote (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap))) t t) t nil) (let* ((gnus-command-method (gnus-find-method-for-group group)) (result (funcall (gnus-get-function gnus-command-method (quote request-move-article)) article (let ((gname group)) (if (string-match "^[^:]+:" gname) (substring gname (match-end 0)) gname)) (nth 1 gnus-command-method) accept-function last move-is-internal))) (if (and result gnus-agent (gnus-agent-method-p gnus-command-method)) (progn (gnus-agent-unfetch-articles group (list article)))) result) gnus-request-move-article(68484 "nnimap+imap.example.com:INBOX" "imap.example.com" (gnus-request-accept-article nil (quote (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap))) t t) t nil) gnus-summary-move-article(nil nil (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap))) gnus-summary-respool-article(nil (nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file "~/.authinfo.gpg") (nnir-search-engine imap))) call-interactively(gnus-summary-respool-article nil nil) --8<---------------cut here---------------end--------------->8--- Somehow, the group gets lost in there. I've tried following the trace detailedly, but I'm afraid I've not come up with an answer to that. Any ideas? This is on: Ma Gnus v0.8 GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2013-11-08 on mbp-osx These are the relevant bits of configuration: --8<---------------cut here---------------start------------->8--- (setq nnmail-split-methods 'nnimap-split-fancy nnmail-split-fancy '(| ("List-Id" ".*<\\(.+\\)\\.lists\\.example\\.com>.*" "lists.\\1") (: gnus-registry-split-fancy-with-parent) "INBOX")) (add-to-list 'gnus-secondary-select-methods `(nnimap "imap.example.com" (nnimap-address "imap.example.com") (nnimap-stream ssl) (nnimap-server-port 993) (nntp-authinfo-file ,netrc-file) (nnir-search-engine imap))) --8<---------------cut here---------------end--------------->8--- Thanks for your help. Sorry for the wall of text. -- Pedro