Commit Graph

5499 Commits

Author SHA1 Message Date
321e747882 update (c) year
And some whitespace cleanup. The (c) year doesn't matter too much, but
let's close the ticket.

Fixes: #2075.
2021-08-03 12:47:20 +03:00
907db013c0 mu4e-view-gnus: Manipulate gnus so it blocks remote images
mu4e reuses the default gnus-blocked-images, but sadly in the mu4e
context, the default (a function called gnus-block-private-groups) does
_not_ work (i.e., it never blocks).

Advise this function so it'll block for mu4e as well, and update the
docs.

Fixes: #2072.
2021-08-02 23:39:33 +03:00
3ea20afe20 Merge pull request #2063 from nbarrientos/typo
Fix typo in docstring
2021-08-01 10:39:03 +03:00
61fc97fc82 Merge pull request #2070 from lordpretzel/old-view-outlook-cleanup
[mu4e bug] (1.6.0) - messages in old view are shown without line break
2021-08-01 10:37:48 +03:00
b4cf999802 replace carriage-return instead of line feed in mu4e-message-outlook-cleanup 2021-07-31 20:34:48 -05:00
78ef8ddcbb mu-store: fix warning schema mismatch message
Fixes: #2069.
2021-07-31 17:54:33 +03:00
793eca1585 build: bump version to 1.6.1, db schema to 452
The db schema update ensures users re-init the store, to avoid problems
reported.
2021-07-31 01:57:23 +03:00
24e8b9b97b NEWS.org: add note about mu init 2021-07-31 01:57:23 +03:00
b4ebd6c248 mu4e-utils: make schema warning/error a bit clearer
Show in the warning buffer.
2021-07-31 01:49:23 +03:00
8a3a125ca3 mu-cmd-server: report errors to mu4e
Even "existential errors" that cause mu-server not to start.
2021-07-31 01:48:24 +03:00
fd9cc6bcc4 mu-store: improve database schema error
Tell user they should mu-init
2021-07-31 01:47:21 +03:00
34fae2c072 mu-store: update whitespace 2021-07-31 01:45:22 +03:00
26bd64f4c9 mu4e-header: mark mu4e-headers-field-properties-function obsolete
The variable is an unused leftover.

Fixes: #2067.
2021-07-30 14:25:54 +03:00
02f3424280 Fix typo in docstring 2021-07-30 09:21:28 +02:00
1998505679 index: update removed value in progress report
Fixes: #2016
2021-07-29 23:26:40 +03:00
f69214b4df mu4e-main: refresh after context-switch
Fixes: #2062.
2021-07-29 23:24:13 +03:00
c8a2151cb9 mu: use g_strerror instead of strerror
Some #includes were missing for the latter (but only noticeable on some
systems - e.g., build breaks on Cygwin).

So let's replace with something that works equally everywhere.

Fixes: #2060
2021-07-29 00:02:30 +03:00
71b9c7f598 Merge pull request #2059 from japhir/patch-1
README: fix grammatical error
2021-07-28 17:09:08 +03:00
aba00313e5 README.org: fix typo 2021-07-28 17:06:53 +03:00
7fa80f77e9 index: don't assume very fast machine cfg drive
The scanner had a timeout for scanning, which doesn't work too well with
machine with rel. fast disks / rel. slow machines. Which I don't happen
to have!

Let's remove the timeout, should help with getting unwanted timeouts
which would cut short the indexing.
2021-07-28 17:04:39 +03:00
53abceb6c4 README: fix grammatical error 2021-07-28 10:28:59 +02:00
f583207842 build: create mu 1.6 release 2021-07-27 22:28:49 +03:00
cc890d8688 build: Bump version to 1.5.14 2021-07-17 15:01:23 +03:00
10c1aafa4c mu4e: Update mu4e-view-show-images doc string
Make clear it only applies to the old view.
2021-07-17 15:01:23 +03:00
d30f85934d mu4e.texi: Move docs for old view to appendix
Hopefully that makes it less confusing.
2021-07-17 15:01:23 +03:00
375411ee77 Merge pull request #2049 from thierryvolpiatto/fix_move_to_previous_line
Fix mu4e-headers-prev with invisible lines
2021-07-17 11:09:50 +03:00
6657f252fc Merge pull request #2048 from nicolasavru/fix-include-related
query: fix include-related.
2021-07-17 11:09:19 +03:00
617e8023f6 Fix mu4e-headers-prev with invisible lines
Skip invisible text at BOL possibly hidden by
the end of another invisible overlay covering
previous EOL.

This patch affects people using mu4e-thread-folding-mode but change nothing
when using mu4e as it is.
2021-07-12 06:47:36 +02:00
ee4bf5664a query: fix include-related.
mu-query.cc:
- make_related_enquire: don't include first query in qvec, we already have all
  thread IDs we need to query in thread_ds.
- run_related: always sort first query by date, explained by the comment.
- run_related: include qflags (in particular ascending vs descending) in
  leader_qflags.
- run_theaded: don't limit results to maxnum, that results in threads
  potentially being cut off.

mu-server.cc:
- output_sexp: don't limit results to maxnum so as to match the behaviour of
  mu find (and avoid cuttong off threads).

Fixes #1924 and #1911.
2021-07-11 16:23:39 -04:00
40b5b89775 Merge pull request #2045 from DiGitHubCap/fix-visual-lines
Fix #2044: broken header movement with visual-line-mode
2021-07-11 22:21:15 +03:00
d394295fe7 Fix #2044: broken header movement with visual-line-mode
This fixes the issue introduced by 50f6f539 where header navigation
would break when `visual-line-mode' was enabled. Previously,
`forward-line' was used in `mu4e-view-headers-next', which disregarded
visual lines and moved by logical lines, but this was changed to
`line-move', which moves by visual lines when `line-move-visual' is
non-nil (the default when `visual-line-mode' is enabled). Thus, when
the current header line was wrapped and a message was open in the
split view, `mu4e-view-headers-next' would move to the next visual
line in the headers buffer (the same message), and then jump back to
the start of the previous line, preventing switching to the next
message.

This would also throw off navigation when `mu4e-view-headers-next' was
used with a prefix argument, since it would move by visual lines and
not headers.

`line-move-visual' is therefore set to nil before using `line-move' to
prevent these issues.
2021-07-05 22:39:31 -04:00
7034556ab4 Merge pull request #2034 from thierryvolpiatto/remove_marked_overlays
Only remove mark overlays in `mu4e-mark-at-point`
2021-06-17 22:22:00 +03:00
2f251209e3 Rename mmark overlay to mu4e-mark 2021-06-17 21:11:38 +02:00
6ddfc61c8d mu4e: Update documentation for mu4e-view-fields
Fixes: #2041
2021-06-17 20:54:59 +03:00
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
6caa9acb34 query-match-deciders: whitespace 2021-06-17 20:54:59 +03:00
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
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
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
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
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
212641669e Merge pull request #2025 from peterhoeg/f/batch_size
fix wrong configuration key reference
2021-06-02 22:09:52 +03:00
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
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
5f2e72776a fix wrong configuration key reference 2021-06-01 15:13:50 +08:00
672d57fe5d github: update mu-bug issue template 2021-05-31 21:27:14 +03:00
d6a0ad02a2 github: update issue templates 2021-05-31 21:25:56 +03:00
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
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
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