From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67078 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: BUG: ngnus-0.10 can't send messages Date: Tue, 24 Jun 2008 19:29:52 +0200 Message-ID: References: <87od60tp06.fsf@mat.ucm.es> <87hcbpkcb7.fsf@mat.ucm.es> <4860C51B.5030604@mat.ucm.es> <87r6anned5.fsf@mat.ucm.es> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1214328757 17159 80.91.229.12 (24 Jun 2008 17:32:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 17:32:37 +0000 (UTC) Cc: ding@gnus.org To: Uwe Brauer Original-X-From: ding-owner+M15544@lists.math.uh.edu Tue Jun 24 19:33:21 2008 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.50) id 1KBCOL-0002Ce-N7 for ding-account@gmane.org; Tue, 24 Jun 2008 19:33:18 +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 1KBCLm-00005k-UE; Tue, 24 Jun 2008 12:30:38 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KBCLk-00005N-AK for ding@lists.math.uh.edu; Tue, 24 Jun 2008 12:30:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KBCLa-0007Wu-1N for ding@lists.math.uh.edu; Tue, 24 Jun 2008 12:30:35 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KBCLs-0004h0-00 for ; Tue, 24 Jun 2008 19:30:44 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m5OHUNv7001087; Tue, 24 Jun 2008 19:30:23 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id EC8421317F; Tue, 24 Jun 2008 19:30:22 +0200 (CEST) X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67078 Archived-At: On Tue, Jun 24 2008, Uwe Brauer wrote: > Still I don't understand why it works in 0.6. Because there was no call to `mail-extract-address-components' with a non-nil argument ALL in No Gnus 0.6 in your setup. Your defadvices don't handle the ALL argument of `mail-extract-address-components' correctly: ,----[ f mail-extract-address-components RET | XEmacs ] | `mail-extract-address-components' is a compiled Lisp function | -- loaded from "mail-extr" | (mail-extract-address-components ADDRESS &optional ALL) |=20 | Documentation: | Given an RFC-822 address ADDRESS, extract full name and canonical addre= ss. | Returns a list of the form (FULL-NAME CANONICAL-ADDRESS). | If no name can be extracted, FULL-NAME will be nil. Also see | `mail-extr-ignore-single-names'. |=20 | If the optional argument ALL is non-nil, then ADDRESS can contain zero=A0= =A0=A0<-- | or more recipients, separated by commas, and we return a list of=A0=A0=A0= =A0=A0=A0=A0=A0=A0<-- | the form ((FULL-NAME CANONICAL-ADDRESS) ...) with one element for=A0=A0= =A0=A0=A0=A0=A0=A0<-- | each recipient. If ALL is nil, then if ADDRESS contains more than=A0=A0= =A0=A0=A0=A0=A0<-- | one recipients, all but the first is ignored.=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<-- |=20 | [...] `---- > (defadvice mail-extract-address-components (after capitalize-mc last ac= tivate) > "Fix capitalization of \"Mc\" names, e.g. \"Mcdonald\" -> \"McDonald= \"." > (let ((full-name (car ad-return-value)) (mail-extract-address-components "Uwe Brauer " t) --> (("Uwe Brauer" "oub@mat.ucm.es")) full-name --> ("Uwe Brauer" "oub@mat.ucm.es") [a list!] (string-match "\\ ERROR. I wonder why there was no indication in your backtrace that the function is advised. In Emacs 22, the backtrace would tell: ,----[ Backtrace with broken advise ] | Debugger entered--Lisp error: (wrong-type-argument stringp | ("Uwe Brauer" "oub@mat.ucm.es")) | string-match("\\" t) | eval((mail-extract-address-components "Uwe Brauer " t= )) | eval-last-sexp-1(t) | eval-last-sexp(t) | eval-print-last-sexp() | call-interactively(eval-print-last-sexp) `---- > The most likely culprit seem to me the defadvice things. I will > comment them out and see what happens, (still insisting that in 0.6 it > works): ok now gnus-0.10 works. The question is, how could this > defadvice function work again under 0.10??? Fix it to handle non-nil ALL correctly. Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/