Commit Graph

1515 Commits

Author SHA1 Message Date
e3896de8a4 mu4e: add mu4e-headers-report-render-time
When mu4e-headers-report-render-time is set to non-nil, mu4e will report
on the time it took to render the headers view.
2020-10-24 14:51:04 +03:00
ad055bd52b mu4e.texi: update note about mbsync 2020-10-24 01:25:32 +03:00
30cc9c2c6c mui4e: mu4e-icalendar: fix typo 2020-10-22 10:18:06 +03:00
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
2967c49f5a Check for nil before calling mu4e-user-mail-address-p 2020-10-19 15:35:08 +02:00
e2f57e328a mu4e: update mu4e-message-contact-field-matches for regexp addresses 2020-10-19 09:52:35 +03:00
ca97d8c026 mu4e: mu4e-contact-process-function: filter out no-reply addresses
Add a default mu4e-contact-process-function, filtering out various
no-reply addresses.
2020-10-18 12:54:52 +03:00
3937b70f13 mu4e: use sorted list in mu4e-contacts-info
Sort by rank.
2020-10-18 12:53:43 +03:00
1957bfa966 mu4e.texi: Remove mu4e-compose-complete-ignore-address-regexp mention
It's mu4e-contact-process-function instead these days.

Fixes #1801
Fixes #1799
2020-10-17 15:43:48 +03:00
5379ab0c4b mu4e: do extra sanity check for mu version
One very common question / github issue. Hopefully this avoids some.
2020-10-17 15:38:24 +03:00
5e069d9a6f mu4e: support regexp patterns for personal addresses 2020-10-17 15:38:24 +03:00
9bf32e720b mu4e: add mu4e-headers-precise-alignment defcustom
Precise alignment is nice, but also noticeably slower than the
old (crude) alignment; so make it optional and turned off by default for
now.
2020-10-11 12:35:48 +03:00
8ce966778a Properly align variable-pitch faces in header view 2020-10-06 21:50:57 +03:00
071c60d229 Allow use of Maildir FAT extension changing the Maildir info separator 2020-10-04 16:47:42 +02:00
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
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
3a8fc95bfc mu4e-headers: allow pipe through shell from headers view
Being able to pipe through shell from the headers view is
convenient for some use cases, so wire it up to work.

Resolves #1752

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2020-07-29 10:52:17 -07:00
b711ad9151 Fix typos 2020-07-25 16:46:47 +02:00
6d73ca8ec3 mu4e: fix mu4e~proc-view-path
Ensure parameters match.
2020-07-25 17:20:39 +03:00
6b32794f0e mu4e-proc: ensure mu4e~call-mu does not truncate
For non-nil settings of print-length, print-level.

(and remove an unused defun).
2020-07-25 17:02:01 +03:00
7aebefe005 mu4e.texi: remove obsolete crypto footnote.
Fixes #1761.
2020-07-25 11:32:15 +03:00
de8f1d3e6a mu4e: Fix issue with mu4e-display-image
We were getting an error when `identify` is nil.
2020-07-11 10:14:57 +03:00
2b5a747fad Merge pull request #1746 from mrvdb/mu4e-image-scale
Satisfy both max height and width for images in view
2020-07-07 00:14:51 +03:00
5040d52b46 mu4e/mu4e-utils: save-excursion before updating the log buffer
If the user is scrolling and searching through the log buffer to see
what went wrong it gets very annoying having an update change things.
To avoid this wrap all buffer updating code in a save-excursion so
point is preserved.
2020-07-06 20:32:27 +01:00
8bc622ff09 mu4e/mu4e-utils: refactor mu4e-log buffer creation
Move all the one time setup for mu4e-log into its own private section.
2020-07-06 20:27:13 +01:00
7efdebce30 NEWS.org, mu4e-vars.e.: fix spelling mu4e-contact-rewrite-function
mu4e-contact-rewrite-function was obsoleted in 1.4, but the entry in
NEWS.org entry, and the make-obsolete-variable call, referred to it as
mu4e-contacts-rewrite-function. (Should be "contact", not "contacts".)
2020-07-03 19:21:18 -03:00
c698bc3a40 Satisfy both max height and width for images in view
- introduce private function mu4e~image-width-scale:
    determine the width to use for proportional scaling based on the image width, height and the max
    restrictions.
- use it in mu4e-display-image
2020-07-03 16:02:09 +02:00
c074e7ea3b mu4e/mu4e-utils: only set so-long-mode once
Ideally we should separate the log buffer creation code so this van be
done a bit more cleanly. For now however only set so-long-mode once
otherwise you end up spamming the messages with constant:

  Changed to so-long-mode (from fundamental-mode) on account of line length.  C-c C-c to revert. [36 times]

As the messages keep rolling in.
2020-06-29 10:26:34 +01:00
84c59cef5a Fix org-mode links section documentation 2020-06-27 15:54:48 +10:00
5ca0b6e148 mu4e-utils: use so-long-mode for logs when available 2020-06-26 19:25:45 +03:00
3715bb0c5e mu4e-headers: optimize header writing a bit
Try to make writing out the headers in the headers buffer slightly
faster.
2020-06-26 19:24:40 +03:00
7db921c69d Merge pull request #1731 from cireu/require-desktop-on-use
mu4e: Delay the execution of workaround for desktop.el
2020-06-21 17:50:40 +03:00
f239616fb8 mu4e: Delay the execution of workaround for desktop.el
Some Emacs user may never use desktop.el, We don't need to require desktop.el
for them.
2020-06-20 13:45:33 +08:00
d49634245d ical: Don't insert a multipart/alternative with textual event
It seems that tha multipart/alternative confuses Outlook.

Fixes https://github.com/djcb/mu/issues/1729
2020-06-18 23:21:51 +02:00
6ced62685a ical: save the citation in the kill-ring 2020-06-18 23:21:51 +02:00
75bd856f50 ical: Add instructions to add events to a diary file 2020-06-18 23:21:51 +02:00
c8f91d365f ical: respect the 80 chars width limit 2020-06-18 23:21:51 +02:00
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
2ee65f5b1a mu4e: add mu4e-mu-debug for verbosely logging the server
With mu4e-mu-debug set to t, the mu server will be more verbose in its
logging (mu.log or the journal)
2020-06-13 16:56:41 +03:00
e37486fb5a mu4e: auto-enable logging when pressing '$' 2020-06-13 16:56:41 +03:00
ee99176fce mu4e: mu4e-info is not interactive 2020-06-08 19:52:19 +03:00
b8a2d1fd6c mu4e-headers: require mule-util for truncate-string-ellipsis
Seems this is needed in some setups. Not fully clear why, but harmless.

Fixes #1717.
2020-06-07 18:40:48 +03:00
5fdb205b8b mu4e: Update for sexp format changes 2020-06-06 14:27:25 +03:00
b672f6bc1d mu4e: avoid trouble with truncate-string-to-width
Treatment of the 'ellipsis' parameter is a bit unclear, gave errors in
some cases.

Fixes #1716
2020-06-03 21:24:14 +03:00
cfb59e36b0 mu4e-org: add missing defs when linking query
Fixes: #1714.
2020-06-01 09:55:24 +03:00
73be015cd0 fixup: mu4e: some cleanups / bytecomp warning fixes 2020-05-28 10:21:16 +03:00
29ad71fdf2 Marked mu4e-compose-context-policy type as greedy 2020-05-27 22:54:15 +03:00
bd87dcfd9b Removed default case in mu4e-compose-crypto-message 2020-05-27 22:54:15 +03:00
336cad35e6 Merged crypto-policy configuration into one variable 2020-05-27 22:53:41 +03:00
c9a9d4be95 mu4e: handle compose-mail when mu4e is not yet running
We were trying to start mu4e asynchronously, then compose the mail but
this doesn't quite work the way some external packages expected, and
this would fail.

Fixes #1710
Fixes #1698
2020-05-27 22:34:43 +03:00