Dirk-Jan C. Binnema
6d555b3a6c
Revert "build: bump version to 1.7.0"
...
Let's keep this away from the release branch. This reverts commit
ec40b18ae4
.
2021-08-30 10:05:56 +03:00
Dirk-Jan C. Binnema
42f2e73025
mu4e-view: remove overlays when erasing
...
erase-buffer is not enough (you'd see '[1][2]' etc. in the buffer beginning)
2021-08-29 21:40:42 +03:00
Dirk-Jan C. Binnema
a6514fd683
mu4e-server: rename from mu4e-proc
...
Rename mu4e-proc.el into mu4e-server.el
Rename mu4e~proc... into mu4e--server...
Update users, too.
2021-08-29 21:40:42 +03:00
Dirk-Jan C. Binnema
9157d9102d
mu4e-utils: refactor into mu4e-helpers, separate files
...
Usurp more of the utils code than can be re-used without further dependencies in
helpers.
Split off specific parts in their own file.
After the helper/utils changes, update the rest of mu4e to take the changes into
account.
2021-08-29 21:40:42 +03:00
Dirk-Jan C. Binnema
e6be09e626
mu4e-view: remove old view
...
Remove the pre-Gnus view, and remove the infrastructure to handle both the new
and old views.
2021-08-29 20:30:29 +03:00
Salman Mohammadi
539a946aa4
mu4e/*: fix license notice at the start of source files
...
At the start of mu4e/* files, the license has been wrongly attributed
to GNU Emacs instead of mu4e.
Fixes https://github.com/djcb/mu/issues/2019
2021-05-29 23:45:10 +02:00
Dirk-Jan C. Binnema
2437dc27c9
mu4e: Replace mu4e-view-use-gnus with mu4e-view-use-old
...
Make mu4e-view-use-gnus obsolete (it's the default now), and add a
variable mu4e-view-use-old (which must be set before starting mu4e).
Update documentation / mentions.
Load the correct view when starting mu4e, so people can customize
e.g. the keymap.
Add some sanity checking.
2021-03-16 19:57:36 +02:00
Dirk-Jan C. Binnema
e2655ba34b
mu4e-view: re-enable the gnus/old split
...
re-enable the gnus/old split (the key was re-implementing
mu4e-view-message-text for gnus)
split helpers into mu4e-view-common
as a bonus 'go to url' now also works with gnus
2021-03-10 20:53:33 +02:00
Dirk-Jan C. Binnema
316633e1b2
mu4e: unsplit the gnus/old views
...
Was not quite working.
2021-03-07 23:27:45 +02:00
Dirk-Jan C. Binnema
f002379a87
mu: move mu-view-fields to mu-view.el
...
We need it in both mu-view-old and mu-view-gnus.
2021-03-07 22:03:36 +02:00
Dirk-Jan C. Binnema
ed2e0ed0c3
mu4e-view: make the gnus-based view the default one
...
Use
(setq mu4e-view-use-gnus nil)
to use the old one.
2021-03-07 17:35:30 +02:00
Dirk-Jan C. Binnema
c1f08e1683
mu4e-view: split in -gnus and -old
...
Split out the gnus-based and "old" view code into separate files, and
ensure only one of them is loaded.
Do some initial cleanups, more will follow.
2021-03-07 16:42:55 +02:00
Thierry Volpiatto
117f438e10
Fix error in mu4e-view-gnus-save-mime-parts
...
where `handle' may not be a list (here a marker when I had error).
So ensure it is a list.
2021-02-23 21:24:44 +01:00
Christophe Troestler
a1664d2189
Fix the decoding of accents in Gnus view
...
Followup on https://github.com/djcb/mu/issues/1823
Fixes https://github.com/djcb/mu/issues/1886
2021-01-16 12:38:41 +01:00
Dirk-Jan C. Binnema
5ca25e9e89
Merge pull request #1898 from Chris00/describe-binding
...
Restore C-h b default behavior
2021-01-15 21:16:26 +02:00
Dirk-Jan C. Binnema
bcd96d8a1e
mu4e-view: use mm-insert-file-contents
...
Which should avoid some encoding troubles.
2021-01-15 21:07:38 +02:00
Christophe Troestler
4acfce6e2c
Restore C-h b default behavior
...
Fixes https://github.com/djcb/mu/issues/1842
2021-01-13 11:49:32 +01:00
Dirk-Jan C. Binnema
5213adeb2c
Merge pull request #1875 from thierryvolpiatto/save_attachment
...
Fix #1790 by providing mu4e-view-gnus-save-mime-parts
2021-01-11 09:45:12 +02:00
Dirk-Jan C. Binnema
4dbc6ac399
mu4e-view: Use 'mu4e not "mu4e" when extracting
...
And param is a string.
Fixes : #1869 .
Fixes : #1865 .
2021-01-03 15:27:16 +02:00
Thierry Volpiatto
00651acaab
Fix #1790 by providing mu4e-view-gnus-save-mime-parts
...
in replacement of mu4e-view-save-attachment-multi for gnus viewers.
The alias mu4e-view-save-attachment have been replaced by a wrapper function
that calls either mu4e-view-save-attachment-multi or
mu4e-view-gnus-save-mime-parts depending of the context.
2020-12-27 09:46:18 +01:00
Thierry Volpiatto
4830e7de14
Remove null byte added probably by error
2020-12-26 08:49:19 +01:00
Thierry Volpiatto
0fbe6edc4e
No need to call `read-only-mode` when buffer is already read-only
...
In mu4e~view-gnus, mu4e-view-mode derive from gnus-article-mode which derive
from gnus-mode which derive from special-mode:
(get 'mu4e-view-mode 'mode-class) => special.
2020-11-16 07:48:33 +01:00
Dirk-Jan C. Binnema
df0f78d891
Merge pull request #1836 from thierryvolpiatto/disable_mm-verify-option
...
Disable `mm-verify-option` let-bounded in `mu4e~view-gnus`
2020-11-15 17:20:23 +02:00
Thierry Volpiatto
41682af7b1
Disable `mm-verify-option` let-bounded in `mu4e~view-gnus`
...
When this option is set to 'known and the needed key is not yet in the user's
keyring, mu4e may hangs forever unable to verify email so lets user set this
variable globally to 'never to prevent this issue.
2020-11-15 08:19:15 +01:00
Thierry Volpiatto
0109172ad4
Use functions instead of lambdas in add-hook calls
2020-11-13 11:38:50 +01:00
Dirk-Jan C. Binnema
861194f9a1
mu4e-view: insert-file-contents (gnus mode)
...
It seems the earlier version (using insert-file-contents-literally, then
trying to fix it has some problems)
HT: thierryvolpiatto
Fixes : #1823 .
2020-11-11 21:57:29 +02:00
Dirk-Jan C. Binnema
4985f5c959
mu4e: Improve personal-address handling
...
Make mu4e-personal-address-p safe for being called with nil.
Upgrade code that used mu4e-user-mail-address-p to
mu4e-personal-address-p.
Update docs.
Add some more helpers to mu4e-message, and avoid some byte-compiler
warnings.
2020-10-19 22:39:25 +03:00
Dirk-Jan C. Binnema
5e069d9a6f
mu4e: support regexp patterns for personal addresses
2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema
f18044f5b7
mu4e: gnus-view: Make sure to clean up gnus mm buffers (typo)
...
Fix typo in previous.
2020-08-09 17:17:23 +03:00
Dirk-Jan C. Binnema
0d6bf906fe
mu4e: gnus-view: Make sure to clean up gnus mm buffers
...
After leaving a gnus-view buffer, we should clean up the the mm-*
buffers it creates; we were leaking those.
Fixes issue #1781
2020-08-09 17:12:40 +03:00
Dirk-Jan C. Binnema
6d73ca8ec3
mu4e: fix mu4e~proc-view-path
...
Ensure parameters match.
2020-07-25 17:20:39 +03:00
Dirk-Jan C. Binnema
3dc4b93989
mu4e/server: implement mark-as-read for (view ...)
...
Instead of a multi-step process to display an unread message (ie. get
the original, notice it's unread, then update it, replace the message
with update one etc.), we now handle that in the (view /./..) command on
the server side.
Simplifies things, and is faster (which could be noticeable, esp. if
e.g. signature verification is part of the process)
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
73be015cd0
fixup: mu4e: some cleanups / bytecomp warning fixes
2020-05-28 10:21:16 +03:00
Dirk-Jan C. Binnema
57d38aa707
mu4e: honor truncate-string-ellipsis
...
Use truncate-string-to-width and thus honor truncate-string-ellipsis; so
to get 'fancy' ellipsis, one can set:
(setq truncate-string-ellipsis "…")
2020-05-25 18:34:42 +03:00
Marcel van der Boom
fa5b181e25
Merge remote-tracking branch 'upstream/master'
2020-05-19 09:09:08 +02:00
Marcel van der Boom
01736c9a65
Add missing space between signature verification and signers
2020-05-19 09:08:30 +02:00
Dirk-Jan C. Binnema
1c88651f41
mu4e: remove easy-accounts / no-trash-providers for now
...
The code still has some problems, and the original author has moved
elsewhere (which is fine of course), but it's not ready enough for
1.4.... yet. So let's remove it for now and check again with 1.5+.
2020-05-18 18:56:15 +03:00
Dirk-Jan C. Binnema
f016f257f9
mu4e: support 'no trash flag' for all mark-for-trash
...
Use a non-macro implementation for mu4e-(view|headers)-mark-for-trash,
and honor the no-trash flag.
Fixes #1687 .
2020-05-16 12:43:23 +03:00
Jonas Bernoulli
564d892701
Fix typos
2020-05-12 23:56:55 +02:00
Derek Upham
d17abfc324
Make mu4e~view-message available to mu4e-view-mode-hooks.
...
This requires setting the buffer-local variable before calling the
major mode function, and protecting the variable from the standard
mode-change cleanup.
2020-05-06 20:23:29 -07:00
Dirk-Jan C. Binnema
1919146b94
mu4e: centralize mode-line context setting code
...
Add mu4e-context-in-modeline to handle all setting of context in the
mode-line, to address some corner-cases with the current setup.
2020-05-01 22:44:45 +03:00
Dirk-Jan C. Binnema
b37569964a
mu4e-view: fix gnus-button click for emacs 26
...
There are some behavioral differences causing the RET binding in emacs
26.3 (an possibly others) to be active even in gnus mode; this breaks
clicking URLs.
Attempt to work around that.
2020-04-21 00:09:45 +03:00
Alex Murray
43dd60e523
Fix displaying ical attachments after PR #1633
2020-04-08 13:29:16 +09:30
Christophe Troestler
ed123431db
Fix displaying ical attachments with no charset
...
Fixes https://github.com/djcb/mu/issues/1625
2020-04-05 22:58:20 +02:00
Dirk-Jan C. Binnema
f8774ff98c
mu4e: support prefix arguments with mu4e~native-def
...
Fixes #1611 .
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema
59fb743851
Merge pull request #1607 from yellowmoneybank/typo
...
Fix Gnus typos
2020-03-06 21:16:19 +02:00
Philip K
d4b40ac202
Unquoted mu4e-view-use-gnus in unless form
2020-03-06 15:31:20 +01:00
Philip K
5b570cee20
Fix Gnus typos
2020-03-06 15:30:36 +01:00
Dirk-Jan C. Binnema
c3771cba3e
Merge branch 'gpg'
2020-03-05 22:40:16 +02:00
Moritz Müller
090ff42c50
mu4e: Add a mime-type-check when importing a pgp-key from an attachment
2020-03-05 22:39:45 +02:00