From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Igor Sosa Mayor Newsgroups: gmane.emacs.help Subject: Re: How to extract the email address from the From: header? Date: Fri, 24 Oct 2014 22:12:06 +0200 Message-ID: <87bnp1jkh5.fsf@gmail.com> References: <87bnp15jbm.fsf@wmi.amu.edu.pl> <87tx2tcjy2.fsf@indiana.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414182643 30367 80.91.229.3 (24 Oct 2014 20:30:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2014 20:30:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 24 22:30:37 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XhlVM-0001AG-MM for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2014 22:30:36 +0200 Original-Received: from localhost ([::1]:50390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhlVM-0001Ho-8e for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2014 16:30:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhlUz-0001HV-K9 for help-gnu-emacs@gnu.org; Fri, 24 Oct 2014 16:30:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhlUu-0002Lo-Lo for help-gnu-emacs@gnu.org; Fri, 24 Oct 2014 16:30:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhlUu-0002E0-Fe for help-gnu-emacs@gnu.org; Fri, 24 Oct 2014 16:30:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XhlGJ-00025C-Qc for help-gnu-emacs@gnu.org; Fri, 24 Oct 2014 22:15:03 +0200 Original-Received: from 95.91.251.111 ([95.91.251.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Oct 2014 22:15:03 +0200 Original-Received: from joseleopoldo1792 by 95.91.251.111 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Oct 2014 22:15:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 95.91.251.111 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:wDXWifua/ZXcgfkwXa6Dp8BV65k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100597 Archived-At: Allan Streib writes: > Marcin Borkowski writes: > >> "From" headers (or "To" ones, for that matter) are sometimes plain >> email addresses and sometimes strings of the form "Real Name >> ". I could write a function (or maybe even a regex) >> to extract the email part in the latter case, but Emacs being Emacs, >> I'm pretty sure something like that already exists. Am I right? > > Have a look at bbdb-snarf.el thanks! interesting... -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::