From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29110 Path: main.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.gnus.general Subject: Re: Email address handling Date: 05 Feb 2000 05:46:44 -0800 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=us-ascii Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035165837 878 80.91.224.250 (21 Oct 2002 02:03:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:03:57 +0000 (UTC) Cc: Roman Belenov , ding@gnus.org 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 6FC5AD051F for ; Sat, 5 Feb 2000 08:48:05 -0500 (EST) 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 HAB04058; Sat, 5 Feb 2000 07:47:55 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 05 Feb 2000 07:47:06 -0600 (CST) 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 HAA27168 for ; Sat, 5 Feb 2000 07:46:53 -0600 (CST) Original-Received: from halfdome.holdit.com (halfdome.holdit.com [209.102.105.64]) by mailhost.sclp.com (Postfix) with ESMTP id EE205D051F for ; Sat, 5 Feb 2000 08:46:50 -0500 (EST) Original-Received: (from merlyn@localhost) by halfdome.holdit.com (8.9.1/8.9.1) id FAA17482; Sat, 5 Feb 2000 05:46:45 -0800 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "04 Feb 2000 18:43:43 +0100" Original-Lines: 26 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29110 >>>>> "Kai" == Kai Großjohann writes: Kai> I think this is because it uses a regexp to find them, and the regexp Kai> doesn't find normal mail addresses in the body. Doubtless it should Kai> be easy to add this. Hm. Yes, there is the variable Kai> gnus-button-alist which might help. I think you mistyped "h a r d" as "easy" there. The regex to match an RFC822 email address is about 7000 characters long, and would take far too long to scan each incoming message. (I've got some friends working on a similar Perl module, and are being likewise frustrated.) For example: fred!barney@stonehenge.com is a legitimate email address. And so is that with included whitespace, as fred! barney@stonehenge.com, but how do you distinguish that from "hey, fred! barney@stonehenge.com" where only the "barney..." part is the email? Nope. The problem is a DWIM problem... there's not enough encoding in the email message to correctly identify the sequence of characters that *may* be an email address. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!