From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30442 Path: main.gmane.org!not-for-mail From: Pavel.Janik@inet.cz (Pavel =?iso-8859-2?q?Jan=EDk?= ml.) Newsgroups: gmane.emacs.gnus.general Subject: Re: People with From: Date: 26 Apr 2000 22:59:02 +0200 Organization: Qbizm technologies, a.s., Kralovopolska 139, Brno, 60112, Czech Republic Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035166978 8481 80.91.224.250 (21 Oct 2002 02:22:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:58 +0000 (UTC) Cc: GNUS mailing list 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 14EC3D051F for ; Wed, 26 Apr 2000 17:22:45 -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 QAB00196; Wed, 26 Apr 2000 16:22:36 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 16:22:02 -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 QAA27291 for ; Wed, 26 Apr 2000 16:21:44 -0500 (CDT) Original-Received: from localgw.inet.cz (brno-l.router.inet.cz [62.229.34.226]) by mailhost.sclp.com (Postfix) with ESMTP id 545ABD0521 for ; Wed, 26 Apr 2000 17:20:42 -0400 (EDT) Original-Received: from SnowWhite.inet.cz (dialup2.inet.cz [62.229.34.210]) by localgw.inet.cz (8.9.0/8.9.0) with ESMTP id XAA06839; Wed, 26 Apr 2000 23:28:27 +0200 Original-Received: (from pavel@localhost) by SnowWhite.inet.cz (8.8.7/8.8.7) id XAA05510; Wed, 26 Apr 2000 23:06:27 +0200 X-Authentication-Warning: SnowWhite.inet.cz: pavel set sender to Pavel.Janik@inet.cz using -f Original-To: Erik Toubro Nielsen X-Operating-System: Linux 2.3.99-pre5 on Intel, Linux 2.2.10 on SPARC X-Spam: No unsolicited e-mail. 500 dollars per message proof-reading for unsolicited e-mail. X-Not-Receiving-Mail-From: mrp.cz, hotmail.com, post.cz, email.cz, usa.net In-Reply-To: Erik Toubro Nielsen's message of "26 Apr 2000 16:05:54 +0200" User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 Original-Lines: 33 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30442 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30442 From: Erik Toubro Nielsen Date: 26 Apr 2000 16:05:54 +0200 Hi, [...] > Please try this patch I have used for some time. It works by returning > the same list as mail-extract-address-components, the other suggested > value of the variable gnus-extract-address-components. The problem is > that name is never false in the (or name from) test, so name is always > returned even when being an empty string. > > --- gnus-util.el.~1~ Thu Feb 17 16:14:45 2000 > +++ gnus-util.el Wed Apr 26 15:49:33 2000 > @@ -164,8 +164,8 @@ > (and (string-match "(.*" from) > (setq name (substring from (1+ (match-beginning 0)) > (match-end 0))))) > - ;; Fix by Hallvard B Furuseth . > - (list (or name from) (or address from)))) > + (list (if (string= name "") nil name) (or address from)))) > + > > (defun gnus-fetch-field (field) > "Return the value of the header FIELD of current article." > yes, that works too. Can this be added to CVS? -- Pavel Janík ml. Pavel.Janik@inet.cz