Dirk-Jan C. Binnema
a6208efd50
mu4e: add mu4e-save-message
...
Convenience function for saving the message-at-point.
2024-05-11 12:46:27 +03:00
Dirk-Jan C. Binnema
4f72e2656d
mu4e: use message-field-value
...
Simplify
...instead of
save-restriction/message-narrow-to-headers/message-fetch-field.
2024-04-20 11:44:22 +03:00
Dirk-Jan C. Binnema
7771a56026
mu4e: fix some warnings on older emacsen
2024-04-04 21:30:08 +03:00
Dirk-Jan C. Binnema
ffac8409a3
mu4e-message: handle 'first' parameter to message-fetch-field
...
May as well support it.
2024-01-23 19:14:19 +02:00
Dirk-Jan C. Binnema
300ab2b0e1
mu4e-message: improve mu4e-fetch-field
...
Decode the message, so that encoded fields get decoded as expected.
Also add an example to the doc for using mu4e-fetch-field.
2024-01-04 23:41:46 +02:00
Dirk-Jan C. Binnema
8fc13ab8f3
mu4e: Shorten descriptions a bit
2023-09-20 22:31:19 +03:00
Thierry Volpiatto
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
Dirk-Jan C. Binnema
624458caa4
mu4e: add mu4e-fetch-field
2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema
1799c69451
mu4e-view: rename mu4e~view -> mu4e--view
...
Our long-running migration from mu4e~ -> mu4e-- takes another step.
2022-12-24 10:02:21 +02:00
Mickey Petersen
04903c568d
Move defcustoms to mu4e-window.el
2022-12-09 09:01:18 +00:00
Mickey Petersen
5f5d5ab11e
Use `font-lock-ensure'
2022-11-29 11:49:06 +00:00
Mickey Petersen
69a17bfcb9
Multiple buffer support and standardised window and buffer handling
2022-11-29 11:33:07 +00: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
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
dc44165ada
mu4e-message: remove dead alias
...
Fixes #2293
2022-07-05 00:06:53 +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
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
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
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
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
7156ff7fac
mu4e: fix some compiler warnings
2021-10-18 21:52:37 +03:00
Tassilo Horn
731c58df16
Fix declare-function statements referencing gone mu4e-utils
2021-09-25 10:23:20 +02:00
Dirk-Jan C. Binnema
9157d9102d
mu4e-utils: refactor into mu4e-helpers, separate files
...
Usurp more of the utils code than can be re-used without further dependencies in
helpers.
Split off specific parts in their own file.
After the helper/utils changes, update the rest of mu4e to take the changes into
account.
2021-08-29 21:40:42 +03:00
Boris Glavic
b4cf999802
replace carriage-return instead of line feed in mu4e-message-outlook-cleanup
2021-07-31 20:34:48 -05:00
Salman Mohammadi
539a946aa4
mu4e/*: fix license notice at the start of source files
...
At the start of mu4e/* files, the license has been wrongly attributed
to GNU Emacs instead of mu4e.
Fixes https://github.com/djcb/mu/issues/2019
2021-05-29 23:45:10 +02:00
Dirk-Jan C. Binnema
4985f5c959
mu4e: Improve personal-address handling
...
Make mu4e-personal-address-p safe for being called with nil.
Upgrade code that used mu4e-user-mail-address-p to
mu4e-personal-address-p.
Update docs.
Add some more helpers to mu4e-message, and avoid some byte-compiler
warnings.
2020-10-19 22:39:25 +03:00
Dirk-Jan C. Binnema
e2f57e328a
mu4e: update mu4e-message-contact-field-matches for regexp addresses
2020-10-19 09:52:35 +03:00
Dirk-Jan C. Binnema
5e069d9a6f
mu4e: support regexp patterns for personal addresses
2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema
73be015cd0
fixup: mu4e: some cleanups / bytecomp warning fixes
2020-05-28 10:21:16 +03:00
Jonas Bernoulli
564d892701
Fix typos
2020-05-12 23:56:55 +02:00
Dirk-Jan C. Binnema
e10fc21a9b
mu4e: Rename 'Unnamed' sections
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
74332947a0
mu4e: Split libraries into outline sections
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
040c6578be
mu4e: Place provide forms in their own sections
...
Use "_" as the title of that section so that it is less distracting
when sections are collapsed to get an overview of the library.
Using a separate section is useful because it reduces the risk of
accidentally into the middle of a library.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
6c58a311d1
mu4e: Add missing mandatory "FILE ends here" library footer
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
83f0c9cea9
mu4e: Remove excess semicolons from library headers
...
Placing two semicolons on an otherwise empty line helps to logically
"connect" the surrounding "paragraphs", which in (only) some cases
makes sense.
Previously the three paragraphs of the permission statement were not
connected to each other like this, which is perfectly fine. However
the preceding "This file is not part of GNU Emacs." line was connected
to the first paragraph, which does not make sense considering that the
latter is not connected two the second paragraph, which it relates to
more.
Once those two semicolons are gone, it also makes sense to remove
those from the second line.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
6790c0d015
mu4e: Fix indentation
2020-02-17 14:28:00 +01:00
Dirk-Jan C. Binnema
e1e26d1da2
mu4e: update to use server maildir/database/addresses
...
Mkae mu4e-maildir and mu4e-personal-addresses obsolete, we get those
from the server.
2020-02-09 00:15:49 +02:00
Thierry Volpiatto
e4f5576cfc
Add lexical-binding to all files and fix warnings
...
about free variables (declare) and unused lexical vars (prefix with "_").
2019-09-16 19:54:59 +02:00
djcb
31f73b32a7
mu4e: make mu4e~view-message buffer-local
...
So we don't leak it outside mu4e. `mu4e-message-at-point` should do the
right thing.
2019-02-25 21:49:41 +02:00
Alex Branham
2674ca5583
mu4e: Replace cl with cl-lib
2019-01-04 16:03:58 -06:00
djcb
2c08006335
mu4e: mu4e-message flycheck fixes
2018-11-19 21:41:28 +02:00
Alex Murray
283ba93b8a
Non-breaking spaces should be replaced with a space and not removed
...
Fixes #1339
2018-11-14 11:36:36 +10:30
Chris Nixon
7b6da1131b
Only require html2text if it will be used
...
html2text is deprecated in the emacs pretest, by unconditionally
importing it mu4e causes a mildly irritating yes/no prompt to appear
during startup.
This change ensures that html2text is not loaded unless the emacs
running is a version that does not have 'shr-insert-document
2018-02-19 12:17:00 +00:00
djcb
235dc75a1a
mu4e: mu4e-message: allow for bodyless messages
...
Seems the code didn't handle the no-body case. Do so now.
2017-02-07 07:45:59 +02:00
djcb
7c6c3b63f8
mu4e: remove some debugging
2017-02-07 07:09:05 +02:00
Dirk-Jan C. Binnema
ad1a372b5f
Merge pull request #986 from stig/format-flowed-alt
...
POC: Respect format=flowed and delsp=yes for viewing plain-text messages
2017-02-05 15:52:16 +02:00
djcb
b0c618c3e5
mu4e: fix typo mu4e~html2text-wrapper
2017-02-05 15:49:02 +02:00
djcb
06e848a448
mu4e: fix type (-> mu4e~html2text-shell)
2017-02-05 13:23:19 +02:00
Stig Brautaset
cdc2fa1bd8
Respect format=flowed and delsp=yes for viewing plain-text messages
2017-01-31 11:28:55 +00:00