Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CD734431FD0 for ; Sun, 13 Mar 2011 13:50:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.463 X-Spam-Level: X-Spam-Status: No, score=0.463 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eo-gwyTmKfyw for ; Sun, 13 Mar 2011 13:50:57 -0700 (PDT) Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) by olra.theworths.org (Postfix) with ESMTP id BEB01431FB5 for ; Sun, 13 Mar 2011 13:50:56 -0700 (PDT) Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1]) by xhlj.maillard.im (Postfix) with ESMTP id AF2452C0DC; Sun, 13 Mar 2011 21:50:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to:cc :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=postfix; bh=6tHV1hEpzcs/ZNF+dcSGqA+05D8=; b=pjcRygBFc/7qnXk6a0CPIrjy3xpN UQVhuc4jNPwQO/a6xXlkmy8sTA75Wn+XYJ78yGJBlsmUU0un6GiGlbQz8TC6ByVX lvZguPlTHshOE63a2059yQZStVJ+X58AqqzU+ZFaPU6zVcAA3BgQv+GS9ZUTAf11 jlrqM1FGJbwfyOY= Received: from maillard.im (unknown [192.168.0.254]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by xhlj.maillard.im (Postfix) with ESMTPSA; Sun, 13 Mar 2011 21:50:54 +0100 (CET) From: Xavier Maillard To: David Bremner , Jameson Rollins Subject: Re: Backtrace with latest crypto branch In-Reply-To: <87mxl4f0u2.fsf@zancas.localnet> References: <87bp1mpjva.fsf@servo.finestructure.net> <87ei6h41s6.fsf@servo.finestructure.net> <87mxl4f0u2.fsf@zancas.localnet> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i486-slackware-linux-gnu) Date: Sun, 13 Mar 2011 22:00:34 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Xavier Maillard List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2011 20:50:59 -0000 Hi David, On Wed, 09 Mar 2011 17:20:05 -0400, David Bremner wrote: > On Wed, 09 Mar 2011 22:14:55 +0100, Xavier Maillard wrote: > > Hi, > >=20 > > No problem, Cc'ing accordingly. > >=20 > > Hope that'll help in debugging this issue. > >=20 >=20 > Can one of you post the backtrace? Here it is: Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ((:cont= ent ((:content "Hey, folks. I just wanted to give all the crypto early ado= pters a heads up that I just changed the crypto customization variable name in my crypto branch to be: notmuch-process-crypto-mime Daniel Gillmor has been doing a lot of great work with GMIME upstream to include support for handling s/mime parts with the same crypto context. When this work gets finished, pgp/mime and s/mime parts will both be processed with the same crypto hooks. Looking ahead, I thought the previous variable name (notmuch-process-pgpmime) was overly specific. And I wanted to get this change in before cworth's rumored imminent next release push (waiting with bated breath!). jamie. !DSPAM:1,4d72d0f035413102713680! " :content-type "text/plain" :id 3) (:content-type "application/pgp-signatu= re" :id 4)) :content-type "multipart/signed" :id 2) (:content "____________= ___________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch !DSPAM:1,4d72d0f035413102713680! " :content-type "text/plain" :id 5))) insert(((:content (... ...) :content-type "multipart/signed" :id 2) (:con= tent "_______________________________________________\nnotmuch mailing list= \nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\= n\n\n!DSPAM:1,4d72d0f035413102713680!\n" :content-type "text/plain" :id 5))) (progn (insert content) (let (...) (set-buffer display-buffer) (if ... ..= . nil))) (unwind-protect (progn (insert content) (let ... ... ...)) (and (buffer-n= ame temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... = ...) (and ... ...))) (with-current-buffer temp-buffer (unwind-protect (progn ... ...) (and ...= ...))) (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect= ... ...))) (with-temp-buffer (insert content) (let (...) (set-buffer display-buffer)= (if ... ... nil))) (let ((display-buffer ...)) (with-temp-buffer (insert content) (let ... .= .. ...))) notmuch-show-mm-display-part-inline((:body ((:content ... :content-type "= multipart/mixed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800" = :Bcc "" :Cc "" :To "Notmuch Mail " :From "Jameson = Rollins " :Subject "change of crypto mime custo= mization variable") :tags ("notmuch" "replied") :date_relative "Yest. 01:10= " :timestamp 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/129= 9485584_0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,= RS" :match t :id "87ipvx9kip.fsf@servo.finestructure.net") (:content ((:con= tent ... :content-type "multipart/signed" :id 2) (:content "_______________= ________________________________\nnotmuch mailing list\nnotmuch@notmuchmail= .org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d72d0f= 035413102713680!\n" :content-type "text/plain" :id 5)) :content-type "multi= part/mixed" :id 1) "multipart/mixed" ((:content (... ...) :content-type "mu= ltipart/signed" :id 2) (:content "_________________________________________= ______\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.o= rg/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d72d0f035413102713680!\n" :conte= nt-type "text/plain" :id 5))) (if content (notmuch-show-mm-display-part-inline msg part content-type co= ntent)) (let ((content ...)) (if content (notmuch-show-mm-display-part-inline msg= part content-type content))) notmuch-show-insert-part-*/*((:body ((:content ... :content-type "multipa= rt/mixed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800" :Bcc ""= :Cc "" :To "Notmuch Mail " :From "Jameson Rollins= " :Subject "change of crypto mime customizatio= n variable") :tags ("notmuch" "replied") :date_relative "Yest. 01:10" :time= stamp 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/1299485584= _0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :ma= tch t :id "87ipvx9kip.fsf@servo.finestructure.net") (:content ((:content ..= . :content-type "multipart/signed" :id 2) (:content "______________________= _________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nh= ttp://notmuchmail.org/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d72d0f0354131= 02713680!\n" :content-type "text/plain" :id 5)) :content-type "multipart/mi= xed" :id 1) "multipart/mixed" 1 0 "multipart/mixed") funcall(notmuch-show-insert-part-*/* (:body ((:content ... :content-type = "multipart/mixed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800"= :Bcc "" :Cc "" :To "Notmuch Mail " :From "Jameson= Rollins " :Subject "change of crypto mime cust= omization variable") :tags ("notmuch" "replied") :date_relative "Yest. 01:1= 0" :timestamp 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/12= 99485584_0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2= ,RS" :match t :id "87ipvx9kip.fsf@servo.finestructure.net") (:content ((:co= ntent ... :content-type "multipart/signed" :id 2) (:content "______________= _________________________________\nnotmuch mailing list\nnotmuch@notmuchmai= l.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d72d0= f035413102713680!\n" :content-type "text/plain" :id 5)) :content-type "mult= ipart/mixed" :id 1) "multipart/mixed" 1 0 "multipart/mixed") (not (funcall (car handlers) msg part content-type nth depth declared-typ= e)) (and handlers (not (funcall ... msg part content-type nth depth declared-= type))) (while (and handlers (not ...)) (setq handlers (cdr handlers))) (let ((handlers ...)) (while (and handlers ...) (setq handlers ...))) notmuch-show-insert-bodypart-internal((:body ((:content ... :content-type= "multipart/mixed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800= " :Bcc "" :Cc "" :To "Notmuch Mail " :From "Jameso= n Rollins " :Subject "change of crypto mime cus= tomization variable") :tags ("notmuch" "replied") :date_relative "Yest. 01:= 10" :timestamp 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/1= 299485584_0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:= 2,RS" :match t :id "87ipvx9kip.fsf@servo.finestructure.net") (:content ((:c= ontent ... :content-type "multipart/signed" :id 2) (:content "_____________= __________________________________\nnotmuch mailing list\nnotmuch@notmuchma= il.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d72d= 0f035413102713680!\n" :content-type "text/plain" :id 5)) :content-type "mul= tipart/mixed" :id 1) "multipart/mixed" 1 0 "multipart/mixed") (let ((content-type ...) (nth ...)) (notmuch-show-insert-bodypart-interna= l msg part content-type nth depth content-type)) notmuch-show-insert-bodypart((:body ((:content ... :content-type "multipa= rt/mixed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800" :Bcc ""= :Cc "" :To "Notmuch Mail " :From "Jameson Rollins= " :Subject "change of crypto mime customizatio= n variable") :tags ("notmuch" "replied") :date_relative "Yest. 01:10" :time= stamp 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/1299485584= _0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :ma= tch t :id "87ipvx9kip.fsf@servo.finestructure.net") (:content ((:content ..= . :content-type "multipart/signed" :id 2) (:content "______________________= _________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nh= ttp://notmuchmail.org/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d72d0f0354131= 02713680!\n" :content-type "text/plain" :id 5)) :content-type "multipart/mi= xed" :id 1) 0) (lambda (part) (notmuch-show-insert-bodypart msg part depth))((:content (= (:content ... :content-type "multipart/signed" :id 2) (:content "__________= _____________________________________\nnotmuch mailing list\nnotmuch@notmuc= hmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n\n\n!DSPAM:1,4d= 72d0f035413102713680!\n" :content-type "text/plain" :id 5)) :content-type "= multipart/mixed" :id 1)) mapc((lambda (part) (notmuch-show-insert-bodypart msg part depth)) ((:con= tent (... ...) :content-type "multipart/mixed" :id 1))) notmuch-show-insert-body((:body ((:content ... :content-type "multipart/m= ixed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800" :Bcc "" :Cc= "" :To "Notmuch Mail " :From "Jameson Rollins " :Subject "change of crypto mime customization va= riable") :tags ("notmuch" "replied") :date_relative "Yest. 01:10" :timestam= p 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/1299485584_0.2= 3858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :match = t :id "87ipvx9kip.fsf@servo.finestructure.net") ((:content (... ...) :conte= nt-type "multipart/mixed" :id 1)) 0) (let* ((headers ...) message-start message-end content-start content-end = headers-start headers-end body-start body-end (headers-invis-spec ...) (mes= sage-invis-spec ...) (bare-subject ...)) (when (eq buffer-invisibility-spec= t) (setq buffer-invisibility-spec nil)) (setq message-start (point-marker)= ) (notmuch-show-insert-headerline headers (or ... ...) (plist-get msg :tags= ) depth) (setq content-start (point-marker)) (notmuch-show-insert-headers h= eaders) (insert "\n") (save-excursion (goto-char content-start) (when ... .= ..) (setq headers-start ...)) (setq headers-end (point-marker)) (setq notmu= ch-show-previous-subject bare-subject) (setq body-start (point-marker)) (no= tmuch-show-insert-body msg (plist-get msg :body) depth) (if (not ...) (inse= rt "\n")) (setq body-end (point-marker)) (setq content-end (point-marker)) = (indent-rigidly content-start content-end depth) (setq message-end (point-m= ax-marker)) (put-text-property message-start message-end :notmuch-message-e= xtent (cons message-start message-end)) (plist-put msg :headers-invis-spec = headers-invis-spec) (overlay-put (make-overlay headers-start headers-end) (= quote invisible) headers-invis-spec) (plist-put msg :message-invis-spec mes= sage-invis-spec) (overlay-put (make-overlay body-start body-end) (quote inv= isible) message-invis-spec) (notmuch-show-set-message-properties msg) (notm= uch-show-headers-visible msg notmuch-message-headers-visible) (notmuch-show= -message-visible msg (plist-get msg :match))) notmuch-show-insert-msg((:body ((:content ... :content-type "multipart/mi= xed" :id 1)) :headers (:Date "Sat, 05 Mar 2011 16:10:06 -0800" :Bcc "" :Cc = "" :To "Notmuch Mail " :From "Jameson Rollins " :Subject "change of crypto mime customization var= iable") :tags ("notmuch" "replied") :date_relative "Yest. 01:10" :timestamp= 1299370206.0 :filename "/home/xavier/im.maillard/INBOX/cur/1299485584_0.23= 858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :match t= :id "87ipvx9kip.fsf@servo.finestructure.net") 0) (let ((msg ...) (replies ...)) (notmuch-show-insert-msg msg depth) (notmu= ch-show-insert-thread replies (1+ depth))) notmuch-show-insert-tree(((:body (...) :headers (:Date "Sat, 05 Mar 2011 = 16:10:06 -0800" :Bcc "" :Cc "" :To "Notmuch Mail "= :From "Jameson Rollins " :Subject "change of c= rypto mime customization variable") :tags ("notmuch" "replied") :date_relat= ive "Yest. 01:10" :timestamp 1299370206.0 :filename "/home/xavier/im.mailla= rd/INBOX/cur/1299485584_0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d7= 9b29c3f82c57e:2,RS" :match t :id "87ipvx9kip.fsf@servo.finestructure.net") = ((... ...))) 0) (lambda (tree) (notmuch-show-insert-tree tree depth))(((:body (...) :head= ers (:Date "Sat, 05 Mar 2011 16:10:06 -0800" :Bcc "" :Cc "" :To "Notmuch Ma= il " :From "Jameson Rollins " :Subject "change of crypto mime customization variable") :tags ("no= tmuch" "replied") :date_relative "Yest. 01:10" :timestamp 1299370206.0 :fil= ename "/home/xavier/im.maillard/INBOX/cur/1299485584_0.23858.kcals,U=3D1291= 50,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :match t :id "87ipvx9kip.f= sf@servo.finestructure.net") ((... ...)))) mapc((lambda (tree) (notmuch-show-insert-tree tree depth)) (((:body ... := headers ... :tags ... :date_relative "Yest. 01:10" :timestamp 1299370206.0 = :filename "/home/xavier/im.maillard/INBOX/cur/1299485584_0.23858.kcals,U=3D= 129150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :match t :id "87ipvx9k= ip.fsf@servo.finestructure.net") (...)))) notmuch-show-insert-thread((((:body ... :headers ... :tags ... :date_rela= tive "Yest. 01:10" :timestamp 1299370206.0 :filename "/home/xavier/im.maill= ard/INBOX/cur/1299485584_0.23858.kcals,U=3D129150,FMD5=3D7e33429f656f1e6e9d= 79b29c3f82c57e:2,RS" :match t :id "87ipvx9kip.fsf@servo.finestructure.net")= (...))) 0) (lambda (thread) (notmuch-show-insert-thread thread 0))((((:body ... :hea= ders ... :tags ... :date_relative "Yest. 01:10" :timestamp 1299370206.0 :fi= lename "/home/xavier/im.maillard/INBOX/cur/1299485584_0.23858.kcals,U=3D129= 150,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS" :match t :id "87ipvx9kip.= fsf@servo.finestructure.net") (...)))) mapc((lambda (thread) (notmuch-show-insert-thread thread 0)) (((... ...))= )) notmuch-show-insert-forest((((... ...)))) (let* ((basic-args ...) (args ...)) (notmuch-show-insert-forest (notmuch-= query-get-threads args)) (when (and ... query-context) (notmuch-show-insert= -forest ...))) (save-excursion (let* (... ...) (notmuch-show-insert-forest ...) (when ..= . ...)) (goto-address-mode t) (visual-line-mode t) (run-hooks (quote notmuc= h-show-hook))) (let ((buffer ...) (inhibit-read-only t)) (switch-to-buffer buffer) (notm= uch-show-mode) (set (make-local-variable ...) parent-buffer) (erase-buffer)= (goto-char (point-min)) (save-excursion (let* ... ... ...) (goto-address-m= ode t) (visual-line-mode t) (run-hooks ...)) (if (not ...) (notmuch-show-ne= xt-open-message)) (setq header-line-format (notmuch-show-strip-re ...)) (no= tmuch-show-mark-read)) notmuch-show("thread:000000000000d2c9" # "tag:notmuch and not tag:deleted" "*change of crypto mime custom...= ") (if (> (length thread-id) 0) (notmuch-show thread-id (current-buffer) not= much-search-query-string (if ... "[No Subject]" ...)) (error "End of search= results")) (let ((thread-id ...) (subject ...)) (if (> ... 0) (notmuch-show thread-i= d ... notmuch-search-query-string ...) (error "End of search results"))) notmuch-search-show-thread() call-interactively(notmuch-search-show-thread nil nil) =20