From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: patch for org-contacts to ignore <<>> when completing Date: Wed, 02 Jan 2013 01:44:34 +0100 Message-ID: <87obh81ki5.wl%n142857@gmail.com> References: <87vcbh1u10.wl%n142857@gmail.com> <87a9ssa4vc.fsf@bzg.ath.cx> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqCRk-0001t9-2q for emacs-orgmode@gnu.org; Tue, 01 Jan 2013 19:44:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqCRj-0000hW-03 for emacs-orgmode@gnu.org; Tue, 01 Jan 2013 19:44:40 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:50164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqCRi-0000hQ-Pj for emacs-orgmode@gnu.org; Tue, 01 Jan 2013 19:44:38 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so6108479wgd.4 for ; Tue, 01 Jan 2013 16:44:38 -0800 (PST) In-Reply-To: <87a9ssa4vc.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: org-mode Mailinglist El Tue, 01 Jan 2013 23:57:27 +0100 Bastien va escriure: >=20 > The function you introduced is used within `org-contacts-format-email', > where using a bare name makes more sense IMHO. >=20 Exactly. It says: (concat name " <" email ">") But name is <<>> and you will get: <<>> With the patch you get a bare name: John So that new function should =E2=80=9Eclean=E2=80=9C the name: remove radi= o marks, emphasis, bold, etc. I did only radio marks.. I also don't know org-contacts very much, but it seems that org-contacts-= format-email returns not only the e-mail, but also the name; it could be ca= lled org-contacts-format-name-and-email. Greetings