From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: Adding email address support to thingatpt.el. Date: Tue, 27 Feb 2007 09:19:50 -0800 Message-ID: <87vehn4ix5.fsf@floss.red-bean.com> References: <87vehqox9u.fsf@floss.red-bean.com> <87ps7xavui.fsf@floss.red-bean.com> <45E32048.8050309@easy-emacs.de> <87abyz7qgd.fsf@floss.red-bean.com> <45E3DFA9.5000608@easy-emacs.de> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172564416 16545 80.91.229.12 (27 Feb 2007 08:20:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2007 08:20:16 +0000 (UTC) Cc: emacs-devel To: Andreas Roehler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 27 09:20:10 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLxZB-0006eR-Cw for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 09:20:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLxZA-0007Po-Pj for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 03:20:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLxYx-0007OL-2t for emacs-devel@gnu.org; Tue, 27 Feb 2007 03:19:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLxYv-0007Nk-KY for emacs-devel@gnu.org; Tue, 27 Feb 2007 03:19:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLxYv-0007NZ-FH for emacs-devel@gnu.org; Tue, 27 Feb 2007 03:19:53 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.193.61]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HLxYv-0002jK-4q for emacs-devel@gnu.org; Tue, 27 Feb 2007 03:19:53 -0500 Original-Received: from localhost ([127.0.0.1]:58424 helo=floss.red-bean.com ident=kfogel) by sanpietro.red-bean.com with esmtp (Exim 4.63) (envelope-from ) id 1HLxYu-0007R6-8Y; Tue, 27 Feb 2007 02:19:52 -0600 In-Reply-To: <45E3DFA9.5000608@easy-emacs.de> (Andreas Roehler's message of "Tue\, 27 Feb 2007 08\:37\:13 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66908 Archived-At: Andreas Roehler writes: > If Emacs is more restrictive than RFC2822, errors and > bug-reports are ahead. They may be ahead either way :-). But let's take it up after the release. > BTW: Does RFC2822 indeed require at least two chars before > the `@'? I'm not sure about it, but can't see that. No. s{_AT_}x.org is a real email address (substitute "@" of course). So my regexp is wrong, that should have been a "*" not a "+". Thanks! > So the core of my regexp, taking the ranges from RFC, is this: > [\041-\132\136-\176]+@[\041-\132\136-\176]+ *nod* Okay. I'm going to sit until after the release, but let's pick it up here then. Best, -Karl