On Wednesday May 07 2014, Ken Mankoff <[email protected]> wrote: > OK I realize it is working - the contacts from the past 30 days are > available in mu. But mu4e search isn't finding them. > > If I sent an email to Per Son <[email protected]> and I type "P <TAB>", it > appears to autocomplete cycle from my .contacts.org file. If I type "Per > S<TAB> then it autocompletes that person, if I emailed them in the past > 30 days. > > -k. > > On 2014-05-07 at 12:59, Ken Mankoff <[email protected]> wrote: >> I'm trying to set up mu4e so contacts include both recently emailed >> people AND anyone in an org contacts file. I think the following >> should have my contacts auto-fill from anyone in my org contacts >> file and anyone on any email within the last 30 days. But the >> mu4e-compose-complete-only-after does not seem to work. Am I doing >> something wrong? >> >> #+BEGIN_SRC emacs-lisp >> (setq mu4e-compose-complete-only-after >> (format-time-string "%Y-%m-%d" (time-subtract >> (current-time) >> (seconds-to-time (* 60 60 24 30))))) >> (setq org-contacts-files '("~/.contacts.org")) >> #+END_SRC >>
It seems you're trying to combine to separate things: mu/mu4e's built-in contact handling, and org-contacts. These days, I'd recommend using mu4e's built-in support, as I've found org-contact unusably slow when there are a lot of contacts -- ie., I tried with a contacts.org with 1000 or so contacts (using mu-guile to create it). Cheers, Dirk. -- Dirk-Jan C. Binnema Helsinki, Finland e:[email protected] w:www.djcbsoftware.nl pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C -- 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.
