From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5905 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Message.el questions Date: 12 Apr 1996 05:16:05 +0200 Message-ID: References: <15693.829250953@dg-rtp.dg.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146440 1740 80.91.224.250 (20 Oct 2002 20:40:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:40:40 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id UAA27822 for ; Thu, 11 Apr 1996 20:43:45 -0700 Original-Received: from hler.ifi.uio.no (4867@hler.ifi.uio.no [129.240.94.23]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 12 Apr 1996 05:16:09 +0200 Original-Received: (from larsi@localhost) by hler.ifi.uio.no ; Fri, 12 Apr 1996 05:16:06 +0200 Original-To: ding@ifi.uio.no Original-Lines: 13 Xref: main.gmane.org gmane.emacs.gnus.general:5905 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5905 Per Abrahamsen writes: > This replacement code should be more reliable: > > (let ((real (nth 1 (mail-extract-address-components user-mail-address)))) > (and (string-match "@\\(.*\\)\\'" real) > (match-string 1 real))) Yup. I'll be doing something similar in 0.70. -- "Yes. The journey through the human heart would have to wait until some other time."