From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30480 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: People with From: Date: 27 Apr 2000 22:00:58 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2n1z3r56hx.fsf@tiger.jia.vnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167011 8704 80.91.224.250 (21 Oct 2002 02:23:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:23:31 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id AF453D051E for ; Thu, 27 Apr 2000 22:01:22 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id VAB07745; Thu, 27 Apr 2000 21:01:18 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 27 Apr 2000 21:00:31 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA17025 for ; Thu, 27 Apr 2000 21:00:21 -0500 (CDT) Original-Received: from shenghuo.dhs.org (d181829df.rochester.rr.com [24.24.41.223]) by mailhost.sclp.com (Postfix) with ESMTP id 8ADF5D051E for ; Thu, 27 Apr 2000 21:59:17 -0400 (EDT) Original-Received: (from zsh@localhost) by shenghuo.dhs.org (8.10.0/8.10.0) id e3S20wn08603; Thu, 27 Apr 2000 22:00:58 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Erik Toubro Nielsen's message of "26 Apr 2000 16:05:54 +0200" Original-Lines: 23 User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30480 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30480 >>>>> "Erik" == Erik Toubro Nielsen writes: Erik> Please try this patch I have used for some time. It works by returning Erik> the same list as mail-extract-address-components, the other suggested Erik> value of the variable gnus-extract-address-components. The problem is Erik> that name is never false in the (or name from) test, so name is always Erik> returned even when being an empty string. Erik> --- gnus-util.el.~1~ Thu Feb 17 16:14:45 2000 Erik> +++ gnus-util.el Wed Apr 26 15:49:33 2000 Erik> @@ -164,8 +164,8 @@ Erik> (and (string-match "(.*" from) Erik> (setq name (substring from (1+ (match-beginning 0)) Erik> (match-end 0))))) Erik> - ;; Fix by Hallvard B Furuseth . Erik> - (list (or name from) (or address from)))) Erik> + (list (if (string= name "") nil name) (or address from)))) Erik> + Applied. -- Shenghuo