* small updates for guile 1.x compatibility (WIP)
This commit is contained in:
@ -19,8 +19,8 @@
|
||||
|
||||
The git-version and the future 0.9.7 version of mu will automatically build
|
||||
muile if you have guile. I've been using guile 2.x from git, but installing
|
||||
the 'guile-1.8-dev' package (Ubuntu/Debian) should do the trick (I did not
|
||||
test with 1.8 though).
|
||||
the 'guile-1.8-dev' package (Ubuntu/Debian) should do the trick. (I only did
|
||||
very minimal testing with guile 1.8 though).
|
||||
|
||||
Then, configure mu. The configure output should tell you about whether guile
|
||||
was found (and where). If it's found, build mu, and toys/muile should be
|
||||
@ -100,7 +100,7 @@
|
||||
the file 'mu-stats.scm':
|
||||
|
||||
,----
|
||||
| (load "mu-stats.scm)
|
||||
| (load "mu-stats.scm")
|
||||
`----
|
||||
|
||||
you'll get a bunch of functions (with names starting with 'mu:stats') to make
|
||||
|
||||
@ -19,8 +19,11 @@
|
||||
;; some guile/scheme functions to get various statistics of my mu
|
||||
;; message store.
|
||||
|
||||
(use-modules (ice-9 optargs)) ;; for guile 1.x compatibility
|
||||
|
||||
|
||||
;; note, this is a rather inefficient way to calculate the number; for
|
||||
;; demonstration purposes only
|
||||
;; demonstration purposes only...
|
||||
(define* (mu:stats:count #:optional (EXPR ""))
|
||||
"Count the total number of messages. If the optional EXPR is
|
||||
provided, only count the messages that match it.\n"
|
||||
|
||||
Reference in New Issue
Block a user