Christophe Troestler
b2b8f562f7
mu4e/compose: attach buffers & files setting any property
2021-04-05 22:35:58 +02:00
Christophe Troestler
afaf613a92
Enable the user to control which external images not to display
2021-04-05 11:39:44 +02:00
Stephen J. Eglen
5d859d005f
Respect switch-function in compose-mail.
...
Emacs has several standard keybindings
C-x m compose-mail
C-x 4 m compose-mail-other-window
C-x 5 m compose-mail-other-frame
This patch fixes the creation of new mail buffers to respect the
latter two keybindings, C-x 4 m and C-x 5 m.
Note that there is already the variable mu4e-compose-in-new-frame
which if true opens in a new frame. That will still work for C-x m
and C-x 5 m, but if the user runs C-x 4 m, it switches to other-window
as it assumes the keybinding takes precedence. This behaviour can be
changed within mu4e~draft-open-file.
2021-04-03 22:23:21 +01:00
Nacho Barrientos
ecc96e93f7
Fix typo
2021-04-01 16:06:52 +02:00
Alex Bennée
285fdc5d5d
mu4e/mu4e-headers: remove excess message output
...
When marking threads as read things are slowed down by echoing the
thread path to the mini-buffer. I assume this is left over debug but
if needed for something else should probably be a log call.
2021-03-31 10:04:03 +01:00
Dirk-Jan C. Binnema
f3e13b5201
mu4e-view-gnus: Implement mu4e-view-massage
...
Expose some of the Gnus article treatment functions.
2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema
c44b855d78
mu4e-view-gnus: Update keybindings
2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema
bae7a198c5
mu4e.texi: Update documentation
2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema
33fb6c58cf
mu4e-actions/view: Reorganize example actions a bit
...
The ones that require the "old" view (now or in the near future) are
move to mu4e-view-old.el.
2021-03-23 17:39:12 +02:00
cog
3e38c9ec5f
Add ivy completion when saving attachments
2021-03-23 10:03:14 +01:00
Dirk-Jan C. Binnema
afedfc6708
mu4e-view: Implement actions for gnus-view MIME-parts
...
In the "old" view, we had `mu4e-view-mime-part-actions`, which describes
various actions on attachments; in the brave new gnus-based view, those
do not work, but we have added something better:
mu4e-view-mime-part-actions
This needs some more documentation, but is useful already.
2021-03-21 00:14:54 +02:00
Christophe Troestler
f311b9455c
mu4e/view-gnus: Make Gnus email clickable links work
2021-03-18 19:26:00 +01:00
Dirk-Jan C. Binnema
c04d9ceff0
mu4e-view-gnus: Set buffer name earlier
...
Seems some hooks might depend on the buffer being called *Article* in
hooks.
2021-03-18 00:50:30 +02:00
Christophe Troestler
76a904be26
mu4e/view: make URLs clickable again
2021-03-17 18:53:25 +01:00
Christophe Troestler
b2877a237c
mu4e/view-gnus: Gnus view is no longer experimental
2021-03-17 18:03:18 +01:00
Dirk-Jan C. Binnema
811ae26574
Merge branch 'draft-context'
2021-03-17 11:36:12 +02:00
Al Haji-Ali
b094da8cd4
mu4e: Added mu4e-compose-context-switch for draft messages
...
Allow updating the context for the current draft message.
2021-03-17 11:35:09 +02:00
Christophe Troestler
1c9e1f4be1
mu4e/icalendar: Use a closure to trash the original message
...
This work around the fact that `defun' has an undefined return value.
2021-03-17 00:34:04 +01:00
Christophe Troestler
2d67b66506
mu4e/icalendar: Avoid unused lexical variable gnus-icalendar-find-if
...
This syncs the definition of mu4e-icalendar-reply with the one of
gnus-icalendar-reply and, in turn, avoids the compiler warning
“Unused lexical variable `gnus-icalendar-find-if'”.
2021-03-16 23:55:02 +01:00
Christophe Troestler
339a17852b
mu4e/icalendar: Restore the deletion of the citation
2021-03-16 23:55:02 +01:00
Christophe Troestler
3621314ac2
mu4e/icalendar: fix free variable ‘original-msg’
2021-03-16 23:55:02 +01:00
Dirk-Jan C. Binnema
e6d92d4fef
meson: Generate version.texi for guile, mu4e
...
So we can build from a clean git clone.
2021-03-17 00:16:49 +02:00
Dirk-Jan C. Binnema
2fac2bb602
mu4e/view-gnus: Don't allow gnus-button-reply
...
Since it will reply in *gnus* rather than in mu4e. Perhaps we can hook it
up with mu4e... but not now.
Fixes : #1949 .
2021-03-16 23:09:21 +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
Thierry Volpiatto
723081268d
Fix mu4e-view-common header line
2021-03-16 17:33:59 +01:00
Dirk-Jan C. Binnema
7f244ee454
mu4e/view: Restore URL activation, TAB
...
Make URL activation work again (with mouse, M-RET), and TAB in
gnus-view.
Fixes : #1946 .
2021-03-16 17:13:36 +02:00
Dirk-Jan C. Binnema
b7660ed33d
mu4e-view: decrypt when replying
...
Let's decrypt a message before replying.
HT: Thierry Volpiato.
2021-03-16 08:58:43 +02:00
Dirk-Jan C. Binnema
d0615a959f
mu4e-vars: fix some defface declarations
...
use :weight, :slant rather than :bold, :italic.
2021-03-16 08:56:01 +02:00
Dirk-Jan C. Binnema
931cfe5d86
mu4e: clear up mu4e~view-message
...
Remove duplicate definition of mu4e~view-message in mu4e-view-old
Set it earlier in mu4e-view-gnus (so it can be used in mode-hooks).
2021-03-15 22:56:30 +02:00
Dirk-Jan C. Binnema
0153f7538e
mu4e: update documentation
...
Add the beginning of some docs for the gnus-view.
2021-03-15 22:55:21 +02:00
Dirk-Jan C. Binnema
b100c963fc
mu4e-view-common: fix typo
...
its *actions*, not *action*.
Fixes : #1942 .
2021-03-13 10:47:45 +02:00
Dirk-Jan C. Binnema
44d801e2b0
mu4e-view-gnus: cleanup keymap
...
Do not derive the keymap from gnus article mode, so we don't get the
unwanted menu entries, and don't need to disable things manually.
2021-03-12 22:28:51 +02:00
Dirk-Jan C. Binnema
9423212fa0
mu4e: improve mu4e-view-message-text
...
Attempt to take the Content-Type into consideration when decoding.
2021-03-12 22:26:26 +02:00
Dirk-Jan C. Binnema
bcd728651f
mu4e-view: move some settings from old->comon
...
To avoid user config errors when using the new view
2021-03-12 22:22:06 +02:00
Dirk-Jan C. Binnema
d12d85e187
mu4e: work-around for format-flowed corner-case
...
Fixes : #1938
(fixes, eh, works around it)
2021-03-11 19:41:53 +02:00
Dirk-Jan C. Binnema
8d1175f511
mu4e: avoid some compiler warnings
...
(require) necessary things etc.
warnings for using "obsolete" code are still there since things should
work on emacs 25.3
2021-03-11 10:17:00 +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
Dirk-Jan C. Binnema
6af47e3a92
meson: sync with autotools re mu4e/obsolete
2021-03-07 16:42:55 +02:00
Dirk-Jan C. Binnema
0bfc4b7ca3
mu4e: move org-mu4e to obsolete/
...
It's really not supported anymore.
2021-03-04 22:03:23 +02:00
Dirk-Jan C. Binnema
fcf5a27347
mu4e-headers: Fix subthread marking
...
Fixes : #1930 .
2021-03-04 21:58:25 +02:00
Dirk-Jan C. Binnema
ded1de96e6
Merge pull request #1937 from thierryvolpiatto/Fix_mu4e-view-gnus-save-mime-parts
...
Fix error in mu4e-view-gnus-save-mime-parts
2021-03-03 12:07:32 +02:00
Dirk-Jan C. Binnema
c6d24164b2
Merge pull request #1913 from plantarum/ical-templates
...
Documented icalendar capture template
2021-03-03 12:06:40 +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
Tassilo Horn
7471536213
Read query with completion also when editing a bookmark
...
This wraps up some change that somehow didn't get applied when merging PR #1921
and also offers completion when editing a bookmark.
* mu4e/mu4e-headers.el (mu4e-headers-search): Read query with completion also
when editing a bookmark.
2021-02-17 16:26:47 +01:00
Dirk-Jan C. Binnema
9367a4dd95
mu4e-headers: sort threaded headers by date
...
In "threaded-mode", we only sort by date; reflect this in the UI.
2021-02-16 19:34:05 +02:00
Dirk-Jan C. Binnema
895f580b99
mu4e-headers: show search props in mode-line
...
I.e., whether a search is threaded/include-related/full.
There's high bike-shed potential, but let's not do that yet.
2021-02-12 20:39:49 +02:00
Dirk-Jan C. Binnema
2d91a9ab27
mu4e-headers: fix compiler warning
...
'free variable'
and use mu4e~ rather than mu4e--
2021-02-12 20:39:01 +02:00
Dirk-Jan C. Binnema
8405788f27
docs: update documentation
...
Update the mu-find man-page; update NEWS.org and mu4e.texi for the way
threading works.
2021-02-12 19:14:37 +02:00
Dirk-Jan C. Binnema
bf5c93aab6
Merge pull request #1921 from tsdh/make-jump-maildir-query-editable-with-prefix-arg
...
mu4e-jump-to-maildir: offer editing the query when a prefix arg is given
2021-02-12 00:53:07 +02:00
Dirk-Jan C. Binnema
7a70942e67
build: experimental support for the meson build system
2021-02-12 00:49:35 +02:00
Tassilo Horn
6632e6c7f3
mu4e-jump-to-maildir: offer editing the query when a prefix arg is given
...
Also refactor the now two usages of the query completion feature into a
separate function `mu4e-read-query'.
2021-02-03 14:49:05 +01:00
Dirk-Jan C. Binnema
9802ae9dc8
mu4e-headers: jump to message _outside_ save-excursion
...
Fixes : #1889 .
2021-01-30 12:40:00 +02:00
plantarum
a440510cdd
changed from before/setq to around/let to limit scope
...
let is better than setq, as it doesn't permanently alter the value of
org-overriding-default-time. The setq has knock-on impacts in future
captures that use the value of this variable, if it is set.
2021-01-26 13:52:43 -05:00
plantarum
51f0a6b739
Added doc for automatically setting the datetree location
...
Advice appears to be the cleanest way to do this.
2021-01-26 10:46:21 -05:00
plantarum
a7ae9951fa
Documented icalendar capture templates
...
It's not documented in gnus-icalendar, so the explanation comes straight
from my reading of the code.
2021-01-25 20:59:51 -05:00
Dirk-Jan C. Binnema
2b9732c669
mu4e: update documentation
2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema
68a75c2c91
mu4e: make thread indicators a bit lighter
...
Make the symbols a bit less chunky
2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema
362c53a7e7
mu4e: headers: fix some compiler warnings
2021-01-22 22:53:35 +02:00
Dirk-Jan C. Binnema
86e1515c71
Merge pull request #1900 from Chris00/master
...
Fix the decoding of accents in Gnus view
2021-01-18 08:22:30 +02:00
Dirk-Jan C. Binnema
53c9526871
mu4e: add org-mu4e-store-and-capture alias
...
Let it refer to the new function.
Fixes : #1905 .
2021-01-18 08:12:42 +02: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
55fd642b0c
Merge pull request #1868 from tsdh/search-query-completion
...
Completion for search query keywords and fixed or determinable values
2021-01-15 21:19:55 +02: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
Dirk-Jan C. Binnema
c1a5a690e4
mu4e-proc: update docstring for 'extract'
2021-01-15 21:07:07 +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
Tassilo Horn
03dc7c06fd
Add paragraph for query completion to texinfo docs
2021-01-11 15:41:42 +01:00
Tassilo Horn
25beafbdd4
Implement completion for search query keywords and fixed values
2021-01-11 15:41:42 +01:00
Yuri D'Elia
c311dc4d36
Fix 'mu4e-interrupt-update-mail alias definition
2021-01-11 10:23:55 +02: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
Dirk-Jan C. Binnema
b09b3cb2bb
mu4e-main: fix hide-personal-addresses typo
...
Fixes #1879 .
2021-01-03 14:58:28 +02:00
Tassilo Horn
e76f894476
Fix Selecting deleted buffer when quitting mu4e
2021-01-03 12:54:13 +01: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
Dirk-Jan C. Binnema
46bd705131
Merge pull request #1874 from thierryvolpiatto/Remove_null_byte
...
Remove null byte added probably by error
2020-12-26 13:54:01 +02:00
Thierry Volpiatto
4830e7de14
Remove null byte added probably by error
2020-12-26 08:49:19 +01:00
Tassilo Horn
fe6cbf5949
Use mu4e-query-rewrite-function also for computing bookmark counts
...
Until now, the bookmark queries were sent to mu in their original form. Thus,
if you have `mu4e-query-rewrite-function` set, the numbers shown next to the
bookmarks didn't reflect the actual number of query results you'd get when
opening a bookmark view.
With this commit, the `mu4e-query-rewrite-function` is applied and the result
is sent to mu for evaluation (in `mu4e~start`) and the likewise the rewritten
queries are used to find the matching one in the last query results (in
`mu4e~main-bookmarks`).
* mu4e/mu4e-utils.el (mu4e~start): Send the rewritten queries for evaluation to
mu.
* mu4e/mu4e-main.el (mu4e~main-bookmarks): Compare last mu query results with
rewritten queries.
2020-12-13 17:06:11 +01:00
Dirk-Jan C. Binnema
273eb822d5
mu4e: add mu4e-last-query-result[s]
...
This makes the most recent results from the queries (i.e. the numbers)
available using the supported 'mu4e-' API.
Fixes : #1845 .
2020-12-06 14:48:46 +02:00
Dirk-Jan C. Binnema
aba0ab3629
mu4e: cosmetics
2020-12-06 13:20:13 +02:00
Dirk-Jan C. Binnema
9cab1ae751
mu4e-compose: restrict to headers in before-save-hook-fn
...
Follow up to issue #1846 .
2020-12-05 11:42:54 +02:00
Juan Jose Garcia-Ripoll
03d5640cee
Do not use shell commands to extract version number
...
Avoid using 'head', 'sed' or other POSIX commands to extract the version number when Emacs can do it. This allows installing just 'mu', without the extra unix tools in a Windows environment.
2020-12-04 16:45:09 +01:00
Dirk-Jan C. Binnema
4eed85187f
mu4e-compose: Don't auto-update Message-Id/Date
...
Fixes #1846
2020-12-02 08:51:35 +02:00
Dirk-Jan C. Binnema
946bf7571e
mu4e-vars: remove unused face
2020-11-30 20:34:54 +02:00
Dirk-Jan C. Binnema
6bda2a12ff
Merge pull request #1777 from jesusbv/add-new-entry-org
...
mu4e: Add Org entry when accepting event
2020-11-28 10:45:16 +02:00
Dirk-Jan C. Binnema
d7512b1259
mu4e-org: Use derived-mode-p correctly
...
Fixes : #1840
2020-11-24 00:17:17 +02:00
Thierry Volpiatto
c62dbb250c
Avoid looping through buffer-list when not needed
2020-11-16 08:59:45 +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
d33d48665f
Merge pull request #1834 from plantarum/ical
...
Ical documentation
2020-11-15 20:00:15 +02:00
Dirk-Jan C. Binnema
13118ae173
mu4e-org: Don't trigger errors outside mu4e
...
The functions only work when in mu4e-view-mode/mu4e-headers-mode, which
implies that mu4e is already loaded. So no need to check.
Fixes #1829 .
2020-11-15 17:20:52 +02: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
Dirk-Jan C. Binnema
8a96a1ef57
Merge pull request #1835 from thierryvolpiatto/no_lambdas_on_hooks
...
Use functions instead of lambdas in add-hook calls
2020-11-15 17:19:14 +02:00
Dirk-Jan C. Binnema
c2e478381a
Merge pull request #1828 from Chris00/master
...
Add a section about iCalendar to the manual
2020-11-15 17:16:16 +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
smithty
d54729290d
Fixing syntax errors in mu4e.texi
2020-11-12 09:24:24 -05:00
smithty
faf11bcd2f
Added notes about iCalendar integration to manual
2020-11-12 09:18:18 -05:00