Commit Graph

25 Commits

Author SHA1 Message Date
Piyush c4e037c16f Fix handling of --text option in `msg-graphs' example
The previous implementation of `msg-graphs` called `mu:plots/mu:plot` with
output set to `#t` when the option `--text` was passed.  This caused an error in
the `string-append` call in `mu:plot` since the expression `(or output "dumb")`
evaluated to the symbol `#t` rather than a string.

This commit fixes this by making sure that `mu:plot` is called with `output` set
to `"dumb"` when the option `--text` is passed to `msg-graphs`, and with
`output` set to `"wxt"` (the default multi-platform graphical output device in
`gnuplot`) otherwise.  This is done by essentially making the code of
`msg-graphs` agree with the plotting code in the `guile/scripts` directory.
2019-05-11 14:46:30 +05:30
djcb 1f24e224a9 * more more copyright year updates 2013-03-30 11:38:01 +02:00
djcb 2551e77325 * guile: update some of the examples 2012-09-17 11:41:11 +03:00
djcb a5dcd746be * guile: don't use obsolete 'message' module anymore in examples/org2mu4e 2012-08-28 12:23:33 +03:00
djcb 8abe211a58 * guile: make sure the examples still work 2012-07-14 12:46:42 +03:00
djcb c2676540d0 * guile: some internal improvements 2012-07-12 15:46:19 +03:00
djcb 60ea579135 * guile: add mu-biff example, to find new mail 2012-07-10 23:57:14 +03:00
djcb e87b5fd248 * guile: add format 'quoted' to contacts, use it in the example script 2012-06-06 08:17:24 +03:00
djcb 1bbca9e1eb * small fixes in address generation, mu:contact->string 2012-05-04 14:52:45 +03:00
djcb 27cc5cea62 * guile/examples/msg-graphs: show years correctly in graphs, add year-month period 2012-04-28 23:03:22 +03:00
djcb dec4ce8181 * fix contacts-export, msg-graphs 2012-01-22 11:44:52 +02:00
djcb 3ea8b1fe8c * guile: fix logic inversion in plot generation 2012-01-22 11:03:47 +02:00
djcb c3de1bdb1a * guile/examples: use EXTRA_DIST, not noinst_DIST 2012-01-22 10:49:43 +02:00
djcb d1857355c4 * add org2mu4e example script
script export query results to org-mode links to the messages (in mu4e)
2012-01-21 14:20:07 +02:00
djcb f386e2bd26 * update guile examples 2012-01-15 14:36:09 +02:00
djcb ece8d795e3 * rename msg-stats => msg-graphs 2012-01-15 14:33:22 +02:00
djcb bb20ad375e * guile: update examples 2012-01-09 08:23:56 +02:00
djcb 261e9dff28 * mu-guile: make the examples work after mu:initialize api changes 2012-01-07 18:42:19 +02:00
djcb f476eac4f0 msg-stats: update for mu-guile changes, remove unneeded stuff 2012-01-01 22:47:40 +02:00
djcb 46e002a4fa * guile cleanup/overhaul (WIP) 2012-01-01 18:17:29 +02:00
djcb b5e2f1c14a * guile support cleanup (WIP) 2011-12-30 12:36:59 +02:00
djcb aa9b831682 * some renaming in guile/ 2011-12-23 16:48:12 +02:00
djcb c8c1b74c8a * add an example guile script for querying contacts (WIP) 2011-12-23 00:38:19 +02:00
djcb 9bf904bd9f * mu-msg-stats: support cmdline arguments, --muhome etc. 2011-12-20 23:44:26 +02:00
djcb 71b01c6ff2 * added an example guile script 2011-12-14 09:12:10 +02:00