Gnus development mailing list
 help / color / mirror / Atom feed
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: ding@ifi.uio.no
Subject: Re: message-user-mail-address and other addresses
Date: Tue, 16 Apr 1996 21:32:35 +0200 (MET DST)	[thread overview]
Message-ID: <199604161932.VAA04881@bombur2.uio.no> (raw)
In-Reply-To: <w8spw98awmr.fsf@hler.ifi.uio.no>

> 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 <one@address, another@address>
won't work too well...
Maybe we should fix add-log & such things instead...


Regards,

Hallvard


  reply	other threads:[~1996-04-16 19:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-16  7:46 Hallvard B Furuseth
1996-04-16 17:47 ` Lars Magne Ingebrigtsen
1996-04-16 19:32   ` Hallvard B Furuseth [this message]
1996-04-16 21:58     ` Lars Magne Ingebrigtsen
1996-04-16 19:34   ` SORRY (Was: Re: message-user-mail-address and other addresses) Hallvard B Furuseth
1996-04-16 20:38   ` message-user-mail-address and other addresses Jason L Tibbitts III
1996-04-16 21:36     ` Hallvard B Furuseth
1996-04-17  1:05     ` Jason L Tibbitts III
1996-04-16 21:15   ` Steven L Baur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199604161932.VAA04881@bombur2.uio.no \
    --to=h.b.furuseth@usit.uio.no \
    --cc=ding@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).