Protesilaos Stavrou
8c42c43fd7
mu4e-compose: remove remap for unused face
...
The mu4e-cited-1-face does not exist any more, per commit
a4707afe12
.
2022-08-27 05:51:16 +03:00
Protesilaos Stavrou
339d841415
mu4e-compose: simplify mu4e~compose-remap-faces
2022-08-27 05:29:56 +03:00
Dirk-Jan C. Binnema
fafc7d3bf6
mu4e: include mu4e-obsolete.el
...
Fixes #2324 .
2022-08-23 19:33:49 +03:00
Dirk-Jan C. Binnema
68753f9e84
mu4e: move all obsolete aliases to mu4e-obsolete
...
Unclutter the rest of the code a bit.
2022-08-20 14:24:24 +03:00
Dirk-Jan C. Binnema
4fc00ccf32
mu4e: remove obsolete org-mu4e.el
...
It's been dead for a long time.
2022-08-20 13:46:57 +03:00
Dirk-Jan C. Binnema
18bf2d995d
mu4e: Add mu4e-header-field-face, avoid mu-header-key-face cycle
...
By default, mu4e-header-key-face inherits from message-header-name; this
leads to warnings when we later remap the latter to the former in
mu4e-compose.el.
We don't want to change the definition of mu4e-header-key-face (it's
used widely in mu4e); so we add a new face mu4e-header-field-face
for *just* mu4e-compose and which does not inherit.
Fixes #2321 .
2022-08-20 13:29:04 +03:00
Dirk-Jan C. Binnema
48681b8cfb
mu4e-server: make buffer invisible
...
Prepend a SPC to the name so it become "invisible".
Issue #2322 .
2022-08-20 12:10:09 +03:00
Dirk-Jan C. Binnema
2ed905ef09
mu4e: update reference manual
...
Update the build instructions.
2022-08-20 11:58:30 +03:00
Dirk-Jan C. Binnema
e416a5215f
autotools: remove
...
Since 2008, autotools has served us well - thank you!
However, mu is now using meson build, and it's time to remove the
autotools support -- one build system is enough.
2022-08-20 11:19:29 +03:00
Dirk-Jan C. Binnema
3ba2c4ea08
mu4e-headers: do not nillify mu4e~view-message
...
In mu4e~headers-clear, do not set mu4e~view~message to nil; it may still
be in use.
2022-08-15 23:15:38 +03:00
Dirk-Jan C. Binnema
8a6da6a869
mu4e: be more precise about non-nil in server
...
As seen in #2310 , we should test for non-nil for some parameters rather
then expect them to be literally nil or t.
Also update some docstrings.
2022-08-07 11:47:06 +03:00
Dirk-Jan C. Binnema
a4b8471ba6
mu4e: fix mu4e-action-add-org-contact for new format
...
The sexp address format changed, but mu4e-action-add-org-contact wasn't.
Fixes #2306 .
2022-07-28 07:29:31 +03:00
Dirk-Jan C. Binnema
ad7f5cac92
mu4e-message: avoid mu4e-message-at-point misfiring
...
Belt-and-suspenders fix for already-fixes issue #2299 .
2022-07-17 13:57:28 +03:00
Dirk-Jan C. Binnema
f77f8f743e
mu4e: load mu4e-view earlier
...
This avoids some setup/configuration problems for some people.
Fixes #2301
2022-07-17 13:53:34 +03:00
Dirk-Jan C. Binnema
d62fc66104
mu4e-headers: clear view message when clearing headers
...
This avoids showing an old message when clicking an empty headers
buffer.
Fixes #2299 .
2022-07-16 16:56:55 +03:00
Dirk-Jan C. Binnema
46476fc001
mu4e: add mu4e-copy-thing-at-point
...
Copy the thing (url or email) at point, similar to the feature in the
pre-gnus view. Bind to 'c' in the message-view.
2022-07-13 23:35:16 +03:00
Dirk-Jan C. Binnema
39d7096bba
mu4e-main: rewrite mu4e--main-menu
...
The old one had bit-rotted quite a bit.
Fixes #2296 .
2022-07-07 00:52:32 +03:00
Dirk-Jan C. Binnema
4a3069a5b5
mu4e-helpers: fix mu4e-is-mode-or-derived-p
2022-07-05 00:11:34 +03:00
Dirk-Jan C. Binnema
dc44165ada
mu4e-message: remove dead alias
...
Fixes #2293
2022-07-05 00:06:53 +03:00
Manuel Wiesinger
be695579c6
Add support for empty and string maildir shortcuts
2022-07-04 12:54:13 +02:00
Manuel Wiesinger
f16f4b5e3c
Add optional name for maildir shortcuts
2022-07-04 11:46:39 +02:00
Dirk-Jan C. Binnema
8f1d83e4b2
build: add 'lispdir' option
...
Add lispdir option for installing mu4e in a custom directory, which what
some pre-meson users tended to do with --lispdir.
Passing '-Dlispdir=/tmp/foo/bar' causes the mu4e files to be installed
in /tmp/foo/bar/mu4e.
Should help for issue #2287 .
2022-07-02 12:18:51 +03:00
Dirk-Jan C. Binnema
5e3e2cf28e
build: use install-info when installing mu4e/guile
...
So the docs can be found.
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema
99eb3bb674
mu4e-compose: handle message-cite-reply-position later
...
Can't really repro the problem. Perhaps I don't have hidden heders?
Anyway, can't hurt to move it after that.
Fixes #2283 .
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema
d139be3df6
mu4e.texi: minor improvements
2022-06-30 21:30:27 +03:00
Dirk-Jan C. Binnema
6cb38c8125
mu4e: include version.texi.in for doc generation
...
We use it for the mu4e ref docs.
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema
c1793e0f6b
mu4e: generate version.texi in meson build
...
So docs get the right version
2022-06-29 07:53:27 +03:00
Dirk-Jan C. Binnema
9f3c80f4dd
headers: reduced 'related' face priority
...
Don't use the 'related' face for messages which are *also* unread etc.
2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema
b43ac49bdf
mu4e.texi: remove duplicate iCalendar note
...
One is enough
2022-06-18 15:25:45 +03:00
Dirk-Jan C. Binnema
5e63b8bed3
mu4e-draft: better sender in list-reply dialog
...
Don't show the raw lisp object.
2022-06-16 22:48:37 +03:00
Dirk-Jan C. Binnema
ff8e0455dc
mu4e-compose/compose-mail: add brackets for in-reply-to
...
Seems in some contexts we get them _without_ brackets in other-headers; so let's
fix that up.
Fixes #2273 .
2022-06-14 23:48:43 +03:00
Dirk-Jan C. Binnema
1a84a57e05
mu4e-headers: implement mu4e-headers-toggle-setting
...
Make it easier to toggle various header-view settings and display them in the mode-line.
2022-06-11 12:07:50 +03:00
Dirk-Jan C. Binnema
65d2005422
mu4e-update: fix typo
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema
3aaf29303e
mu4e-headers: add calendar mark
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema
7b83605019
mu4e-view: fix naming of temp files
2022-06-07 23:06:33 +03:00
Dirk-Jan C. Binnema
f16224c33a
mu4e: don't loop mu4e-update-index when index is empty
...
Fixes: issue #2240 .
2022-06-05 12:08:35 +03:00
Dirk-Jan C. Binnema
63521300a3
mu4e: avoid some warnings in doc-generation
2022-06-02 21:04:30 +03:00
Dirk-Jan C. Binnema
edce618d7d
mu4e-server: add mu4e-kill-stale
...
Kill off any stale mu4e servers upon startup....
Should help for some corner cases like issue #2198 .
2022-05-31 23:35:51 +03:00
Dirk-Jan C. Binnema
59022e066d
mu4e: revamp emacs bookmark support
...
The support for emacs in bookmarks in mu4e-contrib has been broken for a while;
we removed it an now re-implement it as part of mu4e-proper.
Fixes: issue #2255 .
2022-05-29 12:31:39 +03:00
Dirk-Jan C. Binnema
8720310679
mu4e-contrib: remove bookmark support, cleanup a bit
...
Bookmark support was broken (and has been for a while). Remove it.
2022-05-29 12:28:42 +03:00
Dirk-Jan C. Binnema
cf0f72e4a4
mu4e: use mu4e-config instead of mu4e-meta
...
All these changes to avoid:
,----
| mu4e/meson.build:92: WARNING: Source item '/home/djcb/Sources/mu/build/mu4e/mu4e-meta.el' cannot be converted to File object, because it is a generated file. This will become a hard error in the future
`----
This is because we want to byte-compile a file we just before generated using
configure_file. This does not seem like a crazy thing, but meson threatens with
breaking the build at some point in the future.
So instead, we decide _not_ to compile this (very boring) file. But, users may
still have an older mu4e-meta.elc lying around, leading to confusion.
So, let's rename that file and we're golden.
2022-05-29 11:10:58 +03:00
Dirk-Jan C. Binnema
b1ff292bbb
mu: support MUHOME environment variable
2022-05-29 11:10:46 +03:00
Dirk-Jan C. Binnema
926b49220e
mu4e-message: remove dead code
2022-05-29 00:17:41 +03:00
Christophe Troestler
c8fcf4eccf
Make mu4e-message-contact-field-matches accept a list of fields
...
Fixes https://github.com/djcb/mu/issues/2265
2022-05-28 20:08:05 +02:00
Dirk-Jan C. Binnema
a1f0c5e9eb
mu4e: fix emacs-29 bytecompiler warnings
...
Wrong single quotes.
2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema
a1461a47f3
Merge pull request #2262 from progfolio/fix/org-link
...
mu4e-org-store-link: prevent error when no message at point
2022-05-28 00:23:29 +03:00
Nicholas Vollmer
f82d5e62b7
mu4e-org-store-link: prevent error when no message at point
...
The error can cause org-store-link to short circuit before it should.
2022-05-24 17:26:34 -04:00
Dirk-Jan C. Binnema
15abda26e7
mu4e.texi: update documentation
2022-05-23 23:55:41 +03:00
Dirk-Jan C. Binnema
aea2f58c77
mu4e: add command mu4e-sexp-at-point
...
Add command ~mu4e-sexp-at-point~ for showing/hiding the s-expression for the
message-at-point. Useful for development / debugging. Bound to ~,~ in headers and
view mode.
2022-05-14 20:45:33 +03:00
Christophe Troestler
3caa22596b
Reintroduce mu4e-headers-from-or-to-prefix to customize the prefix
2022-05-14 10:53:27 +02:00
Dirk-Jan C. Binnema
cdd0256664
mu4e: Show 'related' messages with mu4e-related-face
...
And tweak some of the modeline labels.
2022-05-12 08:56:13 +03:00
Dirk-Jan C. Binnema
ccdc45c4fa
mu4e: doc improvements, mu4e-compose-complete-max to nil
2022-05-12 08:56:13 +03:00
Tassilo Horn
34fe094561
Simplify mu4e-view-mode-map creation and fix -
binding
...
`mu4e-view-mode-map` was initialized from a sparse keymap and eventually passed
to `suppress-keymap` in order to remove bindings to `self-insert-command` which
obviously make no sense in read-only buffers. However, `suppress-keymap` also
remaps all digits and the minus sign to make prefix args, i.e., pressing 8
would be equal to `C-u 8` and `-` got bound to `negative-argument` instead of
`mu4e-view-mark-for-unflag` as defined.
While `suppress-keymap` has a `NODIGITS` arg to suppress the rebinding of
digits and minus sign (which would also mean that pressing a digit would try
inserting that digit and lead to an error), I chose the more straight-forward
solution and start from an empty rather than a sparse keymap and added the
`digit-argument` bindings for 0..9 explicitly.
2022-05-11 21:08:47 +02:00
Dirk-Jan C. Binnema
db86e7b5ee
mu4e: contacts: use mu4e--contacts-set
...
We use to have mu4e--contacts-hash, with name mapping to rank; that was
needlessly complicated since most completion engine sort alphabetically, making
the rank totally irrelevant (in practice, it doesn't matter much from the
end-user pov).
Anyway, simplify that part, maintain a set of contacts without any rank (which
what the server delivers now).
Also update the _default_ mu4e-contact-process-function to filter out anything
with 'reply' since it's not very useful for autocompletion.
2022-05-09 22:25:28 +03:00
Tassilo Horn
7ee53d69b8
Add support for flag:personal & fix mu4e-contacts-info
2022-05-09 10:43:11 +02:00
Kai von Fintel
5e36ce0274
Fixed typo in mu4e.texi
2022-05-08 08:53:49 -04:00
Thierry Volpiatto
94312b969c
mu4e: fix mu4e~headers-flag-str
2022-05-08 15:09:53 +03:00
Dirk-Jan C. Binnema
5e4fc603d9
mu4e: headers: add personal/list header flags
2022-05-08 14:49:43 +03:00
Dirk-Jan C. Binnema
c99f81ef4e
mu4e-vars: remove some obsolete header-info
...
No longer meaningful after the migration to gnus-view.
2022-05-08 14:49:43 +03:00
Dirk-Jan C. Binnema
85ba1456bb
mu4e: update reference documentation
2022-05-07 20:49:20 +03:00
Dirk-Jan C. Binnema
48311ea18d
mu/mu4e: tweak :list vs :mailing list
2022-05-07 20:48:21 +03:00
Dirk-Jan C. Binnema
80c9ffae1e
mu/mu4e: use :mailing-list as the mailing-list property
...
In queries you can use list: as before
This helps for issue #2246 .
2022-05-07 16:10:52 +03:00
Dirk-Jan C. Binnema
36165520ac
mu4e/headers: refresh some of the message flag marks
2022-05-07 16:10:52 +03:00
Dirk-Jan C. Binnema
ca08443f05
headers: turn off fancy chars for now
...
Temporary fix.
2022-05-07 14:21:23 +03:00
Dirk-Jan C. Binnema
f320c56c15
mu4e/headers: restoring mailing-list display
2022-05-07 10:11:46 +03:00
Dirk-Jan C. Binnema
9b88cec317
Merge pull request #2046 from nagy/list-buffers-directory
...
Assign `list-buffers-directory`
2022-05-07 09:33:31 +03:00
Dirk-Jan C. Binnema
d79488efdc
avoid warnings, update tests
2022-05-06 22:54:41 +03:00
Dirk-Jan C. Binnema
ec500d3ed4
update documentation
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
8844ddac23
mu4e: Update mu4e~headers-move
...
Fixes : #2339 .
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
836bfc9062
mu/mu4e: implement mu4e-compose-complete-max
...
Allow limiting number of contacts for auto-completion to a specific number;
defaulting to 2000.
2022-05-06 21:58:51 +03:00
Dirk-Jan C. Binnema
45aec819f6
mu4e: updates for core changes
...
Deal with (name . email) --> (:name "boo" :email "boo@example.com")
Add support for the new "changed" field.
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
b686c9da25
Merge pull request #2242 from tsdh/fn-valued-mu4e-view-open-program
...
Allow a function as mu4e-view-open-program
2022-04-30 10:35:46 +03:00
Dirk-Jan C. Binnema
edd9f88922
Merge pull request #2241 from tsdh/list-id-completion-in-search
...
Add support for List-Id completion (list:<List-Id>)
2022-04-30 10:34:39 +03:00
Dirk-Jan C. Binnema
43c66aa827
Merge pull request #2235 from danielfleischer/update-ts
...
Last updated timestamp in main screen
2022-04-30 10:34:15 +03:00
Dirk-Jan C. Binnema
c86d21657c
Merge pull request #2225 from PRESFIL/install-mu4e-about
...
meson: Install mu4e/mu4e-about.org
2022-04-30 10:33:19 +03:00
Tassilo Horn
0baa735f18
Allow a function as mu4e-view-open-program
2022-04-29 14:03:05 +02:00
Tassilo Horn
497dd16d7b
Add support for List-Id completion (list:<List-Id>)
2022-04-29 10:27:52 +02:00
Daniel Fleischer
eebb0eddd6
Last updated timestamp in the main screen
...
* mu4e/mu4e-main.el: showing last updated
based on the `:tstamp` of `mu4e-index-update-status` plist.
2022-04-18 19:06:54 +03:00
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
PRESFIL
5516422144
meson: Install mu4e/mu4e-about.org
...
`mu4e` expects this file when activating the [A]bout link in `mu4e-main`
view, but when building the `mu-git` package from the AUR, this file
did not appear in the resulting package.
Now this file is not lost.
2022-03-26 23:00:56 +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
Daniel Nagy
e1022fe9b1
Assign list-buffers-directory
to search query
...
for mu4e-header buffers, this displays the search query in
`M-x list-buffers` instead of showing an empty path column.
2021-12-02 11:17:53 +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
Nicholas Vollmer
baae737674
mu4e-search-edit: Fix obsolete alias; update documentation
...
Replace obsolete variable alias with obsolete function alias for mu4e-headers-search-edit.
Update docstring for mu4e-view-search-edit to reference the new function.
2021-10-03 10:33:49 -04:00
Thierry Volpiatto
a6207d6d08
Reset gnus-article-buffer
in mu4e-view
...
This is needed when gnus is used along mu4e for other purpose like
reading News, in this case gnus rename `gnus-article-buffer` and we
end up with an unrelated buffer-name in mu4e.
2021-09-30 16:56:46 +02:00
Dirk-Jan C. Binnema
4dc15334a6
mu4e-compose: fix some overly long lines
2021-09-30 15:41:38 +03:00
Dirk-Jan C. Binnema
a8ddc1728d
Merge pull request #2147 from tsdh/mu4e--update-buffer-fix
...
Fix refs to mu4e~update-buffer which has been renamed to mu4e--update-buffer
2021-09-30 15:39:17 +03:00
Dirk-Jan C. Binnema
4ecb59aed5
Merge pull request #2142 from tsdh/function-valued-mu4e-split-view
...
Allow a function as mu4e-split-view value
2021-09-30 15:38:43 +03:00
Dirk-Jan C. Binnema
3e27a613be
Merge pull request #2137 from thierryvolpiatto/fix_mu4e_get_view_buffer
...
Fix `mu4e-get-view-buffer` (#2132 )
2021-09-30 15:35:22 +03:00
Dirk-Jan C. Binnema
6f3c085490
Merge pull request #2129 from Chris00/master
...
mu4e-headers: Avoid the obsolete command warning
2021-09-30 15:34:27 +03:00
Tassilo Horn
1bf3054167
Fix refs to mu4e~update-buffer which has been renamed to mu4e--update-buffer
2021-09-29 21:21:35 +02:00
Tassilo Horn
f7985103e0
Allow a function as mu4e-split-view value
...
This allows to have a function returning a window as value of
`mu4e-split-view`. I'm using this patch since quite some time locally with the
following function.
```el
(defun th/mu4e-split-view ()
(let* ((headers (mu4e-get-headers-buffer))
(headers-win (and headers (get-buffer-window headers)))
(view (mu4e-get-view-buffer))
(view-win (and view (get-buffer-window view))))
(cond
;; There's a view window, just use it.
(view-win view-win)
;; Just one window, split sensibly, i.e., horizontally or
;; vertically depending on geometry.
((one-window-p) (split-window-sensibly))
;; Otherwise, use the tallest window.
(t (car (sort (delq headers-win (window-list))
(lambda (a b)
(> (window-height a) (window-height b)))))))))
(setq mu4e-split-view #'th/mu4e-split-view)
```
2021-09-25 13:51:44 +02:00
Tassilo Horn
731c58df16
Fix declare-function statements referencing gone mu4e-utils
2021-09-25 10:23:20 +02:00
Thierry Volpiatto
20de2c8659
Fix mu4e-get-view-buffer
( #2132 )
...
It actually returns a buffer-name whereas it should return a buffer
object which make `mu4e~switch-back-to-mu4e-buffer` fail because
`buffer-live-p` expects a buffer object.
2021-09-23 07:43:14 +02:00
Christophe Troestler
a12b44f3a3
mu4e-headers: Avoid the obsolete command warning
2021-09-08 09:24:14 +02:00
Christophe Troestler
76e0a79d87
mu4e-list: fix typo
2021-09-07 11:54:04 +02:00
Dirk-Jan C. Binnema
f7e0bce67d
mu4e.texi: remove docs on old message view
2021-09-05 10:57:41 +03:00
Dirk-Jan C. Binnema
964ab0e2c7
build: Extend makefile targets
...
Add a target for build mu4e-docs, add CSS file for that, too.
2021-09-04 10:41:07 +03:00
Dirk-Jan C. Binnema
5303b8cdc8
mu4e.texi: improve regexp example
2021-09-04 08:42:18 +03:00
Dirk-Jan C. Binnema
ecea966169
mu int: improve docs for regexp addresses
2021-09-04 08:34:17 +03:00
Dirk-Jan C. Binnema
1c076e6c43
mu4e.texi: Add regexp --my-address example
2021-09-04 08:25:29 +03:00
Dirk-Jan C. Binnema
a53ca7da5e
mu4e.texi: Update build instructions
...
Update the meson instructions.
2021-09-01 23:25:45 +03:00
Dirk-Jan C. Binnema
3a39eff1df
mu4e-(actions|control|org|update).el: tidy up
...
Fix flycheck warnings, and use '--' instead of '~' for private
variables/functions.
2021-08-31 08:46:27 +03:00