Commit Graph

6279 Commits

Author SHA1 Message Date
f5ce9abf71 build: bump version to 1.9.5
And update NEWS.org.
2022-12-10 19:56:19 +02:00
a39d61bb58 Merge pull request #2372 from mickeynp/feature/improve-window-buffer-handling
Multiple buffer support and standardised window and buffer handling
2022-12-10 19:46:40 +02:00
27ffaba817 mu-utils: use const char* from for time_to_string
To avoid lifetime problems with some(?) compilers.
2022-12-10 19:22:00 +02:00
792ab4cd0d Remove comment and unnecessary form 2022-12-09 09:13:14 +00:00
04903c568d Move defcustoms to mu4e-window.el 2022-12-09 09:01:18 +00:00
51d555f947 mu4e-headers: appease byte-compiler 2022-12-08 23:20:03 +02:00
9857d18b29 mu4e-headers: fallback to :subject for :thread-subject
If we're not showing threads, use the normal subject.

Fixes #2341.
2022-12-08 21:52:32 +02:00
08d7016502 build: bump version to 1.9.4
And update NEWS.org
2022-12-08 19:37:52 +02:00
8e334bcd8f Merge branch 'wip/store-move-dups' 2022-12-08 19:34:30 +02:00
d5fb15574b mu-query-match-decider: add 'Related' to flags
We were _replacing_ the flags (such as Duplicate), but we should add to
them instead.

Add a unit-test for this.
2022-12-08 19:33:15 +02:00
ca05c82451 query-threads: add multi-dup unit test 2022-12-08 19:30:20 +02:00
b71751a185 mu-server: update for move_message API update 2022-12-07 18:22:29 +02:00
da7c3b0c9a tests: update for move_message API update 2022-12-07 18:22:29 +02:00
0b516c18c2 store: add mu_move_message dup flag test
Test the new functionality
2022-12-07 18:22:29 +02:00
87c3ceb7b1 store: update move_message API
Update the move_message API so to allow for updating duplicate messages
too (not implemented yet), and return all updated messages.
2022-12-07 18:22:29 +02:00
62cfc88950 flags: add flags_keep_unmutable + test
When moving we want to maintain _some_ flags; add a function making that
convenient.
2022-12-07 12:32:13 +02:00
d109e3d335 Documentation 2022-12-06 10:57:10 +00:00
42add64683 Appease the byte compiler and clean up the code 2022-12-06 09:46:39 +00:00
c856c750f5 mu4e-headers: fix mu4e-headers-toggle-setting 2022-12-05 23:57:18 +02:00
8ac172cd08 Resize headers window after displaying a message 2022-12-03 17:13:20 +00:00
d43c0030e3 Ensure the linked headers buffer state is not lost 2022-12-03 17:13:20 +00:00
d0ae875527 Ensure a uniquified buffer name is created if it does not exist 2022-12-03 17:13:20 +00:00
8c3a71f884 Respect `mu4e-compose-in-new-frame' if non-nil 2022-12-03 17:13:20 +00:00
32aefe508f Correct documentation 2022-12-03 17:13:20 +00:00
37e8328975 mu4e-loading-mode is now a minor mode 2022-12-03 17:13:20 +00:00
12bad5f810 Ensure mu4e-window is built properly 2022-12-03 17:13:20 +00:00
55a7e21c4a Merge branch 'djcb:master' into feature/improve-window-buffer-handling 2022-12-01 07:35:30 +00:00
514b921813 Render with current buffer set to the view 2022-12-01 07:34:22 +00:00
9ce5a22275 Merge pull request #2371 from vermiculus/sa/copy-link-at-point
Teach mu4e-copy-thing-at-point about SHR links
2022-11-30 23:35:49 +02:00
3b44ad9514 Ensure the windows belonging to the now-defunct view buffer are destroyed 2022-11-30 15:33:41 +00:00
d6c67a401d Check for detached view in the navigation context macro 2022-11-30 15:33:07 +00:00
8d2b75219f Browing a view that has a header pointing elsewhere is legal 2022-11-30 15:32:45 +00:00
ef2c989e08 Clean up 2022-11-29 11:50:59 +00:00
9ec925728f Style changes 2022-11-29 11:50:07 +00:00
5f5d5ab11e Use `font-lock-ensure' 2022-11-29 11:49:06 +00:00
69a17bfcb9 Multiple buffer support and standardised window and buffer handling 2022-11-29 11:33:07 +00:00
93f3a2da35 Teach mu4e-copy-thing-at-point about SHR links
This allows one to copy the link behind a link-widget instead of using
RET to open it.
2022-11-28 04:54:18 -06:00
3375a95f24 Whitespace fix
Allow aggressive-indent-mode to do its thing.
2022-11-28 04:53:53 -06:00
39a2c28777 mu: honor nocolor option
1. mu find hallo              --> color
2. mu find hallo | less       --> nocolor
3. NO_COLOR=yes mu find hallo --> nocolor

Fixes #2369.
2022-11-24 18:43:05 +02:00
71162ee74f mu-find: bring back --reverse
It was missing after the cmdline parsing landed.

Fixes issue #2368.
2022-11-23 22:35:57 +02:00
4d1352ec56 mu/options: Support date sortfield
Fixes #2368.
2022-11-22 23:16:37 +02:00
d2a3a13242 query/test: add term splitting unit test
For checking issue #2365.
2022-11-20 10:18:01 +02:00
26b3110b8f Avoid word-splitting regular expression matches
Previously, we would conduct regular expression searches by
enumerating all values of a given term, manually regex-matching each
one against our search regular expression, remember all the term
values that matched our regular expression, then do a big Xapian
OR-query that matched any of those term values. In constructing this
OR-query, however, we would split each term value on space and add a
separate Xapian phrase search term for each resulting word. This
approach worked fine most of the time, beacuse when we index a term,
we index both each word in a term and the whole term by itself.

This word splitting produced false negatives in some matches, however,
because Xapian and the Mu-level word splitting code do word splitting
slightly differently and apply different transformations to the text
while splitting.  (For example, Xapian transforms fancy Unicode
apostrophes to ASCII apostrophes.)

This patch avoids the problem by not word splitting when constructing
the big Xapian OR-query for finding the results of regular
expression matching.
2022-11-20 10:18:01 +02:00
50489fe6bb Merge pull request #2356 from axeoman/fix-view-in-xwidget
mu4e: temporary reset browse-url-handlers in view in xwidget action
2022-11-19 18:36:49 +02:00
ca33726628 mu/script: fix printing
Missing c_str, caught by macos build.
2022-11-19 11:16:45 +02:00
f4ac16db5a mu/options: Add missing include unordered_map
This broke the MacOS build
2022-11-19 11:10:12 +02:00
6ea6e35dc6 build: bump version to 1.9.3, update NEWS.org 2022-11-17 11:00:06 +02:00
02188ecbb5 mu4e: improve server comms with mu 2022-11-17 11:00:06 +02:00
f43e991468 tests: update
Minor updates for the new CLI
2022-11-17 11:00:06 +02:00
cec08ab1ea script: Rework guile script with new CLI support
Integrate the guile scripting a bit better into the mu cmdline.
Rework the old script module for that.
2022-11-17 11:00:06 +02:00