Dirk-Jan C. Binnema
0c04300f61
mu4e-helpers: support completing-read for mu4e-read-option
...
Instead of using mu4e's tradional completion UI, allow for delegating to
some implementation of completing-read.
Default
mu4e-read-option-use-builtin t
means that things work more-or-less as before.
2023-02-16 21:22:37 +02:00
Al Haji-Ali
51ba56cf6e
mu4e-helpers: import new/mu4e--read-char-choice
...
Starting point; see issue #2157 .
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema
a8c0bbd390
mu4e-folders: use mu4e-read-option
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema
edb8cf17a9
mu4e-bookmarks: use mu4e-read-option
...
Use the generic function.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema
0354fa4fac
mu4e-helpers: rework mu4e-read-option
...
Rework the mu4e-read-option code to be a bit easier to (re)use.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema
d55cba7237
mu4e: fix quotes in some docstrings
...
Escape correctly.
2023-02-15 12:29:24 +02:00
Dirk-Jan C. Binnema
e4cf881c91
mu4e: install el copies a read-only
...
To avoid changing the build/ copies rather than the sources.
2023-02-15 12:29:24 +02:00
Dirk-Jan C. Binnema
92ac6de09c
mu4e: support jumping to previous/next thread
...
in headers view, message view with '{' and '}.
Also update documentation.
Fixes #1523
2023-02-12 12:58:05 +02:00
Dirk-Jan C. Binnema
88cb22d178
mu4e: integrate mkdir better into mu4e
...
When moving to a non-existent folder, offer to create it and proceed from
there (that _almost_ worked earlier).
Fixes #628
Fixes #477
2023-02-12 11:17:59 +02:00
Dirk-Jan C. Binnema
c70d4b70d2
mu4e-main: better handle :name workaround for maildirs
...
Distinguish between the lambda and normal activation functions.
2023-02-12 11:07:42 +02:00
Dirk-Jan C. Binnema
e1a160a8e5
mu4e-main: just mu4e-search for maildir query
...
When activated.
2023-02-12 00:34:06 +02:00
Dirk-Jan C. Binnema
6559f0f86e
mu4e: show actual keybindings in main-view
...
Let the main-screen show a representation of the *actual* keybindings
rather than assuming the defaults.
For that to work, we need to invoke mu4e-main-mode earlier; add a new
hook mu4e-main-mode-rendered-hook which is invoked after rendering is
complete.
Add a few helpers for this to mu4e-helpers.
2023-02-11 17:50:58 +02:00
Dirk-Jan C. Binnema
5df98d57cb
Merge pull request #2428 from leotaku/bug-reference-no-override
...
Only add bug-reference setup function after the feature was loaded
2023-02-03 19:07:47 +02:00
Leo Gaskin
d4cb318bc1
Only add bug-reference setup function after the feature was loaded
...
This is done so that we do not override the default defvar value of
bug-reference-auto-setup-functions but instead add our own hook to it.
2023-02-03 13:32:34 +01:00
Dirk-Jan C. Binnema
137e800fd0
mu4e-query-items: clear cached bookmarks/maildirs
...
When refreshing, so they get properly updated.
2023-02-02 23:48:44 +02:00
Dirk-Jan C. Binnema
66d20d04f5
mu4e-main: small cleanups
2023-02-02 23:48:16 +02:00
Dirk-Jan C. Binnema
bbea9e5374
mu4e-bookmarks: whitespace fixes
2023-02-02 23:47:18 +02:00
Dirk-Jan C. Binnema
ea08378ce6
mu4e-server: sync up error code with backend
2023-01-31 23:41:57 +02:00
Dirk-Jan C. Binnema
7610e86e97
mu4e: move some defcustoms to mu4e-vars.el
2023-01-31 19:50:07 +02:00
Dirk-Jan C. Binnema
0ee86ac923
mu4e: make eldoc support configurable
...
Add new defcustom, mu4e-eldoc-support, turn it off by default.
2023-01-31 19:50:07 +02:00
Andreas Hindborg
b3614fd3c2
mu4e: Allow completion for symbolic links in maildir
...
This patch allows mu4e to autocomplete when `mu4e-root-maildor` contains
symbolic links to other maildirs. Without this patch mu4e can still work when
directories under `mu4e-root-maildor` are symlinks, but it will not autocomplete
properly when using `mu4e-search-maildir`.
Signed-off-by: Andreas Hindborg <nmi@metaspace.dk>
2023-01-31 16:02:30 +01:00
Dirk-Jan C. Binnema
86edc7d5fc
mu4e: improve server error display
...
Fixes #2328
2023-01-29 16:37:08 +02:00
Dirk-Jan C. Binnema
29e6c21ed8
mu4e: use mu4e-join-paths
2023-01-27 09:25:40 +02:00
Dirk-Jan C. Binnema
491f9e91ff
mu4e: rework mu4e--file-name-concat into mu4e-join-paths
...
We also need to handle slashes at the *start*.
2023-01-27 09:25:19 +02:00
Dirk-Jan C. Binnema
d3966926a9
mu4e-notifications: show notifications for new messages
...
Filter out the _same_ new messages.
2023-01-26 21:35:42 +02:00
Dirk-Jan C. Binnema
abf0e259a2
mu4e: implement mu4e--file-name-concat
2023-01-26 21:35:18 +02:00
Dirk-Jan C. Binnema
930c5b79c8
mu4e-context: small cleanups
...
Only refresh query-items when switch from existing context.
Some cosmetics
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema
7d17b1c15b
mu4e: small cleanup in startup
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema
4b12061efb
mu4e-query-items: cosmetic
...
Fix flycheck warning
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema
d6b5384ac1
mu4e: some cosmetic fixes in mu4e-icalendar
...
Use mu4e--icalendar rather then mu4e~icalendar.
Fix some flycheck warnings
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema
ad51082472
mu4e: tweak notification message
2023-01-20 19:12:19 +02:00
Dirk-Jan C. Binnema
61299b853c
mu4e: tweak baseline handling
2023-01-20 07:08:16 +02:00
Dirk-Jan C. Binnema
d0d85c9135
mu4e: query-item: tweak baseline handling
2023-01-20 00:14:46 +02:00
Dirk-Jan C. Binnema
85d2fdcdd7
mu4e: ignore bookmarks/maildirs without characterp keys
2023-01-19 22:37:50 +02:00
Dirk-Jan C. Binnema
87187d15d6
mu4e-mark: add confirmation for mu4e-mark-unmark-all
...
Fixes #1234
2023-01-19 22:37:50 +02:00
Dirk-Jan C. Binnema
c23dad7058
mu4e-view: use with-selected-window in mv--in-headers-context
...
Fixed #1394
2023-01-18 20:32:34 +02:00
Dirk-Jan C. Binnema
ae10d3a3f8
mu4e-main: put bookmark/maildir query in help-echo
2023-01-18 19:41:25 +02:00
Dirk-Jan C. Binnema
817675d83c
mu4e-draft: cleanup, honor reply-to
...
Fixes #2420
2023-01-18 17:11:58 +02:00
Dirk-Jan C. Binnema
e97dcb1ff7
mu4e: tweak mu4e--query-items-queries-handler
2023-01-18 17:11:58 +02:00
Dirk-Jan C. Binnema
6271d0119b
mu4e: update documentation
2023-01-18 17:11:58 +02:00
Dirk-Jan C. Binnema
6307a0db90
mu4e: mark-mu4e-quote-for-modeline obsolete
...
Becoming an internal function, mu4e--modeline-quote-and-truncate
2023-01-18 00:15:40 +02:00
Dirk-Jan C. Binnema
190ace5574
mu4e: show bookmark name in modeline
...
... if there's a bookmark matching the current query. Controllable
through mu4e-modeline-prefer-bookmark-name.
Fixes #1318 .
2023-01-17 19:56:33 +02:00
Dirk-Jan C. Binnema
413bdc0980
mu4e-bookmarks: improve modeline item
2023-01-17 19:56:33 +02:00
Dirk-Jan C. Binnema
54210b9c4e
mu4e.texi: improve documentation
2023-01-17 18:46:03 +02:00
Dirk-Jan C. Binnema
891c5838da
mu4e-search: improve search modeline item
2023-01-17 18:46:03 +02:00
Dirk-Jan C. Binnema
74fb72035a
mu4e: tweak main-view updating
2023-01-17 18:45:40 +02:00
Dirk-Jan C. Binnema
d7eed9e9ff
mu4e-context: improve mode-line item
2023-01-17 18:45:40 +02:00
Dirk-Jan C. Binnema
3716e6da3b
mu4e-modeline: only cache global items, improve layout
...
So buffer-local items get flushed out automatically when we leave the
buffers where the local items were specified.
Honor mu4e-modeline-max-width
2023-01-17 18:45:40 +02:00
Dirk-Jan C. Binnema
ec403c2306
mu4e: remove mac/ci texi pain point
2023-01-16 22:44:10 +02:00
Dirk-Jan C. Binnema
1b25dc0b88
mu4e.texi: fix some makeinfo warnings
2023-01-16 22:35:20 +02:00
Dirk-Jan C. Binnema
72a9ee9d4b
mu4e-view: fix misplaced bracket
...
Fixes #2416 .
2023-01-16 22:20:33 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
5713a18374
mu4e: apply query-rewrite-function to query-items too
...
Some users depend on this.
2023-01-16 11:59:13 +02:00
Dirk-Jan C. Binnema
ee8a59e6a5
mu4e-context: refresh/update query items upon switch
2023-01-16 11:59:13 +02:00
Dirk-Jan C. Binnema
08cb28da8c
mu4e: implement optional desktop notifications
2023-01-16 11:59:13 +02:00
Dirk-Jan C. Binnema
b37cf7341b
mu4e-headers: avoid some too-long lines
...
In the source code.
2023-01-16 11:59:13 +02:00
Aimé Bertrand
99b6820336
Correct 2 docstrings in mu4e-folders.el
...
* mu4e/mu4e-folders.el: Correct few docstrings
(mu4e-get-drafts-folder): Fix docstring
(mu4e-get-trash-folder): Fix docstring
2023-01-15 22:45:28 +01:00
Tassilo Horn
e88c869d6e
Multiword maildirs are not quoted when autocomplete is used ( fixes #2389 )
2023-01-15 14:31:46 +01:00
Stephen Eglen
20fe650714
When replying to self, use :from field of original message
...
Simple patch to fix #2403
2023-01-14 22:41:31 +00:00
Dirk-Jan C. Binnema
526742af9f
mu4e.texi: update mu4e-search references
...
The -headers- names were obsoleted.
Resolves #2407 .
2023-01-14 20:02:05 +02:00
Dirk-Jan C. Binnema
d428219ee6
mu4e-bookmarks: fix typo
...
resolves #2408 .
2023-01-14 20:02:05 +02:00
Dirk-Jan C. Binnema
a8d2476f08
mu4e-view: select window when operating in headers context
...
Fixes #2398
2023-01-14 20:02:05 +02:00
Dirk-Jan C. Binnema
a86ed97f66
Merge pull request #2401 from sje30/patch-9
...
Update mu4e.texi
2023-01-14 20:00:21 +02:00
Dirk-Jan C. Binnema
10497436f3
mu4e.texi: small updates
2023-01-14 09:22:36 +02:00
Dirk-Jan C. Binnema
4182e599de
mu4e-view: update baseline display
...
Make it a bit less prominent; and add a command mu4e-baseline-time.
2023-01-14 09:04:43 +02:00
Dirk-Jan C. Binnema
d0e79d9429
mu4e: kill update process when quitting
2023-01-14 00:23:12 +02:00
Dirk-Jan C. Binnema
a629caef1a
mu4e: avoid byte-compiler warnings
2023-01-13 21:56:15 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
fc867c9065
mu4e-folders: fix whitespace
2023-01-09 23:56:34 +02:00
Dirk-Jan C. Binnema
f5f03e8f91
mu4e-main: add menu to menubar
2023-01-09 22:45:53 +02:00
Dirk-Jan C. Binnema
b11293147f
mu4e: move mu4e~headers-jump-to-maildir to search
...
... to mu4e-search-maildir.
Where we can, we move appropriate code from the overpopulated
mu4e-headers.el to mu4e-search, and update users.
2023-01-09 22:43:39 +02:00
Dirk-Jan C. Binnema
551bc46b47
mu4e: improve emacs menu-bar items
...
Fixes issue #2406 .
2023-01-09 22:13:24 +02:00
Dirk-Jan C. Binnema
5e5a74ed22
mu4e: use caching for modeline items
...
Avoid excessive (unnecessary) recalculation.
2023-01-08 13:54:47 +02:00
Dirk-Jan C. Binnema
f77bc903e7
mu4e: move modeline handling from mu4e-headers to mu4e-search
2023-01-08 13:31:51 +02:00
Dirk-Jan C. Binnema
1e018ee1fc
mu4e: remove keybindings from mu4e-context-minor-mode
...
They interfered with the major modes (in particular the undefine hack
needed in mu4e-compose).
Fixes #2402 .
2023-01-07 17:13:36 +02:00
Dirk-Jan C. Binnema
441c450004
mu4e-compose: whitespace fixes
2023-01-07 17:13:36 +02:00
Dirk-Jan C. Binnema
49b687ec67
mu4e.texi: Improve documentation
2023-01-07 16:25:56 +02:00
Dirk-Jan C. Binnema
687fc53855
mu4e: update documentation for modeline/favorite
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema
49e094531c
mu4e: add support for :favorite bookmark
...
Show favorite bookmark in main-screen (highlighted)
Add baseline-reset when main screen is shown or when the favority
bookmark is searched.
Some code cleanup
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema
f0f14d7505
mu4e-bookmarks: show favorite bookmark info
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema
17b7790686
mu4e: handle the new queries command responses
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema
beb2bef8dd
mu4e-modeline: refactor modeline support
...
Move all the modeline code to new mu4e-modeline.el, and update
mu4e-context and mu4e-headers to use it.
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema
da02a954fa
mu4e: avoid some compiler warnings
2023-01-04 23:06:07 +02:00
Stephen Eglen
182a26f664
Update mu4e.texi
...
Suggestion to mention how to change contexts manually.
2023-01-04 12:57:45 +00:00
Dirk-Jan C. Binnema
b1b11eb0cb
Merge pull request #2395 from bjcohen/bjcohen/fix-split-view-single-window-nil
...
mu4e-view: don't delete window on view msg in single-window mode
2023-01-04 00:26:50 +02:00
Dirk-Jan C. Binnema
c2d5ded634
mu4e: rebuild elc if any el changes
...
Avoid outdated elcs.
2023-01-04 00:19:47 +02:00
Dirk-Jan C. Binnema
4b78449b62
mu4e: use define-obsolete-variable-alias
2023-01-03 23:18:44 +02:00
Dirk-Jan C. Binnema
8137443b53
mu4e.el: load mu4e-obsolete as the very first.
2023-01-03 23:10:55 +02:00
Dirk-Jan C. Binnema
675f5a7f93
mu4e: improve elc compilation build-target
...
--directory comes first
2023-01-03 23:08:49 +02:00
Dirk-Jan C. Binnema
9f1e626ef7
mu4e: move some more variables from headers->search
...
We were incomplete.
2023-01-03 23:08:17 +02:00
Ben Cohen
bade0d52fb
mu4e-view: don't delete window on view msg in single-window mode
2023-01-02 16:29:36 -05:00
Dirk-Jan C. Binnema
b9841942d8
mu4e: build: don't depend on mu4e-obsolete for building
2023-01-02 17:45:39 +02:00
Dirk-Jan C. Binnema
953bd95246
mu4e: improve interactive check for baseline reset
2023-01-01 15:01:21 +02:00
Dirk-Jan C. Binnema
7073d2af85
mu4e: update documentation
2023-01-01 15:01:08 +02:00
Dirk-Jan C. Binnema
ba5026e7dc
mu4e: support showing 'baseline' query-results
...
Add the concept of a query results baseline, i.e., the result for
bookmark-queries at some particular point in time. Later, we can compare
the results with the then-current query-results.
Show the delta in the main view. Add mu4e-reset-baseline-query-results
to reset the baseline to 'now'. By default, we automatically reset when
explicitly (interactively) going to the main-view, i.e., M-x mu4e.
2023-01-01 15:01:08 +02:00
Dirk-Jan C. Binnema
b7b97212ce
mu4e: move search functionality to mu4e-search
...
Move out of mu4e-headers; rename variables and callers.
2023-01-01 15:01:08 +02:00
Dirk-Jan C. Binnema
7fa8fe9165
mu4e: whitespace updates
2023-01-01 15:01:08 +02:00
Dirk-Jan C. Binnema
e435692bb2
mu4e-main: refactor bookmark/maildir menu creation
...
There was quite a bit of duplicate code, refactor it to reduce.
2022-12-30 23:30:45 +02:00
Dirk-Jan C. Binnema
3e3aeead9b
Revert "Add support for empty and string maildir shortcuts"
...
This reverts commit be695579c6
.
The change didn't look very nice (keynames are not aligned etc.), and in
hindsight we should probably implement this slightly differently.
2022-12-30 16:19:19 +02:00