Commit Graph

1788 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema cc32257f1c mu4e: improve search/rendering benchmark
Include numbers for search from start to finish.
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema 1fc0a6047f mu4e: ensure we check for a _local_ mu
Unless we explicitly use a local directory, the tramp package may cause emacs to
use a _remote_ one, which then fails, as mentioned in issue #2193.
2022-03-07 06:50:18 +02:00
Dirk-Jan C. Binnema 3b205dacff meson: remove some warnings and add one 2022-02-26 14:14:27 +02:00
Dirk-Jan C. Binnema f10a7560f7 build: fix some warnings 2022-02-21 23:51:46 +02:00
Dirk-Jan C. Binnema a0ec982789 mu4e/server: honor rename-move for view-message, too
It's technically a 'move', so apply user preference.
2022-02-13 14:33:12 +02:00
Dirk-Jan C. Binnema a66fd4dae4 mu4e-headers: warn earlier when message does not exist
check path before trying to show it.
2022-02-13 12:04:47 +02:00
Dirk-Jan C. Binnema 99993bea69 mu4e-headers: tweak mark-as-orphan option
Make 'first the default, and some whitespace fixes.
2022-02-06 10:44:47 +02:00
Dirk-Jan C. Binnema 769ad20c40
Merge pull request #2203 from mhcerri/mu4e-headers-thread-mark-as-orphan
mu4e-headers: Add mu4e-headers-thread-mark-as-orphan option
2022-02-06 10:41:28 +02:00
Dirk-Jan C. Binnema 6dafffd07a mu4e-server: tweak stopping the mu4e server
Stop listening for server output when we're shutting down.
2022-02-03 23:04:18 +02:00
Dirk-Jan C. Binnema cc3be78dc5 mu4e-main: use mu4e~headers-jump-to-maildir
Re-fix hasty earlier fix; and improve the code a bit.

HT: @tsdh.
2022-01-29 19:53:37 +02:00
Dirk-Jan C. Binnema b8e696000f mu4e-main: fix jump-to-maildir typo
Fixes: #2206
2022-01-29 15:55:51 +02:00
Dirk-Jan C. Binnema 20568cba70 mu4e-view: open tmp files read-only
When using the "open-in-emacs" handler, open the temp file as read-only. It's a
temp file, so editing isn't very useful.
2022-01-24 19:00:19 +02:00
Dirk-Jan C. Binnema de3c9a25e8 mu4e.texi: improve mu4e-mailing-list-patterns example 2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema a4707afe12 mu4e: cleanups and flycheck fixes
- Remove some unused faces
- Fix some flycheck warnings
- Replace some `cl-` functions with `pcase` and `seq`
2022-01-23 14:27:00 +02:00
Marcelo Henrique Cerri 74437b6374 mu4e-headers: Add mu4e-headers-thread-mark-as-orphan option
To mark only the first message in the thread as orphan, allowing to
replicate the thread structure used by mutt and other clients.
2022-01-19 16:59:38 -03:00
Dirk-Jan C. Binnema a6b996d00e search: restore jump-to-message
Fixes: #2169.
2022-01-18 17:00:01 +02:00
Dirk-Jan C. Binnema e5ead56b2a mu4e-view: fix flycheck warnings
Let's make things clean.
2022-01-15 12:00:27 +02:00
Dirk-Jan C. Binnema a4e5e3adf5 mu4e: attempt to delete loading window upon mu4e-error
When there's a mu4e-error, opportunistically delete the 'Loading..' window.
2022-01-15 10:44:03 +02:00
Dirk-Jan C. Binnema 904214ba17 mu4e-view: double-check message file exists
So we can warn user early.
2022-01-15 10:20:32 +02:00
Dirk-Jan C. Binnema b072b4a57e mu4e-view: Add defcustom mu4e-view-open-program
When xdg-open is not enough.
2022-01-12 22:32:21 +02:00
Dirk-Jan C. Binnema 324b6f5022 mu4e-view: experiment xwidget support
Add experimental support for displaying html messages in an xwidget; this
doesn't work for all messages.
2022-01-10 22:07:06 +02:00
Dirk-Jan C. Binnema 42d5cde612 mu4e-view: catch epg error
Give a bit more user-feedback when e.g. EPG fails to decrypt a message.
2022-01-09 14:08:24 +02:00
Dirk-Jan C. Binnema bbf55256e5 mu4e-view: add massage toggle for text filling
For some mis-rendered messages, it can be useful to toggle filling, so add this
as an massage ('M') option.
2021-12-25 11:01:33 +02:00
Dirk-Jan C. Binnema 8704101afc mu4e-folders: fix typo in docstring 2021-12-19 23:15:42 +02:00
Dirk-Jan C. Binnema 8dcdd0a815 mu4e-view: add toggle to show all mime-parts
Add a toggle to show (links for) all top-level MIME-parts, so you can e.g.
perform actions on 'inline' images.
2021-12-19 23:15:42 +02:00
Tassilo Horn c14ffa2918 Add eldoc support in headers views
When using a side-by-side split layout, i.e., headers left of message view, it
easily can happen that parts of the headers (like a longer subject) are not
visible without horizontal scrolling.  So eldoc to the rescue, which can echo a
customizable message (see `mu4e-headers-eldoc-format`) containing stuff like
subject, from, to, date, etc. in the echo area.
2021-12-15 21:21:41 +01:00
Yuri D'Elia 86f88299e7 Ignore existing compiled files when byte-compiling
Set load-prefer-newer to avoid loading old byte-compiled files when
rebuilding an existing tree.
2021-11-13 14:35:07 +01:00
Dirk-Jan C. Binnema 113a831641 mu4e: add (from|to)nameoraddress properties for links
I.e. use name but fall back to address if there's no name.
2021-11-12 23:05:08 +02:00
Dirk-Jan C. Binnema ef25637128 mu4e: use 'checked' instead of 'processed'
Update to the new name.
2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema dd3efb0b8b mu4e: update mu4e-compose-context-switch
Update mu4e-compose-context-switch:
1) attempt to update the message signature as well
2) remove the (no longer working) code to try to move the underlying file (which
   was a bit too fragile) (see issue: #2140)
2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema 0cbd18e7a5 mu4e: server: improve docstrings 2021-11-10 22:31:58 +02:00
Dirk-Jan C. Binnema 67b16acbb2 mu4e: support message-user-organization
Automatically include Organziation: if set and update when changing the context.

Fixes: issue #2112.
2021-11-07 12:50:16 +02:00
Dirk-Jan C. Binnema 90a748aba1 mu4e-compose: make undo work across compose saves
Hide the header-separator change from the user-visible undo.
2021-11-07 11:47:29 +02:00
Dirk-Jan C. Binnema 5e55ef7c79 mu4e: finalize mu4e-query-rewrite-function migration
There was one left.
2021-10-31 13:02:11 +02:00
Dirk-Jan C. Binnema aebec9714b mu4e-headers: save-excursion when updating message
Otherwise, the updated header may end up in the wrong buffer.

Fixes: #2172.
2021-10-31 11:42:50 +02:00
Dirk-Jan C. Binnema 6005cf1b6c mu4e: Update mu4e() docstring
Typos.
2021-10-31 11:27:55 +02:00
Dirk-Jan C. Binnema 5d155841a6 mu4e: Use mu4e-query-rewrite-function
The (new) mu4e-search-query-rewrite-function is a bit too long, let's keep the
old one.
2021-10-31 11:26:58 +02:00
Dirk-Jan C. Binnema 892b9ce1fa mu4e: add note about restarting to mu4e-mu-home 2021-10-30 15:46:03 +03:00
Dirk-Jan C. Binnema 81133c4022 mu4e: Fix typo 2021-10-28 09:16:44 +03:00
Yaman Qalieh f1570dafd4 Add contact completion in search 2021-10-27 14:47:08 -04:00
Dirk-Jan C. Binnema bd40ffa718 mu4e-headers: fix updated check (for auto-update)
The check for # of updated messages was wrong; fix it.

Fixes: #2163.
2021-10-26 14:13:34 +03:00
Dirk-Jan C. Binnema 0303f5d931 mu4e: compose/draft: remove some mostly obsolete things
Avoid some compiler warnings.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema c63acd14a4 mu4e: meson hack to appease emacs native compilation
It doesn't really support srcdir != builddir, so copy the sources to the
builddir and all are happy.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema 8ad5fd49c9 mu4e: support batched query results
Support the new batched query results from the mu server; these are much faster
to render (2-3x it seems).

Rearrange the code a bit to avoid byte-compiler warnings.

Obsolete mu4e-header-func, to be replaced by mu4e-headers-append-func.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema f3e3cc9ca2 mu4e: always run mu4e-index-updated-hook after index
Fire mu4e-index-updated-hook after any index operations, where anything changed
or not. Add a new variable `mu4e-index-update-status' which can be used to see
what changed (if anything) in the last indexing operation.

Keep mu4e-message-changed-hook in place; it only fires when a message
changed (and when it is update).

Remove the long-obsolete `mu4e-msg-changed-hook'.
2021-10-22 08:33:51 +03:00
Tassilo Horn aa59f9ce08 Re-enable maildir completion in search query
This has been commented out in 3cd127d8a for no apparent reason.
2021-10-21 22:13:10 +02:00
Dirk-Jan C. Binnema 701ca75536 mu4e/server: split message / metadata
Split message and metadata, so we can use pristine (possibly pre-cached)
messages. Update dependencies.
2021-10-20 22:41:48 +03:00
Dirk-Jan C. Binnema 7156ff7fac mu4e: fix some compiler warnings 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema 4a0490acbf
Merge pull request #2152 from progfolio/fix/osbolete-fn
mu4e-search-edit: Fix obsolete alias; update documentation
2021-10-13 14:47:48 +03:00
Dirk-Jan C. Binnema 5db8fdc49d mu4e: Do not defvar abbrev tables
I'm not quite sure why it was done in the first place, and it seems to have
unwanted side-effects. So let's turn it off and see if anything breaks.

Fixes: #2146.
2021-10-06 08:11:30 +03:00