[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-contacts.el: add expire feature
From: |
Daimrod |
Subject: |
Re: [O] [PATCH] org-contacts.el: add expire feature |
Date: |
Wed, 29 May 2013 23:30:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Feng Shu <address@hidden> writes:
> (defun org-contacts-complete-name (start end string)
> "Complete text at START with a user name and email."
> (let* ((completion-ignore-case org-contacts-completion-ignore-case)
> @@ -484,10 +497,17 @@ A group FOO is composed of contacts with the tag FOO."
> ;; The contact name is always the car of the assoc-list
> ;; returned by `org-contacts-filter'.
> for contact-name = (car contact)
> +
> + ;; Build the list of the email addresses which has
> + ;; been expired
> + for expire-list = (org-contacts-split-property (or
> + (cdr
> (assoc-string org-contacts-expire-property
> +
> (caddr contact))) ""))
> ;; Build the list of the user email addresses.
> - for email-list = (org-contacts-split-property (or
> - (cdr (assoc-string
> org-contacts-email-property
> - (caddr
> contact))) ""))
> + for email-list = (org-contacts-remove-expired-property
> expire-list
> +
> (org-contacts-split-property (or
> +
> (cdr (assoc-string org-contacts-email-property
> +
> (caddr contact))) "")))
I forgot to ask, why do you also modify org-contacts-complete-name? This
function isn't used to export to VCARD, but to complete the email in
Gnus.
--
Daimrod/Greg
signature.asc
Description: PGP signature
- Re: [O] [PATCH] org-contacts.el: add expire feature, (continued)
- Re: [O] [PATCH] org-contacts.el: add expire feature, Daimrod, 2013/05/30
- [O] Handling outdated contact information (was: [PATCH] org-contacts.el: add expire feature), Karl Voit, 2013/05/31
- Re: [O] Handling outdated contact information, Daimrod, 2013/05/31
- Re: [O] Handling outdated contact information, Feng Shu, 2013/05/31
- Re: [O] Handling outdated contact information, Feng Shu, 2013/05/31
- [O] Org-mode contacts to Android (was: Handling outdated contact information), Karl Voit, 2013/05/31
- Re: [O] Org-mode contacts to Android, Feng Shu, 2013/05/31
- Re: [O] Org-mode contacts to Android, Feng Shu, 2013/05/31
Re: [O] [PATCH] org-contacts.el: add expire feature,
Daimrod <=
Re: [O] [PATCH] org-contacts.el: ignore emails or phones with ignore property, Feng Shu, 2013/05/29