Commit Graph

4744 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema f51846eefc mu: implement init, info commands
'init' is for the inital database setup

'info' is for gettting information about the mu database.
2020-02-08 14:28:55 +02:00
Dirk-Jan C. Binnema 2575b2d0e3 mu: better error handling for opening database read-only
Be a bit clearer for the user.
2020-02-04 21:14:30 +02:00
Dirk-Jan C. Binnema 3fc2a5f3f8 server: re-introduce signal handler
This still needed to be ported from the old server code.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema 029a4c245e mu/mu4e: handle personal addresses as server cmdline params
So we don't need to pass them to index; they can't change anyway.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema 38779cfade mu: no need to pass 'maildir' when we can deduce it
Only needed when setting up the database.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema ee4730382d mu-cmd-index: Avoid unneeded compiler warning 2020-02-02 00:23:34 +02:00
Dirk-Jan C. Binnema ac4f5f754a mu4e: remove maildir arg from proc-add/proc-sent calls
The server doesn't want that parameter anymore, so we can simplify
things a bit.
2020-02-02 00:23:34 +02:00
Dirk-Jan C. Binnema c707feb30f mu4e-utils: update main-view when index changed
When the main-view is visible, update it when the index changed (e.g.
for the read/unread numbers).

Clean up the info handler a bit.
2020-01-31 21:16:13 +02:00
Dirk-Jan C. Binnema 1ea6f6a55e lib/utils: Add Message error. 2020-01-31 00:23:00 +02:00
Dirk-Jan C. Binnema e51240f43f mu: lib: update store API. update some dependents
Implement add_message / remove_message.

Rename path_tstamp ->  dirstamp.

Rename maildir -> root_maildir

Update dependents.
2020-01-31 00:20:34 +02:00
Dirk-Jan C. Binnema ad5f7d8dad mu4e: make `mu4e` refresh itself
update using the 'ping' function, so read/unread counts get updated.

add a 'g' binding for the main-view.
2020-01-31 00:17:19 +02:00
Dirk-Jan C. Binnema 9ba28bc4c5 mu4e-draft: Fix over-eager reply-all (typo)
Fixes #1559.
2020-01-28 20:57:45 +02:00
Dirk-Jan C. Binnema a7c4fdd029 mu4e/mu4e~start: remove some debugging leftover 2020-01-28 10:01:39 +02:00
Dirk-Jan C. Binnema dd98203d42 mu4e: fix some compiler warnings 2020-01-28 01:03:40 +02:00
Dirk-Jan C. Binnema e968f46963
Merge pull request #1556 from thierryvolpiatto/align_mu4e_main
mu4e: Rewrite mu4e~main-bookmarks to have bookmarks aligned
2020-01-28 00:39:11 +02:00
Dirk-Jan C. Binnema 2371847240
Merge pull request #1554 from pedrormjunior/mu4e-update-name
mu4e: use `mu4e~update-name` de facto
2020-01-28 00:37:51 +02:00
Dirk-Jan C. Binnema 0b12d0e568
Merge pull request #1555 from thierryvolpiatto/Unquote_lambda
mu4e: Unquote lambda's
2020-01-28 00:36:24 +02:00
Dirk-Jan C. Binnema 3149f88ab5
Merge pull request #1557 from Chris00/master
mu4e: Load gnus-art when compiling
2020-01-28 00:33:44 +02:00
Christophe Troestler 8e3f7ba64a Load gnus-art when compiling
Commit edce635416 only loads it
dynamically when executing the function mu4e~view-gnus but as a
consequence many variables are undefined at compile time and, more
importantly, it is no longer possible to override the variable
gnus-display-mime-function with a let binding before calling
gnus-article-prepare-display
2020-01-27 15:24:39 +01:00
Thierry Volpiatto 846428cfd4
Unquote lambda's
* mu4e/mu4e-context.el (mu4e-context-switch):         Do it.
* mu4e/mu4e-contrib.el (mu4e-view-mode-hook):         Do it.
(mu4e-headers-mode-hook):                             Do it.
* mu4e/mu4e-icalendar.el (mu4e-icalendar-reply-ical): Do it.
* mu4e/mu4e-utils.el (mu4e~start):                    Do it.
(mu4e-split-ranges-to-numbers):                       Do it.
2020-01-27 08:41:24 +01:00
Thierry Volpiatto b51246d645
Rewrite mu4e~main-bookmarks to have bookmarks aligned
* mu4e/mu4e-main.el (mu4e~main-bookmarks): Do it.
2020-01-27 08:20:58 +01:00
Dirk-Jan C. Binnema 17e1dc2b17 mu4e: include From: in cc-list for mailing, even with reply-to
Many mailing lists override reply-to.
2020-01-25 22:21:56 +02:00
Dirk-Jan C. Binnema 6f1513d187 mu4e: only show unread counts for stringp bookmarks
We can't generally do it for non-constant bookmarks.
2020-01-25 21:42:14 +02:00
Dirk-Jan C. Binnema ba370f748c mu: sexp-parser: add support for negative numbers
We need those too!
2020-01-25 19:54:37 +02:00
Dirk-Jan C. Binnema eb3cac39ee mu4e: implement mu4e-compose-complete-only-after
We weren't supporting that yet after moving to the new command-parser;
let's do so now.

We now pass the time_t as a string, since the parser does not support
floats (and emacs doesn't generally support big ints).
2020-01-25 19:36:31 +02:00
Dirk-Jan C. Binnema 0f81c86083 server: implement the :after parameter for contacts
Parse the :after parameter as an iso-8601-like parameter, and use it for
limiting the amount of contacts.
2020-01-25 19:36:31 +02:00
Dirk-Jan C. Binnema f21ceea421 sexp-parser: improve error message 2020-01-25 19:31:20 +02:00
Pedro Ribeiro Mendes Júnior 11590a1cf8 mu4e: use `mu4e~update-name` de facto
Instead of hard coding the buffer name " *mu4e-update*", use the
buffer name defined in `mu4e~update-name`.  Also, the default name
defined in `mu4e~update-name` were changed to match the previously
hard-coded invisible buffer name.
2020-01-25 10:57:15 -03:00
Dirk-Jan C. Binnema 61b511dc08 update NEWS.org 2020-01-25 12:50:26 +02:00
Dirk-Jan C. Binnema 7d83a1c5d6 server: improve command documentation output
required args come first, then alphabetic.
2020-01-25 11:51:38 +02:00
Dirk-Jan C. Binnema 24e94afe2f server: handle move 'rename' parameter
Fix the confusion between names.
2020-01-24 14:21:25 +02:00
Dirk-Jan C. Binnema 9f72bd9703 mu4e: convert bookmarks from old format
When creating the 'ping' queries.
2020-01-24 14:21:25 +02:00
Dirk-Jan C. Binnema d564157cac mu4e: document bookmark query limitation
They don't use mu4e-query-rewrite-function
2020-01-24 14:21:25 +02:00
Dirk-Jan C. Binnema ff958907d4 server: improve 'help' output 2020-01-24 14:21:17 +02:00
Dirk-Jan C. Binnema 7e63538c77 configure: bump version 1.3.7 2020-01-24 01:22:45 +02:00
Dirk-Jan C. Binnema e119ac919b mu: fix clang compilation 2020-01-24 00:21:53 +02:00
Dirk-Jan C. Binnema 72e67ca389 mu4e: pass sortdir to server 2020-01-23 23:28:30 +02:00
Dirk-Jan C. Binnema 4b4e8dd6d7 utils/sexp-parser: include ostream 2020-01-23 23:17:00 +02:00
Dirk-Jan C. Binnema 2e07fcf591 mu/mu4e: add sorting for 'find'.
Was missing after the parser changes.
2020-01-23 23:09:19 +02:00
Dirk-Jan C. Binnema 5a5cb014b6 NEWS.org: update for 1.3.7 2020-01-22 21:55:14 +02:00
Dirk-Jan C. Binnema ada866f857 man/mu-find: Add missing link.
Fixes #1453.
2020-01-22 21:55:14 +02:00
Dirk-Jan C. Binnema 6dcc712b51 msg-crypto: add support for more signature-status values 2020-01-22 21:02:17 +02:00
Dirk-Jan C. Binnema a4265bb8e9 mu4e: include unread/all counts for bookmarks
Show the unread/all matches counts in the main-view.
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema aba328c930 server: support 'queries' parameter in 'ping'
Calculate the read/all numbers for matches for a list of queries in
:queries. This is used to implement the features where we should those
counts for bookmarks.
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema bdec1fe9c4 mu-query: implement mu_query_count_run
To get the number of matches and nothing else.
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema bb932fa217 mu: don't need a path argument for index
We get it from the store.
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema 232f370936 mu-server: update documentation 2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema d2ec85f01c mu4e: use the new command-parser
Update mu4e-proc to use the new mu4e <-> mu protocol
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema c71f683e39 mu: use new command-parser 2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema c7680b78b9 utils: Implement sexp command parser
Implement a sexp parser, and on top of that a command parser (for mu4e
commands). Add tests, too.
2020-01-21 20:58:18 +02:00