Commit Graph

5566 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 6ddfc61c8d mu4e: Update documentation for mu4e-view-fields
Fixes: #2041
2021-06-17 20:54:59 +03:00
Dirk-Jan C. Binnema 619509eb56 query-results: remove GatherThreadIds
We can't really do that in the match-decider, since we get _all_ messages
there, not the <n>-limited.

And some whitespace changes.
2021-06-17 20:54:59 +03:00
Dirk-Jan C. Binnema 6caa9acb34 query-match-deciders: whitespace 2021-06-17 20:54:59 +03:00
Dirk-Jan C. Binnema c3c8e53454
Merge pull request #2036 from thierryvolpiatto/line_move_visual
Ensure mu4e~headers-move honor line-move-ignore-invisible
2021-06-17 20:33:35 +03:00
Thierry Volpiatto 50f6f539f5
Ensure mu4e~headers-move honor line-move-ignore-invisible
This change is needed because forward-line doesn't honor this variable, more
generally visual lines.

Using `next-line` instead of `forward-line` allows this but it is more focused
on interactive use, so use `line-move` which handles visual lines without
warnings and return 0 or 1 just like `forward-line`.
2021-06-11 19:56:15 +02:00
Dirk-Jan C. Binnema 9020389a56 mu-cmd-find: Fix links ouput
Special case the footer/header for the links output. Small code
cleanups.

Fix error in docs.

Fixes: #2035.
2021-06-11 10:40:01 +03:00
Thierry Volpiatto 89538ef4fc
Only remove mark overlays in `mu4e-mark-at-point`
This prevent deleting overlays added by third party packages working as well
with overlays in mu4e-headers e.g. thread-folding , and probably in mu4e
itself as well with future features.  Also having a named overlay allows in
future features to modify any other overlays but these one.

As it is this patch doesn't modify the actual behavior.
2021-06-10 14:19:22 +02:00
Dirk-Jan C. Binnema 047c10453a query: gather related ids from mset, not match-decider
Since we only want the (smaller) set from the mset, not the (full) set
that the match-decider sees.
2021-06-04 00:54:28 +03:00
Dirk-Jan C. Binnema 212641669e
Merge pull request #2025 from peterhoeg/f/batch_size
fix wrong configuration key reference
2021-06-02 22:09:52 +03:00
Dirk-Jan C. Binnema dd542f3718
Merge pull request #2028 from andersjohansson/fix-bug-helm
Fix bug with helm completing-read when saving attachments
2021-06-02 22:04:58 +03:00
Anders Johansson c090e36485 Fix bug with helm completing-read when saving attachments
Previously helm-comp-read-use-marked was bound also when completing on
a directory for saving attachments (when using a prefix argument). This
returned a list with the selected directory, which caused an error.
2021-06-02 18:03:39 +02:00
Peter Hoeg 5f2e72776a fix wrong configuration key reference 2021-06-01 15:13:50 +08:00
Dirk-Jan C. Binnema 672d57fe5d github: update mu-bug issue template 2021-05-31 21:27:14 +03:00
Dirk-Jan C. Binnema d6a0ad02a2 github: update issue templates 2021-05-31 21:25:56 +03:00
Dirk-Jan C. Binnema eda62a73e4
Merge pull request #2022 from smohaorg/fix-license-notice-at-the-start-of-mu4e-files
mu4e/*: fix license notice at the start of source files
2021-05-30 11:27:58 +03: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 5531a6fe0f actions: disable guile for now
Seems it's picking up some version of Guile on MacOS which is not working.
2021-05-29 16:22:17 +03:00
Dirk-Jan C. Binnema 0bb8ad6e4c
Merge pull request #2016 from Profpatsch/mu4e-view-dont-overwrite-home-and-end
mu4e-view: remove <home> and <end> bindings
2021-05-29 15:31:52 +03:00
Dirk-Jan C. Binnema 8929e29d24
Merge pull request #2020 from torgeir/patch-1
Link to mu cheatsheet from readme
2021-05-29 15:29:22 +03:00
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
Torgeir Thoresen 0e4217228c
Link to mu cheatsheet 2021-05-27 13:08:54 +02:00
Profpatsch d106237c5a mu4e-view: remove <home> and <end> bindings
Users usually have `<home>` and `<end>` bound in their configuration,
for Spacemacs the default is “move-beginning-of-line” and “move-end-of-line”.

The mu4e view mode should not rebind basic navigation keys like these.
2021-05-20 14:16:37 +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