From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72369 Path: news.gmane.org!not-for-mail From: Bruno Tavernier Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap-article-ranges error on sending message Date: Thu, 30 Sep 2010 23:57:13 +0900 Message-ID: <87y6aj9t4m.fsf@gmail.com> References: <87ocbf4qkg.fsf@gmail.com> <87d3rvxtoq.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285887922 7274 80.91.229.12 (30 Sep 2010 23:05:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 23:05:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20742@lists.math.uh.edu Fri Oct 01 01:05:20 2010 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 1P1SBi-0007Yb-Pw for ding-account@gmane.org; Fri, 01 Oct 2010 01:05:19 +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 1P1SBa-0000Dr-2h; Thu, 30 Sep 2010 18:05:10 -0500 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 1P1SBY-0000Da-5a for ding@lists.math.uh.edu; Thu, 30 Sep 2010 18:05:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1SBX-000252-6q for ding@lists.math.uh.edu; Thu, 30 Sep 2010 18:05:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P1SBU-0006km-00 for ; Fri, 01 Oct 2010 01:05:04 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1SBT-0007UD-GZ for ding@gnus.org; Fri, 01 Oct 2010 01:05:03 +0200 Original-Received: from softbank219185161154.bbtec.net ([219.185.161.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 01:05:03 +0200 Original-Received: from tavernier.bruno by softbank219185161154.bbtec.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 01:05:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 62 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: softbank219185161154.bbtec.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:dmBoOWKCurMAKtZH3hCs+ntdkRE= X-Spam-Score: 0.6 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-897--1668h-0s--0d--H*M:fsf, 0.000-794--1476h-0s--0d--H*u:Emacs, 0.000-782--1455h-0s--0d--H*u:Gnus, 0.000-758--1409h-0s--0d--H*u:linux, 0.000-758--1409h-0s--0d--H*UA:linux Spam tokens: 0.857-114--1266h-22369s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.857-114--1266h-22369s--0d--H*RU:quimby.gnus.org Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (tavernier.bruno[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED 1.5 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72369 Archived-At: Below the backtrace when sending message. Note, the error only happen when sending from an Imap folder where (gcc-self . t) My imap server is Dovecot and I connect without ssl/tls but over ssh. > `(setq debug-on-error t)', repeat the bug and mail me the resulting > backtrace. Debugger entered--Lisp error: (wrong-type-argument numberp nil) number-to-string(nil) (if (consp elem) (format "%d:%d" (car elem) (cdr elem)) (number-to-string elem)) (cons (if (consp elem) (format "%d:%d" ... ...) (number-to-string elem)) result) (setq result (cons (if ... ... ...) result)) (push (if (consp elem) (format "%d:%d" ... ...) (number-to-string elem)) result) (while --cl-dolist-temp-- (setq elem (car --cl-dolist-temp--)) (push (if ... ... ...) result) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))) (let ((--cl-dolist-temp-- ranges) elem) (while --cl-dolist-temp-- (setq elem ...) (push ... result) (setq --cl-dolist-temp-- ...)) nil) (catch (quote --cl-block-nil--) (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) (block nil (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil)) (dolist (elem ranges) (push (if ... ... ...) result)) (cond ((numberp ranges) (number-to-string ranges)) ((numberp ...) (format "%d:%d" ... ...)) (t (dolist ... ...) (mapconcat ... ... ","))) (let (result) (cond (... ...) (... ...) (t ... ...))) nnimap-article-ranges((nil)) (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" (nnimap-article-ranges range) (if (eq action ...) "-" "+") (mapconcat (function identity) flags " ")) (setq sequence (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" (nnimap-article-ranges range) (if ... "-" "+") (mapconcat ... flags " "))) (progn (setq sequence (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" ... ... ...))) (if flags (progn (setq sequence ...))) (when flags (setq sequence (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" ... ... ...))) (let ((flags ...)) (when flags (setq sequence ...))) (let* ((--cl-rest-- action) (range ...) (action ...) (marks ...)) (let (...) (when flags ...))) (progn (let* (... ... ... ...) (let ... ...))) (destructuring-bind (range action marks) action (let (...) (when flags ...))) (while --cl-dolist-temp-- (setq action (car --cl-dolist-temp--)) (destructuring-bind (range action marks) action (let ... ...)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))) (let ((--cl-dolist-temp-- actions) action) (while --cl-dolist-temp-- (setq action ...) (destructuring-bind ... action ...) (setq --cl-dolist-temp-- ...)) nil) (catch (quote --cl-block-nil--) (let (... action) (while --cl-dolist-temp-- ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) (block nil (let (... action) (while --cl-dolist-temp-- ... ... ...) nil)) (dolist (action actions) (destructuring-bind (range action marks) action (let ... ...))) (save-current-buffer (set-buffer (nnimap-buffer)) (erase-buffer) (dolist (action actions) (destructuring-bind ... action ...)) (when sequence (nnimap-wait-for-response sequence))) (with-current-buffer (nnimap-buffer) (erase-buffer) (dolist (action actions) (destructuring-bind ... action ...)) (when sequence (nnimap-wait-for-response sequence))) (let (sequence) (with-current-buffer (nnimap-buffer) (erase-buffer) (dolist ... ...) (when sequence ...))) (progn (let (sequence) (with-current-buffer ... ... ... ...))) (if (nnimap-possibly-change-group group server) (progn (let ... ...))) (when (nnimap-possibly-change-group group server) (let (sequence) (with-current-buffer ... ... ... ...))) nnimap-request-set-mark("INBOX" (((nil) del (read))) "Cloud") gnus-request-set-mark("INBOX" (((nil) del (read)))) gnus-agent-synchronize-group-flags("INBOX" (((nil) del (read))) (nnimap "Cloud" (nnimap-address "localhost") (nnimap-server-port 10143) (nnimap-stream network) (nnimap-nov-is-evil nil) (nnir-search-engine imap))) gnus-agent-regenerate-group("INBOX" (nil)) gnus-request-accept-article("INBOX" (nnimap "Cloud" (nnimap-address "localhost") (nnimap-server-port 10143) (nnimap-stream network) (nnimap-nov-is-evil nil) (nnir-search-engine imap)) t t) 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) -- Bruno