Previous: Installation, Up: Getting started   [Contents]


1.2 Making sure it works

Assuming mu-guile has been installed correctly (Installation), and also assuming that you have already indexed your e-mail messages (if necessary, see the mu-index man-page), we are ready to start mu-guile; a session may look something like this:

GNU Guile 2.0.5.123-4bd53
Copyright (C) 1995-2012 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)>

Now, copy-paste the following after the prompt:

(use-modules (mu))
(mu:initialize)
(for-each
    (lambda(msg)
       (format #t "Subject: ~a\n" (mu:subject msg)))
        (mu:message-list "hello"))

After pressing Enter, you should get a list of all subjects of messages that match hello:

...
Subject: RE: The Bird Serpent War Cataclysm
Subject: Hello!
Subject: Re: post-run tomorrow
Subject: When all is lost
...

If all this works, congratulations! mu-guile is installed now, ready to serve your every searching need!