summaryrefslogtreecommitdiff
path: root/mu
AgeCommit message (Collapse)Author
2026-04-07mu-move: default to using old flagsDirk-Jan C. Binnema
And update tests as well.
2026-03-07mu/lib: fix some possible quoting issuesDirk-Jan C. Binnema
2026-03-07scm: support --evalDirk-Jan C. Binnema
With the ~--eval~ option you can evaluate an expression in mu/scm environment. For example: $ mu scm --eval \ '(format #t "found ~d match(es)\n" (length (mfind "hello")))' found 7173 match(es) Add command-line parameter and implement.
2025-12-15mu-labels: improve command-line handlingDirk-Jan C. Binnema
Esp., better handle the 'no subcommand' case: give the user some more useful help.
2025-11-25improve invoking external commandsDirk-Jan C. Binnema
- don't make assumptions on where programs live (i.e., /bin/sh, /bin/rm, /bin/mv) are not universal - dont invoke shell when unnecessary - improve error-handling
2025-11-01logging: don't g_message with --quietDirk-Jan C. Binnema
When `--quiet` is passed (and not --debug), do not log with g_message at startup.
2025-09-08rename 'mu label' -> 'mu labels'Dirk-Jan C. Binnema
Update names, docs etc.
2025-09-02mu: refactor labels codeDirk-Jan C. Binnema
Split labels-cache and store-labels.
2025-09-02labels: allow restoring cache-mapDirk-Jan C. Binnema
E.g. with unexpected termination for mu it is possible that the labels-cache (i.e., the one that is used for auto-completion) gets disconnected from reality. Add a --restore option to `mu label list` to restore the actual labels from the labels seen in the store.
2025-09-01mu-label: no counts in list unless verboseDirk-Jan C. Binnema
2025-08-31mu: cmd-label: cosmeticsDirk-Jan C. Binnema
2025-08-25mu: improve command helpDirk-Jan C. Binnema
2025-08-25scm: clean up scm runningDirk-Jan C. Binnema
Split run_script / run_repl more clearly; update callers.
2025-08-24mu: add --listen option for serverDirk-Jan C. Binnema
Add a --listen option for the server Rework the option code to share the --listen / socket-path code between scm and server subcommands. Move option off the stack in mu.cc, seems it's too big, at least when using gdb.
2025-08-24scm: implement blocking / non-blocking modesDirk-Jan C. Binnema
Implement running the REPL on background thread. That way, we can _share_ the store&.
2025-08-17scm: support --listen flag for udsDirk-Jan C. Binnema
Support the --listen flag to mu scm, to start listening on a Unix domain socket.
2025-08-16labels: refactor import/export to mu-store-labelsDirk-Jan C. Binnema
Move the import/export code to 'lib'.
2025-08-16labels: ensure c++17 compatibilityDirk-Jan C. Binnema
This broke the build earlier.
2025-08-15mu: add 'label' command + manpage + testsDirk-Jan C. Binnema
Add a label command and document it.
2025-08-15tests: only build when neededDirk-Jan C. Binnema
Build the tests lazily, i.e., not before `meson test`. This helps with build-times.
2025-07-27utils: refactor count_nl from mu-cmd-findDirk-Jan C. Binnema
And update users. Please enter the commit message for your changes. Lines starting
2025-07-24cli11: prefer system package if foundDirk-Jan C. Binnema
mu embeds a "vendored" version of libcl11 under thirdparty/; but it's better to use the system-package if the user has one. So, use the system package if found or user -Duse-embedded-cli11=true is specified.
2025-07-24mu-cmd: load mu-scm.hh only with BUILD_SCMDirk-Jan C. Binnema
We don't want/need it otherwise, and in fact it triggers build failures when guile (but not scm) is enabled. Fixes #2861.
2025-06-30mu-scm: add options, some tweaksDirk-Jan C. Binnema
Add the (options) procedure + docs. Some internal tweaks / clean-ups.
2025-06-24build: better handle non-guile buildDirk-Jan C. Binnema
2025-06-19scm: new guile/scheme bindingsDirk-Jan C. Binnema
This implements the new scm/guile bindings for mu, to replace the deprecated guile/ (at some point in the future). For now, we allow for creating a guile shell with mu support.
2025-06-16mu: add 'scm' commandDirk-Jan C. Binnema
Add the "scm" command, the way to get a Guile/Scheme shell. This is experimental but will replace the current guile support in guile/ at some point.
2025-06-10mu-cfind/contacts-cache: refactor matching in for_eachDirk-Jan C. Binnema
Move some of the code in from the command-line tool to contacts-cache, for possible re-use. Clean up a bit while doing so.
2025-05-31mu-cmd: update docstringsDirk-Jan C. Binnema
2025-05-24message: retain non-file flags when movingDirk-Jan C. Binnema
The content-flags won't change, and the unread-flag can be re-calculated. Add a unit test, and some small doc improvements. Fixes #2831.
2025-05-24mu: rename --my-address into --personal-addressDirk-Jan C. Binnema
This makes things a bit more uniform with all the places where we use "personal". --my-address remains as an alias for the command-line option. Add unit test. Resolves #2806.
2025-03-23mu-find: implement format=json2Dirk-Jan C. Binnema
Implement a new experimental json2 format for mu-find, which gets rid of the ":" prefixes for fields, i.e., "subject" instead of ":subject". Document it as well.
2025-01-20mu-find: use correct summary-lenDirk-Jan C. Binnema
2024-12-09options: do not canonicalize maildir-pathDirk-Jan C. Binnema
This doesn't play well with shells that don't expand options (such as bash) in combination with "ExpandPath". Fixes #2793.
2024-12-04mu-find: insist on --linksdir for linksDirk-Jan C. Binnema
Fixes #2790.
2024-11-30fields: make combi-fields introspectableDirk-Jan C. Binnema
And add the display of combination-fields to 'mu info fields'.
2024-11-26search: make references searchableDirk-Jan C. Binnema
Allow searching for message that have the given message-id in References: or Reply-To:
2024-09-25mu-info: fix typoDirk-Jan C. Binnema
2024-08-06Canonicalize init --maildir argument after expandingRasmus Buurman
Ensure that `maildir` is an absolute and _canonical_ path when user passes a custom maildir path using `mu init --maildir PATH`
2024-06-05store-worker: temporarily revertDirk-Jan C. Binnema
Of course, after merging some problems come up. Let's fix those first. This reverts commit f2f01595a51380ae38aafb4cd11a0d3c17a33a10.
2024-06-03server: pass sexp-commmands through store workerDirk-Jan C. Binnema
To ensure all Xapian rw commands happen in the same thread.
2024-05-01lib: centralize xapian include, enable move semanticsDirk-Jan C. Binnema
Only include xapian.h in one place, so we can have consistent options. With that in place, we can enable C++ move semantics. We don't do anything with that yet, but we check in the meson.build file to see if we have the required xapian version.
2024-04-21compat: include sys/wait.h where neededDirk-Jan C. Binnema
netbsd needs this explicitly, other systems let us get away without it.
2024-04-19mu-move: remove debug printFrank Benkstein
2024-04-05mu: add --reindex option for mu indexDirk-Jan C. Binnema
I.e. without having to reinit explicitly.
2024-04-02mu-contact: move email validation to contacts cacheDirk-Jan C. Binnema
So we can be sure the regexp is initialized. This _may_ help for https://bugzilla.opensuse.org/show_bug.cgi?id=1221861 though it is very hard to tell!
2024-03-01tests: add some very basic CLD2_TESTDirk-Jan C. Binnema
just to check if it works at all; no need to check cld2 at all.
2024-02-26mu-init: insist that --maildir is absoluteDirk-Jan C. Binnema
2024-01-06tests: move to tests/, make optionalDirk-Jan C. Binnema
While not recommended, sometimes it can be useful to disable building the unit tests. This can be done now with meson -Dtests=disabled build
2024-01-01mu-init: guess maildir when --maildir is missingDirk-Jan C. Binnema
Re-instate the guessing that's in the manpage. Add unit tests. Update documentation. Fixes #2616.