djcb / mu

maildir indexer/searcher + emacs mail client + guile bindings
http://www.djcbsoftware.nl/code/mu
GNU General Public License v3.0
1.59k stars 384 forks source link

[mu4e bug] (void-function mu4e-clear-caches) #2673

Closed gour closed 3 months ago

gour commented 3 months ago

Hello,

attempt to reply to a certain message results in:

Debugger entered--Lisp error: (void-function mu4e-clear-caches)
  (mu4e-clear-caches)
  (lambda nil (mu4e-clear-caches))()
  #<subr mu4e-context-switch>(nil "gmail")
  mu4e-alert--context-switch(#<subr mu4e-context-switch> nil "gmail")
  apply(mu4e-alert--context-switch #<subr mu4e-context-switch> (nil "gmail"))
  mu4e-context-switch(nil "gmail")
  mu4e--context-autoswitch((:path "/home/gour/Maildir/gmail/inbox/cur/1711385507.2984..." :size 177110 :changed (26117 8727 0) :date (26113 43333 0) :from ((:email "marina.vrkljan-novacic@triglav.hr" :name "Marina Vrkljan-Novačić")) :language "hr" :message-id "VI1PR01MB702274F432C913A499E24228BF362@VI1PR01MB70..." :priority normal :subject "2024/3319 - ponuda nagodbe" :to ((:email "sjaniska@gmail.com" :name "sjaniska@gmail.com")) :maildir "/gmail/inbox" :flags (replied seen attach personal) :docid 40932 :meta (:path "2c:z" :level 0 :date "n66052175" :data-tstamp (0 0 0) :root t :has-child t :thread-subject t)) nil)
  mu4e--compose-setup(reply #f(compiled-function (parent) #<bytecode 0x1fe9e883fdcc5a68>))
  mu4e-compose-reply()
  funcall-interactively(mu4e-compose-reply)
  command-execute(mu4e-compose-reply)

It's reproducible, even after mu init --reinit. I'm using Emacs-29.3 with mu-1.12.2 on openSUSE Tumbleweed (kernel 6.8.1)

djcb commented 3 months ago

That function is marked as obsolete (in mu4e-obsolete), but doesn't have an alias; I'll add that soon. In any case, you can just remove the call to mu4e-clear-caches from your configuration.

gour commented 3 months ago

That function is marked as obsolete (in mu4e-obsolete), but doesn't have an alias; I'll add that soon. In any case, you can just remove the call to mu4e-clear-caches from your configuration.

Ahh, that was residue from the old configuration. Totally forgot about it....Thank you!