Commit Graph

1317 Commits

Author SHA1 Message Date
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 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 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
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 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
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 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 72e67ca389 mu4e: pass sortdir to server 2020-01-23 23:28:30 +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 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 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 b2bdb8b30c
Merge pull request #1526 from seanfarley/smf/esc
mu4e-util: allow ESC to exit a choice selection
2020-01-21 20:30:56 +02:00
Dirk-Jan C. Binnema 5071ed5012
Merge pull request #1548 from thierryvolpiatto/dont_require_gnus
mu4e: Avoid loading all gnus package
2020-01-21 20:28:31 +02:00
Thierry Volpiatto edce635416
Avoid loading all gnus package
when not necessary.

* mu4e/mu4e-view.el (mu4e~view-gnus): Require gnus-art here instead on
top of file.
2020-01-21 09:49:40 +01:00
Pedro Ribeiro Mendes Júnior 5d087a130b Merge branch 'master' of https://github.com/djcb/mu 2020-01-16 08:28:08 -03:00
Dirk-Jan C. Binnema cf594413e2 mu4e: utils: fix indentation 2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema 1631d98b9e mu4e: support hiding bookmarks from main-screen/bookmarks
Using the :hide t property on a bookmark plist. The bookmark is still
available throught the completion mechanism.
2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema c95cd3c1aa mu4e-main: fix indentation 2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema 54c2a15ed0 mu4e: make mu4e-bookmarks items simple plists
We don't need cl-defstruct; simplify things a bit.
2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema 760b6a14de mu4e: fix typo in cc-creation
Thanks to stsquad.
2020-01-13 23:40:23 +02:00
Pedro Ribeiro Mendes Júnior fe2c6d5078 mu4e: inform alternative for getting confirmation before sending
The `message-send' command already uses the variable
`message-confirm-send' to check if a confirmation should be asked
before sending.  Then, setting this variable is a more straightforward
alternative for getting those confirmations before sending.
2020-01-12 17:44:56 -03:00
Dirk-Jan C. Binnema 25d421068e
Merge pull request #1535 from pedrormjunior/master
mu4e: define mu4e-view-actions with defcustom instead of defvar
2020-01-11 16:59:15 +02:00
Dirk-Jan C. Binnema f6b5fff83e mu4e: add special handling for mailing-list replies 2020-01-11 15:10:37 +02:00
Dirk-Jan C. Binnema 763ae799c8 mu4e-draft: fix indentation 2020-01-08 23:25:37 +02:00
Pedro Ribeiro Mendes Júnior 7b5195da89 mu4e: define mu4e-view-actions with defcustom instead of defvar
It allows the customization directly from Emacs Custom mode.  It is
done in a similar way as for `mu4e-view-attachment-actions'.
2019-12-31 13:20:15 -03:00
Dirk-Jan C. Binnema 24a6b71bd0 mu4e: move mu4e-bookmark defstruct to vars
Avoid compilation problem.
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema 3e2acda310
Merge pull request #1531 from Vonfry/fix/mu4e-remove-duplicate-mu4e-bookmarks
mu4e: remove duplicated mu4e-bookmarks define
2019-12-22 14:55:35 +02:00
Vonfry 5c51419f57
mu4e: remove duplicated mu4e-bookmarks define
let custom-set-variables work.
2019-12-22 18:10:43 +08:00
Vonfry 40d4abc8fb
mu4e: switch mu4e-contexts from defvar to defcustom 2019-12-22 14:54:08 +08:00
Sean Farley 02b5bc805c mu4e-util: allow ESC to exit a choice selection
I occasionally find myself pressing escape to exit a menu choice in mu4e
and it's a bit unfortunate that nothing happens. As best I could tell,
since this is a C call, none of the keymaps are checked for
`(keyboard-quit)' so we need to explicitly check for ESC here.
2019-12-13 16:26:05 -08:00
Dirk-Jan C. Binnema 384fcc5df3 mu4e: add missing file 2019-12-10 23:36:35 +02:00
Dirk-Jan C. Binnema 0bc2e605a4 mu4e: clean up org-handling
Load org support by default, unless mu4e-org-support is set to nil.

Turn off speedbar support by default (set mu4e-speedbar-support to t to
re-enable it).

Move the non-obsolete org stuff to mu4e-org. Rename some things from
org-mu4e to mu4e-org.

Remove org-old-mu4e.el
2019-12-10 18:09:03 +02:00
Antoine Levitt dcb3025d1d revert indentation 2019-12-10 11:07:01 +01:00
Antoine Levitt 006c3399cb Push mark on beginning/end of buffer 2019-12-05 21:36:38 +01:00
Dirk-Jan C. Binnema e18c86900c mu4e: remove debug message from -proc
Fixes #1514
2019-11-25 23:16:10 +02:00
Jonas Bernoulli f31d1b065d Fix typos 2019-11-06 16:13:39 +01:00