* guile: rename mu:plot -> mu:plot-histogram

This commit is contained in:
djcb
2012-10-27 14:43:35 +03:00
parent 32c0173b4e
commit f71ff24753
6 changed files with 30 additions and 8 deletions

View File

@ -31,7 +31,7 @@ exec guile -e main -s $0 $@
"Count the total number of messages for each weekday (0-6 for
Sun..Sat) that match EXPR. If PLAIN-TEXT is true, use a plain-text
display, otherwise, use a graphical window."
(mu:plot
(mu:plot-histogram
(mu:weekday-numbers->names
(sort (mu:tabulate
(lambda (msg)

View File

@ -31,7 +31,7 @@ exec guile -e main -s $0 $@
"Count the total number of messages for each weekday (0-6 for
Sun..Sat) that match EXPR. If PLAIN-TEXT is true, use a plain-text
display, otherwise, use a graphical window."
(mu:plot
(mu:plot-histogram
(sort
(mu:tabulate
(lambda (msg)

View File

@ -31,7 +31,7 @@ exec guile -e main -s $0 $@
"Count the total number of messages for each weekday (0-6 for
Sun..Sat) that match EXPR. If PLAIN-TEXT is true, use a plain-text
display, otherwise, use a graphical window."
(mu:plot
(mu:plot-histogram
(mu:month-numbers->names
(sort
(mu:tabulate

View File

@ -31,7 +31,7 @@ exec guile -e main -s $0 $@
"Count the total number of messages for each weekday (0-6 for
Sun..Sat) that match EXPR. If PLAIN-TEXT is true, use a plain-text
display, otherwise, use a graphical window."
(mu:plot
(mu:plot-histogram
(sort (mu:tabulate
(lambda (msg)
(string->number

View File

@ -31,7 +31,7 @@ exec guile -e main -s $0 $@
"Count the total number of messages for each weekday (0-6 for
Sun..Sat) that match EXPR. If TEXT-ONLY is true, use a plain-text
display, otherwise, use a graphical window."
(mu:plot
(mu:plot-histogram
(sort (mu:tabulate
(lambda (msg)
(+ 1900 (tm:year (localtime (mu:date msg))))) expr)