Gnus development mailing list
 help / color / mirror / Atom feed
* respooling nnimap group with nnimap-split-fancy
@ 2013-11-12 21:35 Pedro Silva
  2013-11-13  1:20 ` Eric Abrahamsen
  0 siblings, 1 reply; 8+ messages in thread
From: Pedro Silva @ 2013-11-12 21:35 UTC (permalink / raw)
  To: ding

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




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

end of thread, other threads:[~2013-12-26 16:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-12 21:35 respooling nnimap group with nnimap-split-fancy Pedro Silva
2013-11-13  1:20 ` Eric Abrahamsen
2013-11-13 14:24   ` Pedro Silva
2013-11-13 20:31     ` Pedro Silva
2013-11-15  4:55       ` Eric Abrahamsen
2013-11-15  8:49         ` Pedro Silva
2013-11-15  9:09           ` Eric Abrahamsen
2013-12-26 16:40           ` Lars Ingebrigtsen

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