From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45122 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: bbdb acting up with Kai's name Date: Wed, 05 Jun 2002 14:10:55 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87hekhtx3k.fsf@alum.wpi.edu> References: <87d6vc402m.fsf@alum.wpi.edu> <87660xc06h.fsf@eu.citrix.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1023300798 27901 127.0.0.1 (5 Jun 2002 18:13:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2002 18:13:18 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17FfHa-0007Fk-00 for ; Wed, 05 Jun 2002 20:13:18 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17FfDt-0007Yt-00; Wed, 05 Jun 2002 13:09:29 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 05 Jun 2002 13:09:46 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA05526 for ; Wed, 5 Jun 2002 13:09:33 -0500 (CDT) Original-Received: (qmail 12302 invoked by alias); 5 Jun 2002 18:09:11 -0000 Original-Received: (qmail 12297 invoked from network); 5 Jun 2002 18:09:11 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 5 Jun 2002 18:09:11 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17FfYP-0003et-00 for ; Wed, 05 Jun 2002 20:30:41 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 30 Original-NNTP-Posting-Host: lowell.missioncriticallinux.com Original-X-Trace: quimby.gnus.org 1023301841 14066 64.244.21.16 (5 Jun 2002 18:30:41 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 5 Jun 2002 18:30:41 GMT X-PGP-KeyID: 6B21489A X-Face: C%mBb*K1^od)w'=CH$WEZu/M^aR<,.n|1uAe,;MyNLKoel>F;-j[`L!>m:Y%/R}m&4&xuIM R%7Ez?vbd*Ns>VE;{\(yl|mGByV{D:Dm>'52].@P&t_s^,.d [snip] I've also noticed that it's not bbdb's fault that things are screwing up for me. (well, not entirely) bbdb uses either mail-extract-address-components or rfc-822-addresses which are both part of mail-lib. Could someone (Kai?) using Emacs 21 which Latin-9 support try these: (let ((hdr "Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)")) (string-match (car (nth 3 bbdb-extract-address-component-regexps)) hdr) (mail-extract-address-components (match-string 2 hdr))) (let ((hdr "Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)")) (bbdb-rfc822-addresses hdr)) rfc-822-addresses does this: (rfc822-looking-at "[^][\000-\037 ()<>@,;:\\\".]+") Which works for a Latin-1 ß (0xdf), but not a Latin-9 ß (0x6df) Thanks for the help. -- Josh Huber