From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63236 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.gnus.general Subject: problem asserts in nnimap Date: Mon, 22 May 2006 21:29:23 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1148344910 20195 80.91.229.2 (23 May 2006 00:41:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 00:41:50 +0000 (UTC) Original-X-From: ding-owner+m11763@lists.math.uh.edu Tue May 23 02:41:46 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiKxs-0007Zx-SB for ding-account@gmane.org; Tue, 23 May 2006 02:41:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FiKxg-0002ts-00; Mon, 22 May 2006 19:41:24 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FiG6d-0002iq-00 for ding@lists.math.uh.edu; Mon, 22 May 2006 14:30:19 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FiG6Y-0001FQ-Gr for ding@lists.math.uh.edu; Mon, 22 May 2006 14:30:19 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FiG6V-0006qQ-00 for ; Mon, 22 May 2006 21:30:11 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FiG67-0001bw-2t for ding@gnus.org; Mon, 22 May 2006 21:29:47 +0200 Original-Received: from ua-83-227-131-3.cust.bredbandsbolaget.se ([83.227.131.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 21:29:47 +0200 Original-Received: from joakim by ua-83-227-131-3.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 May 2006 21:29:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ua-83-227-131-3.cust.bredbandsbolaget.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.51 (gnu/linux) Cancel-Lock: sha1:BD8Lvx0Nf8ISgtBkJWXMGbA1tlo= X-Spam-Score: -2.1 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63236 Archived-At: I'm connecting to a dovecot instance with nnimap. I get problem with asserts failing. I tried debugging it a bit like this: in imap-parse-body in imap.el ... (when (eq (char-after) ?\ ) ;; body-ext-1part: (imap-forward) (push (imap-parse-nstring) body) ;; body-fld-md5 (setq body (append (imap-parse-body-ext) body))) ;; body-ext-1part.. (my-assert "1") (imap-forward) (nreverse body))))) ... (defun my-assert(s) (assert (eq (char-after) ?\)) nil (concat "In imap-parse-body JAVE " s " " (buffer-substring (- (point) 50) (+ 1(point))))9 ) ... (i just factored out the assert) in the backtace buffer i get this: signal(error ("In imap-parse-body JAVE 1 ted\")(\"text\" \"x-vcal\" (\"charset\" \"iso-8859-1\") {25}")) I interpret this as meaning that an ")" is expected, but instead we got "}". in *imap-log* it looks like this: ("text" "x-vcal" ("charset" "iso-8859-1") {25} NIL "quoted-printable" 550 22) Im not too familiar with gnus inner workings or nnimap, so any assistance would be apreciated! -- Joakim Verona http://www.verona.se