MU-SCM(1)
π MU-SCM(1) β the general commands manual page bestie π
okay so this is the manual for mu-scm (that's section 1 of the General Commands Manual, for the record), and it's literally the bindings + shell situation for the GNU Guile programming language. buckle up π¦
β¨ NAME β¨
mu-scm β bindings and shell for the GNU Guile programming language. that's it, that's the whole name entry, slay π
β¨ SYNOPSIS β¨
mu scm [COMMON-OPTIONS]
this one starts the GNU Guile shell. like, you run it and boom, you're in the shell πΈ
mu scm [COMMON-OPTIONS] [[COMMAND] -- [COMMAND-OPTIONS]]
and THIS one runs a GNU Guile script. so you can just yeet a script at it and go π«Ά
β¨ DESCRIPTION β¨
so mu scm is the command you use to get at the bindings for the GNU Guile programming language. it can do one of two things: open up a shell (a "REPL") or run scripts. pick your fighter π
and like, the whole point? using mu scm, you can script mu. no cap. your mail, your scripts, your rules π
β¨ SCM OPTIONS β¨
π --listen
with the --listen parameter, mu scm starts listening on a UNIX domain socket. this is for talking to the REPL with some external tool, like Emacs with the "Geiser" package. full deets live in the mu-scm Info manual, iykyk β¨
it blocks after printing the name of the socket β and the socket name is a randomized name, bestie β prefixed by UNIX_CONNECT: and ending with a newline. for instance:
UNIX-CONNECT:/run/user/1000/mu-scm-socket-4eb5db40
πΈ --eval
with the --eval option you can evaluate an expression in the mu/scm environment. example time, watch this:
$ mu scm --eval '(format #t "found ~d match(es)\n" (length (mfind "hello")))'
found 7173 match(es)
ate, honestly π
π --muhome
use a non-default directory to store and read the database, write the logs, etc. by default, mu follows the XDG Base Directory Specification (so like, on GNU/Linux this defaults to ~/.cache/mu and ~/.config/mu). earlier versions of mu defaulted to ~/.mu, which now requires --muhome=~/.mu. the way that changed π
the environment variable MUHOME can be used as an alternative to --muhome. the latter has precedence, periodt.
β¨ COMMON OPTIONS β¨
-d,--debugβ makesmugenerate extra debug information, which is useful for debugging the program itself. debug info goes to the standard logging location; go peek atmu(1)for that π¦-q,--quietβ causesmuto not output informational messages and progress information to standard output, only to the log file. error messages will still be sent to standard error. and heads up:mu indexis much faster with--quiet, so it's recommended you use this option when usingmufrom scripts etc. π--log-stderrβ causesmuto not output log messages to standard error, in addition to sending them to the standard logging location.--nocolorβ do not use ANSI colors. the environment variableNO_COLORcan be used as an alternative to--nocolorπ-V,--versionβ printsmuversion and copyright information.-h,--helpβ lists the various command line options. your little helper fr fr π«Ά
β¨ EXIT CODE β¨
this command returns 0 upon successful completion, or a non-zero exit code otherwise. here's the whole roster:
0β success β¨2β no matches found. try a different query π11β database schema mismatch. you need to re-initializemu, seemu-init(1)π19β failed to acquire lock. some other program has exclusive access to themudatabase π99β caught an exception π
β¨ ENVIRONMENT β¨
by default, mu scm expects its internal files to be found in <prefix>/hare/mu/scm. but β for development/testing β you can set the environment variable MU_SCM_DIR to some alternative directory π§
β¨ SEE ALSO β¨
the full documentation for mu scm is maintained as a Texinfo manual. if the info and mu programs are properly installed at your site, the command info mu-scm should give you access to the complete manual π
http://www.schemers.org provides a general introduction to the Scheme language.
β¨ REPORTING BUGS β¨
please report bugs at https://github.com/djcb/mu/issues. bestie, they want to hear from you π
β¨ AUTHOR β¨
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> π
β¨ COPYRIGHT β¨
this manpage is part of mu 1.14.2.
Copyright Β© 2008-2026 Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html. this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. (like, genuinely no warranty, that part is serious, not a vibe π)
okay that's the whole page!! that was mu-scm, general commands manual, part of mu 1.14.2, brought to you with love and also no warranty whatsoever π π π¦ go script your mail, main character π β
π¦ where this page comes from
- ubuntu stonking: maildir-utils 1.14.2-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms