From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67082 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: BUG: ngnus-0.10 can't send messages Date: Wed, 25 Jun 2008 08:59:41 +0900 Organization: Emacsen advocacy group Message-ID: References: <87od60tp06.fsf@mat.ucm.es> <87hcbpkcb7.fsf@mat.ucm.es> <4860C51B.5030604@mat.ucm.es> <87r6anned5.fsf@mat.ucm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214352103 1286 80.91.229.12 (25 Jun 2008 00:01:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 00:01:43 +0000 (UTC) Cc: ding@gnus.org To: Uwe Brauer Original-X-From: ding-owner+M15548@lists.math.uh.edu Wed Jun 25 02:02:28 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 1KBISu-0002FZ-V1 for ding-account@gmane.org; Wed, 25 Jun 2008 02:02:25 +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 1KBIRC-00022N-8Q; Tue, 24 Jun 2008 19:00: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 1KBIRA-000221-7F for ding@lists.math.uh.edu; Tue, 24 Jun 2008 19:00: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 1KBIR4-0002N5-9E for ding@lists.math.uh.edu; Tue, 24 Jun 2008 19:00:36 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KBIRJ-0003w5-00 for ; Wed, 25 Jun 2008 02:00:45 +0200 Original-Received: from localhost ([127.0.0.1]:43148) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1KBIQQ-0000gz-DL; Tue, 24 Jun 2008 18:59:51 -0500 Mail-Followup-To: Uwe Brauer , ding@gnus.org X-Hashcash: 1:20:080624:oub@mat.ucm.es::2WJXRBm1yug/YT0k:000BndJ X-Hashcash: 1:20:080624:ding@gnus.org::KwSKTD2Ti1pO+zlW:00002kjX X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:+EGaPNVTzUsUQRIOfhAFgEWOjMY= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67082 Archived-At: >>>>> Reiner Steib wrote: > Fix it to handle non-nil ALL correctly. Yup, it's exactly the solution. Maybe those advices can be simply replaced with: (defadvice mail-extract-address-components (after capitalize first activate) "Capitalize names." (dolist (adrs (if (ad-get-arg 1) ad-return-value (and ad-return-value (list ad-return-value)))) (if (car adrs) (setcar adrs (capitalize (car adrs)))))) (defadvice mail-extract-address-components (after capitalize-mc last activate) "Fix capitalization of \"Mc\" names, e.g. \"Mcdonald\" -> \"McDonald\"." (let ((case-fold-search nil) full-name start) (dolist (adrs (if (ad-get-arg 1) ad-return-value (and ad-return-value (list ad-return-value)))) (when (setq full-name (car adrs)) (setq start 0) (while (string-match "\\