1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-22 07:06:48 +02:00
Commit Graph

5445 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
7ae1095a83
Merge pull request #2021 from tsdh/bug-reference-auto-setup
Add support for bug-reference auto-setup in mu4e-view-mode
2021-05-29 15:28:41 +03:00
Tassilo Horn
b7fb722df6 Add support for bug-reference auto-setup in mu4e-view-mode
The bug-reference mode in Emacs 28 has support for several kinds of auto-setup,
one of them being for mail customizable by the variable
`bug-reference-setup-from-mail-alist`.  Add mu4e support for that so that users
can simply do

    (add-hook 'mu4e-view-mode-hook #'bug-reference-mode)

and have it working.

Also squash one byte-compiler warning about the (at compile-time) undefined
variable `gnus-article-buffer`.

* mu4e/mu4e-utils.el (mu4e-view--try-setup-bug-reference-mode): New function.
2021-05-28 23:33:08 +02:00
Dirk-Jan C. Binnema
cefd66159a mu4e-headers: use the mu engine thread-subject
Instead of handling in the headers (which were broken).  The messages
that are hidden are _slightly_ different than before.
2021-05-04 17:36:24 +03:00
Dirk-Jan C. Binnema
473d3998ce mu: calculate thread subjects
Calculate the thread subject, that is, the subject of the (sub)thread _or_
empty if it's the same as the previous subject.

This is for the UI feature of _not_ showing the subject when it's just
repeating from the previous.
2021-05-04 17:34:47 +03:00
Dirk-Jan C. Binnema
6d67e146fe build: bump version to 1.5.13 2021-05-02 23:48:30 +03:00
Dirk-Jan C. Binnema
2574071ac8 mu4e-view-gnus: use default for gnus-unbuttonized-mime-types
Changing it (e.g., to nil) doesn't work well with clickable URLs.
2021-05-02 23:48:30 +03:00
Dirk-Jan C. Binnema
fa8505fa5a mu4e-vars: add thread-path/-date custom headers
Useful for debugging.
2021-05-02 23:33:06 +03:00
Dirk-Jan C. Binnema
8c9430a09a query: improve thread-date handling
And make it available in query_match, so we can expose it to elisp.
2021-05-02 23:30:32 +03:00
Dirk-Jan C. Binnema
bed6058fdc mu-server: add thread-date as emacs timestamp
So we can more easily deal with it from elisp.
2021-05-02 23:30:32 +03:00
Dirk-Jan C. Binnema
b8f8ffa967 mu-sexp: make lists printable
And some typo fixes
2021-05-02 23:30:32 +03:00
Dirk-Jan C. Binnema
d0d305b48f mu-headers: Tweak thread prefix
Avoids some confusion.
Fixes: #1994.
Fixes: #1933.
2021-05-02 23:30:32 +03:00
Dirk-Jan C. Binnema
38f7075daa mu-server: use orphan, not empty-parent
So we use only one term.
2021-05-02 23:30:32 +03:00
Dirk-Jan C. Binnema
cd9871ddfd
Merge pull request #2008 from nicolasavru/fix-orphan-flagging
threads: fix flag handling of orphan children
2021-05-02 23:30:09 +03:00
Dirk-Jan C. Binnema
067c8f5cd8
Merge pull request #2007 from thierryvolpiatto/Fix_mu4e-action-view-in-browser
Fix #2006 by using cl-loop in mu4e-action-view-in-browser instead of seq
2021-05-02 23:25:04 +03:00
Nicolas Avrutin
8ccd8f5425 threads: fix flag handling of orphan children
Even if a container has no query_match, it may still have children that need to
have flags applied.

This was broken by 6ff9829ce1.

Fixes: #1995
2021-05-02 14:27:11 -04:00
Thierry Volpiatto
b5656a7991
Fix #2006 by using cl-loop in mu4e-action-view-in-browser instead of seq
Using cl-loop is much simpler and readable, than using mapconcat+seq+seq.
Also it avoids requiring seq (which is not done actually).
2021-05-02 18:32:07 +02:00
Dirk-Jan C. Binnema
008ab08737
Merge pull request #1996 from nicolasavru/patch-1
mu-query.7: fix formatting
2021-05-02 12:39:28 +03:00
Dirk-Jan C. Binnema
83bb3d7a4d
Merge pull request #2005 from thierryvolpiatto/fix_mu4e-view-gnus
Insert text without its text properties when replying
2021-05-02 12:37:01 +03:00
Thierry Volpiatto
008f9fe443
Insert text without its text properties when replying 2021-05-01 20:28:55 +02:00
Dirk-Jan C. Binnema
a11008deab Revert "mu4e-view-gnus: use the gnus mech to identify urls"
This reverts commit 6d9bd548f1.

Changes breaks article treatment.
2021-04-28 15:02:29 +03:00
Dirk-Jan C. Binnema
6d9bd548f1 mu4e-view-gnus: use the gnus mech to identify urls
Add mu4e~view-urlify, which replaces mu4e~view-activate-urls, and let
gnus determine where the URLs are.
2021-04-28 07:14:20 +03:00
Dirk-Jan C. Binnema
453c7f84e8 mu4e-view-gnus: don't render in invisible buffer
It seems that prevents image resizing from working.

Should help for issue #1998.
2021-04-27 00:10:11 +03:00
Dirk-Jan C. Binnema
5103f4614e mu4e-view-gnus: show URL links
Fixes: #1990.
2021-04-26 21:22:54 +03:00
Nicolas Avrutin
2b8d51d960
fix formatting 2021-04-26 06:09:16 -04:00
Dirk-Jan C. Binnema
b8db8fedd5
Merge pull request #1992 from nicolasavru/patch-1
fix typo
2021-04-26 09:36:05 +03:00
Dirk-Jan C. Binnema
4c3fea1989
Merge pull request #1989 from Chris00/master
mu4e: Minor fixes to texinfo documentation
2021-04-26 09:35:25 +03:00
Nicolas Avrutin
0ae97e066c
fix typo 2021-04-26 01:30:44 -04:00
Christophe Troestler
163fa1ee87 mu4e: Decode headers before viewing in browser 2021-04-26 01:50:23 +02:00
Christophe Troestler
a9a874937e mu4e: Minor fixes to texinfo documentation 2021-04-26 01:40:11 +02:00
Dirk-Jan C. Binnema
3799975714 mu4e-view: only kill existing buffer 2021-04-25 14:05:27 +03:00
Dirk-Jan C. Binnema
15ab2c8d3a mu4e-view-gnus: better cleanup buffer
avoid seeing leftover MIME-parts of older buffers.
2021-04-25 13:44:57 +03:00
Dirk-Jan C. Binnema
704e631e8d mu4e/doc: document gnus rich-text handling 2021-04-25 11:41:24 +03:00
Dirk-Jan C. Binnema
6f206f0f7e mu4e-view-gnus: use gnus image variables directly
Let's avoid some wrapper code and use the gnus variables directly.
And some documentation updates.
2021-04-25 11:41:09 +03:00
Dirk-Jan C. Binnema
f377483c16 mu4e-view-gnus: activate URLs
So we can follow them using 'g'
2021-04-25 09:08:59 +03:00
Dirk-Jan C. Binnema
c5219778af bump version to 1.5.12
Next development release.
2021-04-24 22:46:09 +03:00
Dirk-Jan C. Binnema
71e0223d86 mu4e-view-gnus: implement mu4e-action-view-in-browser
Reimplement the browser view code for the gnus-based viewer; and let
gnus handle it too.

On change is that we currently only support showing html-messages.
2021-04-24 22:37:03 +03:00
Dirk-Jan C. Binnema
11bea28dad mu4e-view-gnus: cleanup message rendering
Refactor the way we view messages (using gnus) to reduce duplicate code.
Overall, cleanup the rendering part a bit.
2021-04-24 22:34:40 +03:00
Dirk-Jan C. Binnema
0218ed9a68 mu4e/meson.build: ensure builddir is checked first
Used for mu4e-meta.el. Not having this seems to break some users
meson-build.

HT: derek-zhou
2021-04-23 09:56:51 +03:00
Dirk-Jan C. Binnema
3a418745e1 mu4e-speedbar: fix compiler warning 2021-04-23 09:56:27 +03:00
Dirk-Jan C. Binnema
6307bc02c4
Merge pull request #1987 from derek-zhou/master
seperate Mu::format and Mu::vformat
2021-04-22 22:39:07 +03:00
Derek Zhou
dc6f76d74d seperate Mu::format and Mu::vformat 2021-04-22 18:32:38 +00:00
Dirk-Jan C. Binnema
5edc5a886a
Merge pull request #1986 from thierryvolpiatto/cleanup_save_attachement
Remove unneeded `or` clause in mu4e-view-save-attachments
2021-04-22 21:03:18 +03:00
Thierry Volpiatto
bce31241a5
Remove unneeded or clause in mu4e-view-save-attachments 2021-04-22 19:30:23 +02:00
Dirk-Jan C. Binnema
11fc99168b guile: add github issue template 2021-04-20 11:00:52 +03:00
Dirk-Jan C. Binnema
c6f2bf5333 Revert "mu4e-view-gnus: refactor message rendering code a bit"
This reverts commit 515af3e3d2, since it
broke the attachments display.
2021-04-20 10:54:41 +03:00
Dirk-Jan C. Binnema
2f634e6b9e github: update issue templates 2021-04-14 00:31:32 +03:00
Dirk-Jan C. Binnema
515af3e3d2 mu4e-view-gnus: refactor message rendering code a bit
Split out the shared parts from mu4e~view-gnus and
mu4e~view-message-text.
2021-04-14 00:23:11 +03:00
Dirk-Jan C. Binnema
9b3d98d526 Update issue templates 2021-04-14 00:21:55 +03:00
Dirk-Jan C. Binnema
7efeb63160
Merge pull request #1980 from sje30/master
Spelling fixes and simplifying some code
2021-04-13 22:13:11 +03:00
Stephen J. Eglen
f80123bb3e Simplify the code for using dired to attach messages
I originally sent some code to the mailing list in 2012 to use dired
for marking attachments.

https://groups.google.com/g/mu-discuss/c/OPwdNZbB5GE/m/hnjNlNoLIu8J

As the function in gnus.el has since been fixed, the version of
gnus-dired-mail-buffers now works fine with mu4e (and has done for
many years).  I suggest deleting the old code to make the
documentation simpler assuming that people are no longer on Emacs from
9 years ago.
2021-04-13 17:29:18 +01:00