From a084946f1a2ef37c9a0552251f4e2848b35f5a48 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Sun, 14 May 2023 18:01:41 +0100 Subject: [PATCH] Handle special case for finding mu4e on bedrock linux --- config.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.org b/config.org index ca912c3..8da7988 100644 --- a/config.org +++ b/config.org @@ -1385,6 +1385,17 @@ (require 'mu4e) #+end_src + On Bedrock linux, Mu4e can't the =mu= binary as it's not in a + standard location. The location can be specified explicitly by + setting [[help:mu4e-mu-binary][mu4e-mu-binary]]. To check whether we're on Bedrock, we'll see + if the =brl= program is available, as =uname= will just yield + whichever distro bedrock booted from. + + #+begin_src emacs-lisp + (when (< 0 (length (shell-command-to-string "which brl"))) + (setq mu4e-mu-binary "/bedrock/cross/bin/mu")) + #+end_src + The folder archived mail gets saved into is determined by [[help:mu4e-refile-folder][mu4e-refile-folder]]. I prefer to have archived mail stored on the remote since then it's accessible from every machine. The default is