Stephen J. Eglen
e559b6e732
Add --expr flag to constrain search when looking for duplicates
...
(mu:for-each-message ...) allows an optional expression to be passed
so that only messages matching that expression are searched when
looking for duplicates.
This patch adds a --expr flag so that e.g.
find-dups.scm --expr d:6m..3m
will reduce the range of messages to those between 3 and 6 months ago
to search for duplicates. I found this useful when using expressions
to find messages in a particular year, rather than searching the whole
database. This is often quicker and less worrying than searching the
whole database.
If --expr is not provided, expr should default to #t so that the whole
database is searched as before.
2016-07-25 20:52:27 +01:00
Jakub Sitnicki
739f020764
Update calls to mu:get-parts after name change
...
In commit 8e3fbe380e
mu:get-parts was renamed to mu:c:get-parts but
get-parts method was not updated. Fix it.
2016-03-05 18:55:14 +01:00
djcb
0041cd47ef
script: make find-dups a bit faster
...
'find-dups' was trying to call `mu remove' for each duplicate message it
removes. This can be quit slow, so simply delete a file. After dups have
been removed, run `mu index'.
2015-06-14 11:16:01 +03:00
djcb
7eb244b3b0
mu: don't use __FUNCTION__, use __func__
...
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is
standardized in c99.
2015-04-22 21:06:31 +03:00
Mark A. Hershberger
2aac8e43cb
guile: Add '--delete' option to find-dups.scm
...
Closes #592
Uses open-pipe* to ensure that escaping isn't needed (seen in md5sum)
since arguments are passed.
Also see this discussion: http://thread.gmane.org/gmane.lisp.guile.user/11777
Experimental feature... be careful.
2015-03-22 09:55:30 +02:00
Chen He
c6c93234fb
Fix build error in msgs-count.scm
...
mu:run-stats expects the passed-in function to take 3 arguments. The
third argument applies to gnuplot only, which is not applicable to the
count function in msgs-count.scm.
2014-12-07 16:29:14 -05:00
djcb
e954cb127b
* mu-guile: add example
2014-06-02 08:36:56 +03:00
djcb
dd83c235cb
guile: minor updates
2013-10-14 22:44:11 +03:00
djcb
a228429ee2
* guile: update command-line arguments in scripts
2013-10-09 23:27:00 +03:00
djcb
b7219aaf82
* guile: some update for the output format
2013-07-23 22:22:57 +03:00
djcb
bd4f109326
* mu-guile.texi: minor change; may fix compilation
2013-06-09 18:24:11 +03:00
djcb
47a63d2e8b
* cosmetics
2013-06-09 12:11:32 +03:00
djcb
05bfd23e4d
* guile: make running guile scripts a bit more convenient, document it
...
For example, you can now run a script like:
$ mu msgs-per-month --textonly --query=hello
2013-06-09 12:11:01 +03:00
djcb
d2dd0a8699
* guile: add find-dups script, to find duplicate messages
2013-06-07 14:20:44 +03:00
Chirantan Ekbote
c0fce88540
fix file size in test-mu-guile.scm changed by e97ec2d5
...
Signed-off-by: Chirantan Ekbote <chirantan.ekbote@gmail.com>
2013-05-28 22:46:09 -07:00
djcb
cbe595483f
* guile: update guile tests for slightly updated testcases
2013-05-15 00:18:05 +03:00
djcb
87e3c5d3f5
* cosmetic
2013-05-13 00:03:23 +03:00
djcb
1f24e224a9
* more more copyright year updates
2013-03-30 11:38:01 +02:00
djcb
855e81db99
* update copyright years
2013-03-30 11:32:07 +02:00
D. LoBraico
dc640728a3
* mu-guile: resets default term to wxt (accidentally changed to qt)
2013-03-18 17:46:21 -05:00
D. LoBraico
931a144387
* mu-guile: allow passing extra options to gnuplot in mu:plot-histogram
2013-03-18 17:45:11 -05:00
djcb
22e8ae76d7
* guile: add msgs-count script
2013-01-27 21:31:26 +02:00
djcb
f5f8d6de70
* mu_store_needs_upgrade --> mu_store_versions_match
2013-01-06 15:53:42 +02:00
djcb
d448003c09
* mu-guile-message.c: fix small leak
2012-12-23 15:23:54 +02:00
djcb
c5f8ea6451
* use AM_CPPFLAGS instead of INCLUDES
2012-12-22 22:54:50 +02:00
djcb
2f9dd78bb0
* add query flags (which match msgiterflags) to mu_query_run, update callers
2012-12-16 15:08:34 +02:00
djcb
241af50e97
* update / add testcases for string normalization
2012-12-09 13:34:16 +02:00
djcb
30f93663b0
* lib: do some more escaping of body text
2012-11-18 22:09:56 +02:00
djcb
49605bc86b
* guile: fix find-program-in-path
2012-11-03 11:46:52 +02:00
djcb
b370eb9bd3
* guile: update doc
2012-10-27 14:58:21 +03:00
djcb
4131506efb
* make mu:tabulate handle list values, add mu:top-n-most-frequent
...
- mu:tabulate will now add the values for lists (such as the mu recipient
fields) as separate values
- mu:top-n-most-frequent shows the <n> most frequent values
2012-10-27 14:58:11 +03:00
djcb
f71ff24753
* guile: rename mu:plot -> mu:plot-histogram
2012-10-27 14:43:35 +03:00
djcb
3bc3424809
* guile: small fix in script.scm
2012-10-23 20:58:11 +03:00
djcb
bc90df6c53
* cosmetics / minor
2012-10-23 20:29:24 +03:00
djcb
b0a60818a0
* guile: add mu:run-script
2012-10-22 23:14:39 +03:00
djcb
7463e41711
* guile: update the scripts
2012-10-22 23:14:05 +03:00
djcb
b16a42a48c
* guile: move scripts to scripts/ (from scripts/stats)
2012-10-22 20:26:32 +03:00
djcb
12eebbcc23
* mu: support description fields in stat scripts, some refactoring
2012-10-21 17:20:20 +03:00
djcb
37f51515ed
* fix guile / mu4e doc building
2012-10-20 15:49:53 +03:00
djcb
1565cf5b85
* fix `make distcheck'
2012-10-20 12:51:19 +03:00
djcb
1094b61c5b
* guile: some improvements to the manual
2012-10-20 12:17:19 +03:00
djcb
f0be196209
* guile/mu4e: refactor doc building a bit
2012-10-19 16:00:41 +03:00
djcb
c1828ab2c8
* guile: add support for scripts
2012-10-19 00:50:22 +03:00
djcb
6d19880ced
* guile: add a bunch of statistics scripts
2012-10-19 00:49:14 +03:00
djcb
578a4c7a54
* guile: install guile script
2012-10-17 23:37:30 +03:00
djcb
2551e77325
* guile: update some of the examples
2012-09-17 11:41:11 +03:00
djcb
0b32a63537
* guile: fix getting message bodies
2012-09-17 11:13:37 +03:00
djcb
a5dcd746be
* guile: don't use obsolete 'message' module anymore in examples/org2mu4e
2012-08-28 12:23:33 +03:00
djcb
38a2ee788b
* bump glib version to 2.24, make gtest stuff non-optional
...
(even ubuntu 10.04 comes with 2.24, so that should be conservative enough)
2012-08-11 18:48:48 +03:00
djcb
b3760740f8
* update for attachment checking changes
2012-08-09 11:45:46 +03:00