Commit Graph

299 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 976266631c man: update query manpage 2023-09-12 21:35:47 +03:00
Dirk-Jan C. Binnema 264bb092f0 support xapian ngrams
Xapian supports an "ngrams" option to help with languages/scripts
without explicit wordbreaks, such as Chinese / Japanese / Korean.

Add some plumbing for supporting this in mu as well. Experimental for
now.
2023-09-09 17:26:20 +03:00
Dirk-Jan C. Binnema f6122ecc9e mu-find: add --analyze option
For analyzing queries with the new query-parser.
2023-09-09 11:59:59 +03:00
Dirk-Jan C. Binnema a9bd6e69d3 lib: implement new query parser
Implement a new query parser; the results should be very similar to the
old one, but it adds an Sexp middle-representation, so users can see how
a query is interpreted.
2023-09-09 11:59:59 +03:00
Jeremy Sowden f56530d96a man: fix rendering of form-feed in mu-view.1
ox-man exports the string:

  \\f (=form-feed=)

as:

  $\(\fIform\-feed\fP)

Troff then complains:

  troff:tmp/usr/share/man/man1/mu-view.1:28: warning: special character '\f' not defined

and renders it as:

  $Iform-feed)

Insert a zero-width space character (U+200B) between the \\ and the f.
This causes the string to be exported as:

   \\​f (\fIform\-feed\fP)

which troff renders correctly.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2023-08-19 12:31:43 +01:00
Jeremy Sowden 0763d5d92b man: correct spelling error in mu.1
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2023-08-19 12:00:22 +01:00
Jeremy Sowden 671a958085 man: fix formatting of some man-page references
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2023-08-19 12:00:21 +01:00
Dirk-Jan C. Binnema fa2ceec4ae man: add performance notes to find/index/server manpages 2023-08-06 16:19:43 +03:00
Dirk-Jan C. Binnema 924bb2145e mu-server: implement temp-file optimization
It can be faster to feed big mu -> mu4e data, such as contacts are
message headers through a temp-file instead directly though stdout;
implement this, and add the server parameter --allow-temp-file.

Implement this the "contacts" and "find" commands.
2023-08-04 00:09:02 +03:00
Dirk-Jan C. Binnema b91272aca2 mu-mkdir manpage: small fix 2023-08-03 19:49:39 +03:00
Dirk-Jan C. Binnema 30b0209f8d mu-info: add 'topic mu' information; improve manpage
Show some more runtime information in the 'mu' topic, and make that the
default. Update manpage.
2023-07-26 19:09:18 +03:00
Dirk-Jan C. Binnema 3337c9babb mu-view: add --format=html
Support showing the HTML body (if any) instead of the default plain-text
body.

Update manpage.
2023-07-23 21:04:26 +03:00
Dirk-Jan C. Binnema b08fe636f3 man: update mu mkdir manpage 2023-07-19 08:48:57 +03:00
Dirk-Jan C. Binnema f3c303106d man: update mu-index manpage 2023-07-18 23:14:25 +03:00
Dirk-Jan C. Binnema 66e113ef2a man: mu-init: document --max-message-size and --batch-size
They were missing.
2023-07-16 13:19:35 +03:00
Dirk-Jan C. Binnema d96e9cc4ba mu-info: improve docs; better colors 2023-07-06 19:13:14 +03:00
Dirk-Jan C. Binnema 9004363aa5 cli: merge 'fields' with 'info' command
Update the 'info' command to handle 'fields' as well; remove
fields.
2023-07-05 20:39:47 +03:00
Dirk-Jan C. Binnema 8fdbe95527 man: small improvements 2023-07-02 11:17:55 +03:00
Dirk-Jan C. Binnema c4b5795328 cli: support --ignored-address for init command
Allow for skipping unwanted addresses (such as 'noreply') from the
contacts cache.
2023-07-02 10:00:40 +03:00
Dirk-Jan C. Binnema fee95e1010 man: update documentation (language detection) 2023-05-11 23:29:05 +03:00
Dirk-Jan C. Binnema 9544473e35 mu extract/view/verify: allow reading message from stdin
Fixes #1463.
2023-04-30 10:35:28 +03:00
Dirk-Jan C. Binnema 0ab2371c5c mu-cfind: re-enable --after option
It was still there, but disabled.

Fixes #2470.
2023-04-08 20:48:46 +03:00
Dirk-Jan C. Binnema ff08731298 mu: add --uncooked option for mu extract
To avoid replacing spaces with dashes

Fixes #2434.
2023-02-23 20:23:25 +02:00
Dirk-Jan C. Binnema 4449ac9d29 man: improve exit code descriptions 2023-01-29 15:38:06 +02:00
Dirk-Jan C. Binnema e21d59e346 mu init: implement --reinit option
Create new mu database from an existing one.
2023-01-29 13:40:40 +02:00
Dirk-Jan C. Binnema dcc1b9dced man: update copyright year 2023-01-01 15:01:26 +02:00
Stephen Eglen 0cd98c80b1
Update mu-init.1.org
Typo: b -> be
2022-12-31 07:40:00 +00:00
Dirk-Jan C. Binnema 5300b7ce82 cfind: rework, add support for json output
Update the old cfind code, and add json output support while doing so.
2022-12-30 15:14:17 +02:00
Dirk-Jan C. Binnema 4b00ea0635 man: update man pages
Explicitly mention PCRE where appropriate.

Include section headers (through MAN_CLASS_OPTIONS)

Fix mu-easy manpage

Make date dynamic
2022-12-30 11:15:03 +02:00
Dirk-Jan C. Binnema a259ae4162 man: generate manpages from .org files
Generate the manpages from org-documents which makes it a bit easier to
keep them update to date since I find org-syntax easier than troff, and
we can use include files.
2022-12-29 10:41:16 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 2574c693af man/mu-index.1: update 2022-06-07 23:06:25 +03:00
Dirk-Jan C. Binnema b1ff292bbb mu: support MUHOME environment variable 2022-05-29 11:10:46 +03:00
Dirk-Jan C. Binnema 901ac23a4d man: Update return values doc for add/remove 2022-05-12 08:56:13 +03:00
Dirk-Jan C. Binnema 2e9666af0b store/info: Gather some usage statistics
Keep track of the latest-change/latest-index.
2022-05-10 08:16:47 +03:00
Dirk-Jan C. Binnema 0112180bcb update man pages 2022-05-06 22:00:29 +03:00
Dirk-Jan C. Binnema f32b429084 update man pages 2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema 8f9d1e5e60 mu: add fields/flags commands
Useful information for devising queries.

Directly generated from the source. Add manpages, too.
2022-05-05 01:38:25 +03:00
Dirk-Jan C. Binnema 7091ae339f mu-view.1: update man page
After 9 years!
2022-04-18 22:26:13 +03:00
Dirk-Jan C. Binnema c6ff5f9ce3 mu-verify.1: update man-page 2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema 3138b2d1a9 mu-find.1: Document correct return value
And some cleanups.

Fixes: #2204.
2022-01-29 10:42:26 +02:00
Dirk-Jan C. Binnema 4df94b0c86 mu-init: update manpage
Fixes: issue #2200.
2022-01-09 10:27:09 +02:00
Dirk-Jan C. Binnema d0bb0f215a man: update mu-index (.noupdate) 2021-11-13 07:58:49 +02:00
Dirk-Jan C. Binnema 5dfd6afdf0 guile: fix user script path detection
Fixes: #2159.
2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema ecea966169 mu int: improve docs for regexp addresses 2021-09-04 08:34:17 +03:00
c0dev0id 5c3d61a88d Fix mu-init manpage markup 2021-08-24 12:01:15 +02:00
Dirk-Jan C. Binnema 9020389a56 mu-cmd-find: Fix links ouput
Special case the footer/header for the links output. Small code
cleanups.

Fix error in docs.

Fixes: #2035.
2021-06-11 10:40:01 +03:00
Nicolas Avrutin 2b8d51d960
fix formatting 2021-04-26 06:09:16 -04:00
Nicolas Avrutin 0ae97e066c
fix typo 2021-04-26 01:30:44 -04:00
Dirk-Jan C. Binnema 5e359fb739 mu: support '-V' for --version
And describe it in the man-page, which erroneously had '-v' which is
used for --verbose.

Fixes: #1927
2021-02-13 13:33:12 +02:00