Commit Graph

23 Commits

Author SHA1 Message Date
f725594636 mu4e-query-items: allow refreshing the cache 2025-05-08 09:24:51 +03:00
174c8aa575 mu4e-query-items: ensure :key is in results
This worked earlier accidentally....
2025-04-17 00:12:41 +03:00
6f228fc505 mu4e: clean up mu4e--make-query-items
Automatically copy all key-values from the source item.
2025-04-12 15:07:28 +07:00
a15e640eb7 mu4e: implement :hide-if-no-unread
Make mu4e-maildir-shortcut and mu4e-bookmarks understand a property
:hide-if-no-unread~, which hides the maildir/bookmark from the main-view
if there are no unread messages which the corresponding query.
2025-03-08 11:57:58 +02:00
055cb774e0 mu4e: show short counts next to maildir/bookmark entry
When you ask for bookmarks or maildirs through mu4e-ask-bookmark,
mu4e-ask-maildir, the counts are displayed in the (default) completions
next to the maildirs. This is a shorter version of the full display,
just showing either the delta or the number of unread messages, if any.
If you don't want to see these counts, there is mu4e-hide-short-counts.
2025-02-05 12:32:52 +02:00
49606a76ab mu4e: cosmetics 2024-12-06 19:50:10 +02:00
806033f164 mu4e-query-items: improve documentation
Possibly useful for #2741.
2024-08-16 21:14:00 +02:00
8fc13ab8f3 mu4e: Shorten descriptions a bit 2023-09-20 22:31:19 +03:00
67c8ff75a7 Fix missing or incorrect descriptions in file headers
Try to make useful descriptions and use conventional --- to separate filename
from description.
2023-09-20 22:04:48 +03:00
d5129052df mu4e: implement mu4e-search-query
Pick a query using completing-read with a new command mu4e-search-query.
Update docs.
2023-08-09 23:24:47 +03:00
fc1f9b5b0a mu4e-query-item: reset mu4e--last-delta-unread
Fixes #2447.
2023-04-11 09:49:26 +03:00
5bda666dbc Merge pull request #2457 from RuijieYu/fix-defcustom-warnings
Fix defcustom type definitions
2023-04-01 19:14:46 +03:00
e5b33c29d1 Fix defcustom type definitions
So that the type definitions reflects the docstrings more closely.  In additon,
fixed warnings from flymake about docstring.

* mu4e/mu4e-draft.el
mu4e-compose-keep-self-cc: should be a comma

* mu4e/mu4e-folders.el
mu4e-maildir-shortcuts: recognize new (plist) format

* mu4e/mu4e-helpers.el
mu4e-debug: removed unnecessary double space in docstring

* mu4e/mu4e-query-items.el
mu4e-query-rewrite-function: prepend "\\=" before column 0 "(" in docstring

* mu4e/mu4e-search.el
mu4e-search-sort-field mu4e-search-sort-direction: used radio in types

* mu4e/mu4e-server.el
mu4e-mu-binary: "mu" executable must exist

* mu4e/mu4e-view.el
mu4e-view-fields: fixed type
mu4e-view-actions: for function refs, prefer "#'" rather than "'"
2023-04-01 15:59:16 +08:00
e6d6f5014d mu4e: handle functionp queries in mu4e--make-query-items 2023-03-29 09:07:33 +03:00
137e800fd0 mu4e-query-items: clear cached bookmarks/maildirs
When refreshing, so they get properly updated.
2023-02-02 23:48:44 +02:00
4b12061efb mu4e-query-items: cosmetic
Fix flycheck warning
2023-01-24 23:43:55 +02:00
61299b853c mu4e: tweak baseline handling 2023-01-20 07:08:16 +02:00
d0d85c9135 mu4e: query-item: tweak baseline handling 2023-01-20 00:14:46 +02:00
e97dcb1ff7 mu4e: tweak mu4e--query-items-queries-handler 2023-01-18 17:11:58 +02:00
22b2d44b96 mu4e: tweak query-items refreshing
Try to make it a bit less confusing. The baseline becomes a bit more
implicit, and a `g` in the main view refreshes / resets.
2023-01-16 13:15:40 +02:00
eb691f8f31 mu4e-query-items: handle rewritten queries
We need to rewrite the queries that we send as server queries, and we
need to use those same rewritten queries when processing the results.
2023-01-16 13:15:40 +02:00
5713a18374 mu4e: apply query-rewrite-function to query-items too
Some users depend on this.
2023-01-16 11:59:13 +02:00
10041eb2e1 mu4e: implement mu4e-query-items
Implement function / datas structure to conveniently aggregate all
query-related data, for reuse in various places in mu4e...

... to start with the main menu, which gets much simpler. And the
modeline.
2023-01-13 21:56:15 +02:00