1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-20 06:46:50 +02:00
Commit Graph

5516 Commits

Author SHA1 Message Date
Thierry Volpiatto
7929b9a852
Use and instead of progn and fix some long lines 2021-08-17 16:11:21 +02:00
Thierry Volpiatto
58cff913fe
Create numbered backup of attached file when already exists #2090 2021-08-16 13:29:07 +02:00
Dirk-Jan C. Binnema
d6658c49b8 bump version to 1.6.3 2021-08-12 20:35:02 +03:00
Dirk-Jan C. Binnema
17ae356e35 mu4e: Fix up documentation
And remove some unncessary message
2021-08-12 20:34:26 +03:00
Dirk-Jan C. Binnema
b465c1f779 index: make lazy check less lazy
We got many reports where the 'lazy check' didn't work too well for
people... so make it a bit less lazy, so it'll just work for more
people.

In practice, never skip _directories_ unless they're leaf directories;
this avoids the mtime-does-not-bubble-up problem.
2021-08-12 17:56:00 +03:00
Dirk-Jan C. Binnema
6537de1116 mu4e: better feedback for lazy indexing
Add `mu4e-update-index-nonlazy`, point users towards it.
2021-08-12 13:08:52 +03:00
Dirk-Jan C. Binnema
ab51f1553b thread-subject: make even laxer:
compare subject from the *last* plus any spaces.
2021-08-11 22:24:28 +03:00
Dirk-Jan C. Binnema
9a31225ef4 thread-subject: ignore '<prefix>:' when comparing
Should catch most cases.

Fixes: #2083.
2021-08-11 15:16:54 +03:00
Dirk-Jan C. Binnema
b7844358d2 threads: recurse thread-subject check
Not only check for duplicate subjects in *siblings*, also recurse into
the children. This remove some clutter from deeply nested threads.

Fixes: #2078.
2021-08-10 22:10:39 +03:00
Dirk-Jan C. Binnema
c29368af93
Merge pull request #2081 from danielfleischer/link-description
Customize the mu4e org link description
2021-08-09 07:58:31 +03:00
Dirk-Jan C. Binnema
aa75487ae6 mu4e-view: Enable mu4e-action-view-in-browser by default
It's useful enough to enable by default.
2021-08-08 18:18:40 +03:00
Daniel Fleischer
f6230467dc Customize the mu4e org link description
There's a default function that extracts the subject but users can
define their own function. Feature existed in @1.4.15.
2021-08-08 17:43:42 +03:00
Dirk-Jan C. Binnema
16a2cffc11 utils: use _GNU_SOURCE for S_ISLINK on freebsd
Unbreak FreeBSD build.

Fixes: #2079.
2021-08-08 15:15:51 +03:00
Dirk-Jan C. Binnema
dadd3062dc build: bump version to 2.6.2
Another bug fix release.
2021-08-07 17:19:35 +03:00
Dirk-Jan C. Binnema
6a4eb68428 mu4e-vars: Update docs for mu4e-index-lazy-check
Explicitly mention the limitation with sub-dirs, as discussed in issue
2021-08-07 17:18:15 +03:00
Dirk-Jan C. Binnema
e52683f0ed server: when marking-as-read, include duplicates
When marking a message a read, do the same for the duplicates; this
was the old behavior and the intention of the new behavior but didn't
quite work.

Fixes: #2071.
2021-08-04 23:55:41 +03:00
Dirk-Jan C. Binnema
e26767b842 mu-server: mark _all_ messages with message-id as read
Not just the one we're viewing.
2021-08-03 22:17:56 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
3ea20afe20
Merge pull request #2063 from nbarrientos/typo
Fix typo in docstring
2021-08-01 10:39:03 +03:00
Dirk-Jan C. Binnema
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
Boris Glavic
b4cf999802 replace carriage-return instead of line feed in mu4e-message-outlook-cleanup 2021-07-31 20:34:48 -05:00
Dirk-Jan C. Binnema
78ef8ddcbb mu-store: fix warning schema mismatch message
Fixes: #2069.
2021-07-31 17:54:33 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
24e8b9b97b NEWS.org: add note about mu init 2021-07-31 01:57:23 +03:00
Dirk-Jan C. Binnema
b4ebd6c248 mu4e-utils: make schema warning/error a bit clearer
Show in the warning buffer.
2021-07-31 01:49:23 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
fd9cc6bcc4 mu-store: improve database schema error
Tell user they should mu-init
2021-07-31 01:47:21 +03:00
Dirk-Jan C. Binnema
34fae2c072 mu-store: update whitespace 2021-07-31 01:45:22 +03:00
Dirk-Jan C. Binnema
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
Nacho Barrientos
02f3424280 Fix typo in docstring 2021-07-30 09:21:28 +02:00
Dirk-Jan C. Binnema
1998505679 index: update removed value in progress report
Fixes: #2016
2021-07-29 23:26:40 +03:00
Dirk-Jan C. Binnema
f69214b4df mu4e-main: refresh after context-switch
Fixes: #2062.
2021-07-29 23:24:13 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
71b9c7f598
Merge pull request #2059 from japhir/patch-1
README: fix grammatical error
2021-07-28 17:09:08 +03:00
Dirk-Jan C. Binnema
aba00313e5 README.org: fix typo 2021-07-28 17:06:53 +03:00
Dirk-Jan C. Binnema
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
Ilja Kocken
53abceb6c4
README: fix grammatical error 2021-07-28 10:28:59 +02:00
Dirk-Jan C. Binnema
f583207842 build: create mu 1.6 release 2021-07-27 22:28:49 +03:00
Dirk-Jan C. Binnema
cc890d8688 build: Bump version to 1.5.14 2021-07-17 15:01:23 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
d30f85934d mu4e.texi: Move docs for old view to appendix
Hopefully that makes it less confusing.
2021-07-17 15:01:23 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
6657f252fc
Merge pull request #2048 from nicolasavru/fix-include-related
query: fix include-related.
2021-07-17 11:09:19 +03:00
Thierry Volpiatto
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
Nicolas Avrutin
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
Dirk-Jan C. Binnema
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
DiGitHubCap
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
Dirk-Jan C. Binnema
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
Thierry Volpiatto
2f251209e3
Rename mmark overlay to mu4e-mark 2021-06-17 21:11:38 +02:00