rougier / mu4e-dashboard

A dashboard for mu4e (mu for emacs)
GNU General Public License v3.0
467 stars 43 forks source link

Error if I read mail from mu4e-dashboard without first running mu4e #52

Closed rhstanton closed 6 months ago

rhstanton commented 7 months ago

If I run mu4e-dashboard without first running mu4e, the dashboard page opens fine. But if I click to run one of the searches, I get an error like:

Debugger entered--Lisp error: (void-function nil)
  nil(500)
  mu4e--server-filter(#<process  *mu4e-server*> "\376b\377(:erase t)\n\37620aa7\377(:headers ((:path \"/Users/sta...")

All works fine as long as I've run mu4e first.

rougier commented 6 months ago

You should use something like

(with-eval-after-load 'mu4e     (require 'mu4e-dashboard))

in your emacs.d config.