On Mon, 18-08-2014, at 17:27, Ken Mankoff <[email protected]> wrote:
> * On 2014-08-18 at 04:41, Ramon Diaz-Uriarte wrote:
>> I would like to be able to edit the contact list used for
>> autocompletion.  Why? I occasionally send an email to a mistaken
>> address, or the same person over time changes emails (say
>> "Name.Lastname@something" to "Lastname.Name@something"), but I have no
>> idea how to edit/remove the no-longer-in-use/wrong email addresses. I
>> can see ~/.mu/cache/contacts (but it says "do not edit"), and I can
>> even see that sometimes email addresses with much higher frequencies
>> get listed after entries with frequencies of 1. I haven't been able to
>> find how to edit this list. This entry
>> https://groups.google.com/d/topic/mu-discuss/-M9BmTmMlhk/discussion
>
> My solution is to only use the last X days of email addresses. This way
> stale/incorrect email addresses need to be handled manually for a short
> (for certain values of X) while to make sure I use the correct one, and
> then the fall out of the DB.
>
> I combine the mu-generated address list with my own OS X Contacts
> database, where I maintain "permanent" addresses that I want to have
> autocomplete even if I haven't emailed them within the past X days.
>
> I do this by 1) using mu to find contacts within the last 90 days and
> exporting in Org format.
>
> mu cfind --format=org-contact --after=`date -v-90d +%s` >> ~/.contacts.org
>
> And then 2) some custom code that reads my "permanent" address book and
> appends it to contacts.org in the correct format.

Thanks! I might try to combine this with Josiah's approach.

Best,

R.


>
>   -k.


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina 
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: [email protected]
       [email protected]

http://ligarto.org/rdiaz


-- 
You received this message because you are subscribed to the Google Groups 
"mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to