Commit Graph

6668 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 00fbcfb39f
Merge pull request #2489 from RuijieYu/fix-type-mu4e-compose-complete-max
* mu4e/mu4e-contacts.el (mu4e-compose-complete-max): fix type
2023-05-29 23:51:58 +03:00
Dirk-Jan C. Binnema d9795f5874
Merge pull request #2494 from stardiviner/patch-1
Fix asking maildir reading completing candidate is text-property
2023-05-28 08:39:34 +03:00
stardiviner 9729e2bba8 Fix asking maildir reading completing candidate is text-property
Some packages like `vertico-prescient` adding text-property to vertico
candidates will break `mu4e-ask-maildir` response.
2023-05-27 07:51:37 +08:00
Dirk-Jan C. Binnema cd3c7b4c61 mu4e-headers: found-handler: set up threads-mode in headers buffer
Ensure we're in headers-mode when setting up thread-mode.
2023-05-23 22:25:06 +03:00
Dirk-Jan C. Binnema eafc81f168 utils: fix non-cld2 build 2023-05-12 21:52:32 +03:00
Dirk-Jan C. Binnema 4a6185bfc3
Merge pull request #2492 from RuijieYu/fix-more-defcustom-types
Fix more defcustom type errors and reworded docs
2023-05-12 21:46:21 +03:00
Dirk-Jan C. Binnema 832d255381 build: bump version to 1.10.6 and update NEWS.org 2023-05-12 21:44:28 +03:00
Ruijie Yu 8f6895b966 Fix more defcustom type errors and reworded docs
* mu4e/mu4e-draft.el
(mu4e-compose-reply-recipients): (mu4e-compose-reply-to-address):
* mu4e/mu4e-thread.el (mu4e-thread-fold-single-children): Clarify
docstrings and fixed type definitions.
2023-05-12 10:56:33 +08:00
Dirk-Jan C. Binnema fee95e1010 man: update documentation (language detection) 2023-05-11 23:29:05 +03:00
Dirk-Jan C. Binnema 7f2eeb1010 message: try to detect body text language
Try to detect the language of the e-mail body and make it searchable.
2023-05-11 23:23:52 +03:00
Dirk-Jan C. Binnema ad64093183 utils: implement language-detector
A thing wrapper around CLD2 with which we can detect the language of an
e-mail message.
2023-05-11 23:23:52 +03:00
Ruijie Yu aee0f72600 * mu4e/mu4e-contacts.el (mu4e-compose-complete-max): update type+doc 2023-05-11 10:52:07 +08:00
Dirk-Jan C. Binnema 0ed7dc2102 mu4e: don't error out in mu4e-view-quit
Fixes #2487.
2023-05-10 23:49:10 +03:00
Dirk-Jan C. Binnema 3756938b82
Merge pull request #2488 from RuijieYu/fix-docstring-mu4e-personal-address-p
Updates to mu4e-contacts.el
2023-05-10 19:07:04 +03:00
Dirk-Jan C. Binnema 91eeed2a27 build: bump version to 1.11.5 + NEWS.org 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema fbb68b80ee mu4e: add actions for archive-url in view/headers 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema d07247b2dd mu4e: add function to get archive-url for mailing list
This is a bit simplified version of the one in mu4e-list-archives.el.
2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 624458caa4 mu4e: add mu4e-fetch-field 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 0e26634c56 mu4e: remove mu4e-list-archives.el for now
We don't need it (yet)
2023-05-10 18:48:15 +03:00
Ruijie Yu 1ed1e486d4 Updates to mu4e-contacts.el
* mu4e/mu4e-contacts.el (mu4e-personal-address-p): Fix docstring
error (return nil *only if* the address does not match any of the
personal addresses, not the other way around).  Unwrap
unnecessary (if COND t nil) to just COND because its caller
`seq-find' only distinguishes between nil and non-nil.
(mu4e-personal-address): Add space in defun between name and args.
Ensure double space after a sentence ends.  Convert a duplicated
call of (mu4e-server-properties) into using when-let and reusing
its result.
2023-05-10 12:10:13 +08:00
Dirk-Jan C. Binnema 91fea8e16e Merge branch 'view-list-archives' 2023-05-07 11:42:46 +03:00
Dirk-Jan C. Binnema 581f8d7e92 mu4e-lists: doc updates 2023-05-06 09:53:56 +03:00
Dirk-Jan C. Binnema 8e724e73e9 mu4e-lists: remove some debugging
surgeon left some instruments in patient; let's remove.
2023-05-06 09:46:32 +03:00
Ruijie Yu 3018ceeb86 Add actions to browse online archive for a mailing list message
* mu4e/mu4e-headers.el (defcustom mu4e-header-actions): Convert
from defvar.  Add action for browsing online archive.
* mu4e/mu4e-view.el (defcustom mu4e-view-actions): Change use of
`seq-filter' to `delq'.  Add action for browsing online archive.
2023-05-05 23:10:21 +08:00
Ruijie Yu da41f5060d Add functionality for finding an online archive for a ML message
* mu4e/mu4e-lists.el (defgroup mu4e-lists): New group.

* mu4e/mu4e-list-archives.el: New file.
(defgroup mu4e-list-archives): New group.
(defcustom mu4e-list-archives-user-actions): New customizable
variable for locating online archive.
(mu4e-list-archives--get-recipients): New helper function for
getting all recipients of a mail.
(mu4e-list-archives-resolve-debbug): New function for resolving
archive url on debbug systems.
(mu4e-list-archives--resolve-namazu): New helper function for
resolving real archive url from namazu search page.
(defcustom mu4e-list-archives-resolve-namazu-search): New
customizable variable for disabling namazu resolution because it
incurs a url fetch.
(mu4e-list-archives-resolve-mailman-namazu): New function for
getting the namazu search url for mailman systems.  This is as
close as possible without fetching any url.
(defconst mu4e-list-archives-actions): New constant for builtin
supported mailing lists.
(mu4e-list-archives-resolve): New function to resolve the concrete
url to the mailing list archive.

* mu4e/mu4e-actions.el (mu4e-actions-browse-list-archive): New
command for browsing the online archive of a mailing list.
(mu4e-actions-kill-list-archive): New command for putting the url
to the online archive of a mailing list onto the kill ring.
2023-05-05 23:09:33 +08:00
Dirk-Jan C. Binnema 88ec2b86ce mu4e-lists: modernize
Remove some obsolete mailing lists form the "built-in" ones.

Make the mailing list blob plists, so we can more easily add new ones.

Update the handler functions for this.
2023-05-04 20:47:42 +03:00
Dirk-Jan C. Binnema ada6ff6260 mu4e/thread: only when available
Fixes #2479.
2023-05-04 01:13:29 +03:00
Dirk-Jan C. Binnema c01ea37abf mu4e/thread: don't eat next thread when folding
For #2478.
2023-05-04 01:13:29 +03:00
Dirk-Jan C. Binnema 5fde962a9e build: bump version to 1.11.4 2023-04-30 12:40:37 +03:00
Dirk-Jan C. Binnema f02f1c282c mu4e-headers: mu4e~headers-move: consider folded headers
Ensure going backwards over folded headers works.
2023-04-30 12:38:16 +03:00
Dirk-Jan C. Binnema 9544473e35 mu extract/view/verify: allow reading message from stdin
Fixes #1463.
2023-04-30 10:35:28 +03:00
Dirk-Jan C. Binnema 3a05dd8725 lib/utils: implement read_from_stdin 2023-04-29 23:01:12 +03:00
Dirk-Jan C. Binnema e4af910d04 utils: implement g_cancellable_new_with_timeout 2023-04-29 23:01:12 +03:00
Dirk-Jan C. Binnema 2c69a6d84b mu4e: tweak threading for thread-end 2023-04-24 22:19:19 +03:00
Dirk-Jan C. Binnema 5290d64d66 mu4e-headers: make mu4e~headers-prev-or-next-thread return (point)
Or nil if not found.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema e2947f181d mu4e: add thread support to message-view
No keybindings yet, since TAB etc. conflict.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema 36d89f400f message: remove control characters from subject
And add a unit-test.

Fixes #2477
2023-04-24 21:52:13 +03:00
Dirk-Jan C. Binnema a3538e5ef1 store: small cleanups
Remove readonly/inmemory from properties. Add read_only() accessor.
2023-04-23 20:26:16 +03:00
Dirk-Jan C. Binnema 1acf00bdd5 mu4e: fix errors/warning in mu4e.texi 2023-04-23 16:07:12 +03:00
Dirk-Jan C. Binnema 1ec363b1e6 meson.build: avoid clang build warning 2023-04-23 16:06:42 +03:00
Dirk-Jan C. Binnema 1b8bcb3df3 build: bump version to 1.11.3 2023-04-23 12:20:07 +03:00
Dirk-Jan C. Binnema 50d559deb4 mu4e: do not allow marking folded message
Safety first!
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema 0fdc64ad1a mu4e-thread: add mu4e-thread-fold-single-children
Allow for customizing the folding of single children.
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema a81b540f66 mu4e-thread: use mu4e-headers-(prev|next)-thread
Use the existing implementation.
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema b73e075c7b mu4e-thread: share mu4e-headers-thread-root-p with threads
Add mu4e-headers-thread-rootp which follows the mu4e-threads definition;
and use it in both mu4e-headers and mu4e-threads
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema d8817c1b74 mu4e-thread: integrate in mu4e-headers / build 2023-04-23 12:06:59 +03:00
Dirk-Jan C. Binnema 4181f6ad07 mu4e-thread: update documentation 2023-04-23 12:03:01 +03:00
Dirk-Jan C. Binnema b28a591077 mu4e-thread: fix byte-compiler & flycheck warnings 2023-04-20 14:32:11 +03:00
Nicolas P. Rougier 1012cb7232 Added mu4e-thread.el 2023-04-19 18:36:29 +02:00
Dirk-Jan C. Binnema 3885ae9a82 mu4e: add defvar mu4e-headers-open-after-move
Allow customizing whether to open the message after moving around in the
headers buffer. This meant for let-binding when scripting, e.g.,

(defun mark-and-quit ()
  (interactive)
  (let ((mu4e-headers-open-after-move nil))
    (mu4e-view-mark-for-refile)
    (mu4e-view-quit)))

in the view marks the current messages, then moves point to next message
without opening it.
2023-04-16 11:09:55 +03:00