Commit Graph

27 Commits

Author SHA1 Message Date
606f4be74b guile: Fix the mu:body message method
Somewhere along the way, the body-txt and body-html fields were merged
into a single body field. Later, commit 8eac392221 ("guile: re-enable
the guile support") finally removed support for Field::Id::BodyHtml from
mu:c:get-field.

Unfortunately mu.scm and the documentation are still stuck in the past, so
update them. mu:body-txt is now a synonym for mu:body, and mu:body-html
always returns #f.

I wanted to add a mu:body test also for the rfc822.1 message, but there's
currently a bug where its body text is is duplicated (issue #2802), so the
test would fail.
2025-01-04 20:51:14 -03:00
e416a5215f autotools: remove
Since 2008, autotools has served us well - thank you!

However, mu is now using meson build, and it's time to remove the
autotools support -- one build system is enough.
2022-08-20 11:19:29 +03:00
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
1f24e224a9 * more more copyright year updates 2013-03-30 11:38:01 +02:00
2551e77325 * guile: update some of the examples 2012-09-17 11:41:11 +03:00
a5dcd746be * guile: don't use obsolete 'message' module anymore in examples/org2mu4e 2012-08-28 12:23:33 +03:00
8abe211a58 * guile: make sure the examples still work 2012-07-14 12:46:42 +03:00
c2676540d0 * guile: some internal improvements 2012-07-12 15:46:19 +03:00
60ea579135 * guile: add mu-biff example, to find new mail 2012-07-10 23:57:14 +03:00
e87b5fd248 * guile: add format 'quoted' to contacts, use it in the example script 2012-06-06 08:17:24 +03:00
1bbca9e1eb * small fixes in address generation, mu:contact->string 2012-05-04 14:52:45 +03:00
27cc5cea62 * guile/examples/msg-graphs: show years correctly in graphs, add year-month period 2012-04-28 23:03:22 +03:00
dec4ce8181 * fix contacts-export, msg-graphs 2012-01-22 11:44:52 +02:00
3ea8b1fe8c * guile: fix logic inversion in plot generation 2012-01-22 11:03:47 +02:00
c3de1bdb1a * guile/examples: use EXTRA_DIST, not noinst_DIST 2012-01-22 10:49:43 +02:00
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
f386e2bd26 * update guile examples 2012-01-15 14:36:09 +02:00
ece8d795e3 * rename msg-stats => msg-graphs 2012-01-15 14:33:22 +02:00
bb20ad375e * guile: update examples 2012-01-09 08:23:56 +02:00
261e9dff28 * mu-guile: make the examples work after mu:initialize api changes 2012-01-07 18:42:19 +02:00
f476eac4f0 msg-stats: update for mu-guile changes, remove unneeded stuff 2012-01-01 22:47:40 +02:00
46e002a4fa * guile cleanup/overhaul (WIP) 2012-01-01 18:17:29 +02:00
b5e2f1c14a * guile support cleanup (WIP) 2011-12-30 12:36:59 +02:00
aa9b831682 * some renaming in guile/ 2011-12-23 16:48:12 +02:00
c8c1b74c8a * add an example guile script for querying contacts (WIP) 2011-12-23 00:38:19 +02:00
9bf904bd9f * mu-msg-stats: support cmdline arguments, --muhome etc. 2011-12-20 23:44:26 +02:00
71b01c6ff2 * added an example guile script 2011-12-14 09:12:10 +02:00