Hi everyone,
This is Emacs adjacent, but sorry if its not enough.
In light of Yahoos increase in storage pricing (region dependent).
I have finally decided to move some emails from my Gmail into it (too late for my yahoo mail, Ive already deleted a huge chunk)
So Ive made offlineimap work (email syncing). But the Emacs part, which is mu4e produces this error.
Im struggling to install matching mu and mu4e
According to sources, you only need to install mu4e and the matching mu is installed. but its not working coz I got this error
Debugger entered--Lisp error: (error "Eager macro-expansion failure: (error \"Misplaced t...")
error("Eager macro-expansion failure: %S" (error "Misplaced t or ‘otherwise’ clause"))
Another option I might try is cloning from https://github.com/djcb/mu , and I know how to avoid that specific dependency problem by switching to specific commits which lets me use the old libraries, 1 i think is glibc (Sorry, Im reluctant to move to Ubuntu 24 from 22, Im using Thinkpad T440 Intel i5-4300U, its probably fine, but a bit afraid of breaking changes).
Maybe you guys have faced similar situation, and finally moved to Ubuntu 24, or maybe a simpler solution that I cant see but its right in front of me
UPDATE:
what produced the error is actually (require 'mu4e)
After some confusion of installing of which comes from which (mu is from maildir-utils), I had to reinstall mu4e and maildir-utils just to make sure.
in the end, mu4e and mu through Ubuntu apt didnt work. so instead we cloned from https://github.com/djcb/mu and switch to specific commit (as more latest one will trigger glibc errors).
basically installing mu and mu4e version 1.12 (instead of the 1.6 version that came with Ubuntu 22 package manager) will solve the the (require 'mu4e) error. Even though the packages match, 1.6 was not enough.
(what a confusing mess, for me at least. In the Github repo, mu4e is shipped with mu, so installing mu is enough. The package manager on the other hand, also installs mu (which is itself under maildir-utils) if we do a sudo apt install mu4e)
There were also some confusion, in installing meson, I spent way too long on that little problem. Turns out, python3-pip was needed, since I havent made substantial Python project for a long while, I had no idea how Python installation is supposed to work (I was also paranoid about system Python years ago, that my global Python is not the system default, my global Python managed by pyenv, some trick called shim, and its not the same as virtual environment, what a confusing mess I made)
make sure u know where mu4e is installed, since its a Emacs package, its going to be under some site-lisp directory under Emacs. Since I have 2 Emacs version installed at different locations, and my user-emacs-directory is under a custom location, I got literally confused.