On 2014-05-14 at 00:10, Dirk-Jan C. Binnema <[email protected]> wrote:
> On Wednesday May 07 2014, Ken Mankoff <[email protected]> wrote:
>>>
>>> #+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).

Advice heard. And it seems mixing the two will lead to problems. But I'd
really rather control my address book, and I realize the script that
generates my contacts.org can use 

mu cfind --format=org-contact --after=`date -v-30d +%s`

to add recent emails too. The best of both worlds, and it is <1000 and
should perform fine.

But it seems that mu4e is still using recent emails not in my
contacts.org. I set

(setq mu4e-compose-complete-only-after "2020-01-01")

so it won't search for any, but it still auto-completes emails that are
not in contacts.org

Is there a way to disable mu4e from using "mu cfind"?

  -k.

-- 
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