From: Daimrod <daimrod@gmail.com>
To: Feng Shu <tumashu@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org-contacts.el: add expire feature
Date: Wed, 29 May 2013 23:30:42 +0200 [thread overview]
Message-ID: <87mwrdlbi5.fsf@tanger.home> (raw)
In-Reply-To: <87li6yx8u9.fsf@news.tumashu-localhost.org> (Feng Shu's message of "Wed, 29 May 2013 20:35:10 +0800")
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
Feng Shu <tumashu@gmail.com> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2013-05-29 21:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 12:35 [PATCH] org-contacts.el: add expire feature Feng Shu
2013-05-29 21:20 ` Daimrod
2013-05-30 0:32 ` Feng Shu
2013-05-30 0:38 ` Feng Shu
2013-05-30 10:36 ` Daimrod
2013-05-30 10:49 ` Feng Shu
2013-05-30 11:32 ` Feng Shu
2013-05-30 23:59 ` Daimrod
2013-05-31 4:22 ` Feng Shu
2013-05-30 17:37 ` Karl Voit
2013-05-30 22:56 ` Feng Shu
2013-05-31 9:38 ` Karl Voit
2013-05-31 0:05 ` Daimrod
2013-05-31 9:42 ` Handling outdated contact information (was: [PATCH] org-contacts.el: add expire feature) Karl Voit
2013-05-31 11:00 ` Handling outdated contact information Daimrod
2013-05-31 12:12 ` Feng Shu
2013-05-31 13:15 ` Feng Shu
2013-05-31 21:41 ` Org-mode contacts to Android (was: Handling outdated contact information) Karl Voit
2013-05-31 22:28 ` Org-mode contacts to Android Feng Shu
2013-06-01 0:23 ` Feng Shu
2013-05-29 21:30 ` Daimrod [this message]
2013-05-29 23:15 ` [PATCH] org-contacts.el: add expire feature Feng Shu
2013-05-30 0:42 ` [PATCH] org-contacts.el: ignore emails or phones with ignore property Feng Shu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwrdlbi5.fsf@tanger.home \
--to=daimrod@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tumashu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).