From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5960 Path: main.gmane.org!not-for-mail From: Hallvard B Furuseth Newsgroups: gmane.emacs.gnus.general Subject: Re: message-user-mail-address and other addresses Date: Tue, 16 Apr 1996 21:32:35 +0200 (MET DST) Message-ID: <199604161932.VAA04881@bombur2.uio.no> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146486 1926 80.91.224.250 (20 Oct 2002 20:41:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:41:26 +0000 (UTC) Cc: ding@ifi.uio.no 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 NAA01025 for ; Tue, 16 Apr 1996 13:28:52 -0700 Original-Received: from goggins.uio.no (6089@goggins.uio.no [129.240.201.2]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id ; Tue, 16 Apr 1996 21:32:50 +0200 Original-Received: from ulrik.uio.no by goggins.uio.no with local-SMTP (PP) id <08802-0@goggins.uio.no>; Tue, 16 Apr 1996 21:32:36 +0200 Original-Received: by bombur2.uio.no ; Tue, 16 Apr 1996 21:32:35 +0200 (MET DST) Original-To: Lars Magne Ingebrigtsen In-reply-to: Xref: main.gmane.org gmane.emacs.gnus.general:5960 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5960 > Yup. 0.74 will use `mail-extract-address-components' to extract the > address parts. I think it does a good job. Great! And sgnus itself no longer contains any regexps that will fail if there are, say, spaces in an address? > I tried it on all the examples you gave, and it failed only on one: > >> @bsd.urgu.e-burg.su,@optoel.uucp:aleck@optoel.urgu.e-burg.su > > (nth 1 (mail-extract-address-components > "@bsd.urgu.e-burg.su,@optoel.uucp:aleck@optoel.urgu.e-burg.su")) > => > "aleck@optoel.urgu.e-burg.su" No, I think that's correct. The @foo: stuff appears to be routing information on the `From ' line. BTW, about (user-mail-address): Erik Naggum thought the best way was (defun user-mail-address (...) (or (and user-mail-address-function (eq user-mail-address user-mail-address-default) (apply user-mail-address-function ...)) user-mail-address)) where user-mail-address-function is *not* encouraged to set user-mail-address, but instead does it own bookkeeping. > However, many (many) people, especially people mostly > using XEmacs, it seems, have a `user-mail-address' that contains more > than just the address. I don't normally think one should cater to > brokenness, but in this instance there were just too many people that > experienced problems. Hum. Well, if we are going to un-break these as far as possible -- How do they write those addresses? Is there some "semi-standard" for XEmacs on this? If it's "one@address, another@address", then From: Joe Luser won't work too well... Maybe we should fix add-log & such things instead... Regards, Hallvard