Hi all!
I've just released mu 1.12.13, a good time for discussing the changes in
this one, and a little bit before. All user-level changes in NEWS.org,
with when they appeared (in the 1.12 series).
So what's new?
* Labels
1.12.13 has a new, experimental feature: *labels*. Labels are similar to
the existing "tags", but better integrated with both mu and mu4e,
You can search for message with a given label using 'label:', e.g
$ mu find label:tupperware
Or add/remove labels, e.g., remove the label "planet" and add the label
"dwarf-planet" to all messages that have "pluto" in their subject:
$ mu labels update "subject:pluto" --labels -planet,+dwarf-planet
Clear all labels from messages with the label "boring":
$ mu labels clear "label:boring"
Labels are only stored in mu's database, and do not write to the message
file themselves. I.e., when you remove your database, your labels are
gone. However, you can use the `mu labels export` and `mu labels import`
to save/restore them; see the mu-labels(1) man-page for details.
In mu4e, you can do the same using `mu4e-headers-mark-for-label` (bound
to `l`) and clearing with `mu4e-headers-mark-for-unlabel` (bound to
'L').
I.e., mark some messages (or the current one by default), and in the
headers-buffer type
l -planet +dwarf-planet RET
This works similar to the other marks.
There's autocompletion as well, both for search (label:) and marking
(after +/-)
It's experimental (don't base your billion-dollar startup on this just
yet), but it seems quite useful so far.
See the `mu-labels` man-page for further details.
* SCM
With 1.12.12, mu gained new Guile/Scheme bindings (under scm/), which
are to replace the long-deprecated bindings in guile/. I think the new
bindings areae vast improvement; and they are fully documented in their
own manual.
1.12.13 has some further improvements; operations are much faster
(algorithmically). Also, the "glue" was added to interact with Emacs and
the "geiser" package, either with or without mu4e.
For the "plain Emacs" integration, see the Mu-SCM documentation,
section `Hooking up with GNU/Emacs and Geiser'.
For the mu4e integration, see the chapter `Using mu's SCM/Guile
integration' in the mu4e reference manual; or check the
`mu4e-mu-scm-server' configuration variable and the `mu4e-mu-scm-repl'
command.
Future versions will add more, and start answering questions like "Why
would I even want SCM bindings?!" :-)
* Building
- by default, tests are built 'lazily', i.e., only when running tests;
this speeds up the build considerably for people that don't want to
run tests (there's also -Btest=disabled of course)
- when available/found, mu now (by default) uses the system versions of
CLI11 and libfmt, rather than mu's "vendored" versions.
You can influence where the build system (i.e., meson) looks through
the `PKG_CONFIG_PATH` environment variable (see the pkg-config/pkgconf
man-pages), and you can disable
Kind regards,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036