[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] patch for org-contacts to ignore <<<radio_marks>>> when completi
From: |
Daniel Clemente |
Subject: |
Re: [O] patch for org-contacts to ignore <<<radio_marks>>> when completing |
Date: |
Wed, 02 Jan 2013 01:44:34 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.3.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
El Tue, 01 Jan 2013 23:57:27 +0100 Bastien va escriure:
>
> The function you introduced is used within `org-contacts-format-email',
> where using a bare name makes more sense IMHO.
>
Exactly. It says:
(concat name " <" email ">")
But name is <<<John>>> and you will get: <<<John>>> <address@hidden>
With the patch you get a bare name: John <address@hidden>
So that new function should „clean“ the name: remove radio 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 called org-contacts-format-name-and-email.
Greetings