[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-contacts.el: add expire feature
From: |
Feng Shu |
Subject: |
Re: [O] [PATCH] org-contacts.el: add expire feature |
Date: |
Thu, 30 May 2013 18:49:20 +0800 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.2 (gnu/linux) |
Daimrod <address@hidden> writes:
> Feng Shu <address@hidden> writes:
>
>> Daimrod <address@hidden> writes:
>>
>>>
>>> This is not very idiomatic elisp, I would write something more like:
>>> #+BEGIN_SRC emacs-lisp
>>> (remove-if (lambda (el)
>>> (member el expire-list))
>>> list)
>>> #+END_SRC
>>
>> Thanks!
>>
>> Is this possible?
>>
>> address@hidden = address@hidden
>
> Yes, you could do it like this:
> #+BEGIN_SRC emacs-lisp
> (remove-if (lambda (el)
> (find-if (lambda (x)
> (string-match-p x el))
> expire-list))
> list)
> #+END_SRC
>
> This way you can use regular expressions in the ignore list.
It's very power,I will copy it!
Thanks!
--
- [O] [PATCH] org-contacts.el: add expire feature, Feng Shu, 2013/05/29
- Re: [O] [PATCH] org-contacts.el: add expire feature, Daimrod, 2013/05/29
- Re: [O] [PATCH] org-contacts.el: add expire feature, Feng Shu, 2013/05/29
- Re: [O] [PATCH] org-contacts.el: add expire feature, Feng Shu, 2013/05/29
- Re: [O] [PATCH] org-contacts.el: add expire feature, Karl Voit, 2013/05/30
- Re: [O] [PATCH] org-contacts.el: add expire feature, Feng Shu, 2013/05/30
- Re: [O] [PATCH] org-contacts.el: add expire feature, Karl Voit, 2013/05/31
- 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