Commit Graph

5609 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 928fd82f02 Makefile.meson: add test-valgrind target
For valgrinding unit-tests
2021-10-20 23:05:48 +03:00
Dirk-Jan C. Binnema 0e0361fb5c build: bump version to 1.7.3
The previous (mu4e <-> mu protocol update) changes require a version update.
2021-10-20 22:43:42 +03:00
Dirk-Jan C. Binnema 701ca75536 mu4e/server: split message / metadata
Split message and metadata, so we can use pristine (possibly pre-cached)
messages. Update dependencies.
2021-10-20 22:41:48 +03:00
Dirk-Jan C. Binnema 7fe1076471 bump version to 1.7.2 2021-10-20 20:14:25 +03:00
Dirk-Jan C. Binnema 89014ecd06 index/store: simplify transaction handling
only have transactions for indexing, and make it opportunistic. All other ops do
not use transactions.
2021-10-20 20:14:25 +03:00
Dirk-Jan C. Binnema 3dd721d5a3 clang-format: update c/cc coding style
Update all cc code using .clang-format; please do so as well for future PRs
etc.; emacs has a handy 'clang-format' mode to make this automatic.

For comparing old changes with git blame, we can disregard this one using
--ignore-rev

(see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-10-20 12:26:16 +03:00
Dirk-Jan C. Binnema 09935cc4b3 build: bump version to 1.7.1 2021-10-20 12:02:26 +03:00
Dirk-Jan C. Binnema 3e4771ad1c mu-options: avoid clang warning 2021-10-18 22:32:46 +03:00
Dirk-Jan C. Binnema 88f5f92b72 build: fix macos/clang build (disable guile)
error: invalid argument '-std=gnu11' not allowed with 'C++'
2021-10-18 22:31:44 +03:00
Dirk-Jan C. Binnema 8699123684 .clang-format: update 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema 49637dbc3a lib: replace CATCH_BLOCK macros with template magic 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema 7156ff7fac mu4e: fix some compiler warnings 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema 5dfd6afdf0 guile: fix user script path detection
Fixes: #2159.
2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema 672d0c7238 store: don't try to commit when there's no transaction
Avoids some error warning.
2021-10-16 11:15:19 +03:00
Dirk-Jan C. Binnema 1a449dd885 meson.build: Improve guile detection 2021-10-16 11:15:12 +03:00
Dirk-Jan C. Binnema 4a0490acbf
Merge pull request #2152 from progfolio/fix/osbolete-fn
mu4e-search-edit: Fix obsolete alias; update documentation
2021-10-13 14:47:48 +03:00
Dirk-Jan C. Binnema aae5dfaec4
Merge pull request #2156 from corderophi678/patch-1
Add Emacs v29 support for enabling mu4e
2021-10-13 14:45:20 +03:00
Dr. Rich Cordero 632a54b556
Add Emacs v29 support for enabling mu4e 2021-10-11 08:38:01 -04:00
Dirk-Jan C. Binnema 5db8fdc49d mu4e: Do not defvar abbrev tables
I'm not quite sure why it was done in the first place, and it seems to have
unwanted side-effects. So let's turn it off and see if anything breaks.

Fixes: #2146.
2021-10-06 08:11:30 +03:00
Nicholas Vollmer baae737674 mu4e-search-edit: Fix obsolete alias; update documentation
Replace obsolete variable alias with obsolete function alias for mu4e-headers-search-edit.
Update docstring for mu4e-view-search-edit to reference the new function.
2021-10-03 10:33:49 -04:00
Dirk-Jan C. Binnema 11d41bd18f
Merge pull request #2150 from thierryvolpiatto/Fix_gnus-article-buffer_clash_with_gnus
Reset `gnus-article-buffer` in mu4e-view (#2139)
2021-09-30 18:50:38 +03:00
Thierry Volpiatto a6207d6d08
Reset `gnus-article-buffer` in mu4e-view
This is needed when gnus is used along mu4e for other purpose like
reading News, in this case gnus rename `gnus-article-buffer` and we
end up with an unrelated buffer-name in mu4e.
2021-09-30 16:56:46 +02:00
Dirk-Jan C. Binnema 91cf2dcec7 mu-find: unbreak json output
Fixes: #2149

Needs backporting to 1.6.x
2021-09-30 15:41:38 +03:00
Dirk-Jan C. Binnema 4dc15334a6 mu4e-compose: fix some overly long lines 2021-09-30 15:41:38 +03:00
Dirk-Jan C. Binnema a8ddc1728d
Merge pull request #2147 from tsdh/mu4e--update-buffer-fix
Fix refs to mu4e~update-buffer which has been renamed to mu4e--update-buffer
2021-09-30 15:39:17 +03:00
Dirk-Jan C. Binnema 4ecb59aed5
Merge pull request #2142 from tsdh/function-valued-mu4e-split-view
Allow a function as mu4e-split-view value
2021-09-30 15:38:43 +03:00
Dirk-Jan C. Binnema 3e27a613be
Merge pull request #2137 from thierryvolpiatto/fix_mu4e_get_view_buffer
Fix `mu4e-get-view-buffer` (#2132)
2021-09-30 15:35:22 +03:00
Dirk-Jan C. Binnema 6f3c085490
Merge pull request #2129 from Chris00/master
mu4e-headers: Avoid the obsolete command warning
2021-09-30 15:34:27 +03:00
Dirk-Jan C. Binnema 2b0d34c8a8
Merge pull request #2141 from tsdh/fix-declare-function-for-mu4e-utils
Fix declare-function statements referencing the now-gone mu4e-utils
2021-09-30 15:33:23 +03:00
Tassilo Horn 1bf3054167 Fix refs to mu4e~update-buffer which has been renamed to mu4e--update-buffer 2021-09-29 21:21:35 +02:00
Tassilo Horn f7985103e0 Allow a function as mu4e-split-view value
This allows to have a function returning a window as value of
`mu4e-split-view`.  I'm using this patch since quite some time locally with the
following function.

```el
(defun th/mu4e-split-view ()
  (let* ((headers (mu4e-get-headers-buffer))
         (headers-win (and headers (get-buffer-window headers)))
         (view (mu4e-get-view-buffer))
         (view-win (and view (get-buffer-window view))))
    (cond
     ;; There's a view window, just use it.
     (view-win view-win)
     ;; Just one window, split sensibly, i.e., horizontally or
     ;; vertically depending on geometry.
     ((one-window-p) (split-window-sensibly))
     ;; Otherwise, use the tallest window.
     (t (car (sort (delq headers-win (window-list))
                   (lambda (a b)
                     (> (window-height a) (window-height b)))))))))

(setq mu4e-split-view #'th/mu4e-split-view)
```
2021-09-25 13:51:44 +02:00
Tassilo Horn 731c58df16 Fix declare-function statements referencing gone mu4e-utils 2021-09-25 10:23:20 +02:00
Thierry Volpiatto 20de2c8659
Fix `mu4e-get-view-buffer` (#2132)
It actually returns a buffer-name whereas it should return a buffer
object which make `mu4e~switch-back-to-mu4e-buffer` fail because
`buffer-live-p` expects a buffer object.
2021-09-23 07:43:14 +02:00
Christophe Troestler a12b44f3a3 mu4e-headers: Avoid the obsolete command warning 2021-09-08 09:24:14 +02:00
Dirk-Jan C. Binnema 191f0f478d build: detect wordexp
This was missing from the autotools setup.
2021-09-08 00:13:06 +03:00
Dirk-Jan C. Binnema a34e4056c4
Merge pull request #2127 from Chris00/master
mu4e-list: fix typo
2021-09-07 21:26:05 +03:00
Christophe Troestler 76e0a79d87 mu4e-list: fix typo 2021-09-07 11:54:04 +02:00
Dirk-Jan C. Binnema 129ea039b3 NEWS.org: update build instructions
Fixes: #2126.
2021-09-05 11:28:16 +03:00
Dirk-Jan C. Binnema f7e0bce67d mu4e.texi: remove docs on old message view 2021-09-05 10:57:41 +03:00
Dirk-Jan C. Binnema eb08d04ecd build: autogen.sh: update
Hopefully fix CI failure
2021-09-04 10:51:25 +03:00
Dirk-Jan C. Binnema 964ab0e2c7 build: Extend makefile targets
Add a target for build mu4e-docs, add CSS file for that, too.
2021-09-04 10:41:07 +03:00
Dirk-Jan C. Binnema 5303b8cdc8 mu4e.texi: improve regexp example 2021-09-04 08:42:18 +03:00
Dirk-Jan C. Binnema ecea966169 mu int: improve docs for regexp addresses 2021-09-04 08:34:17 +03:00
Dirk-Jan C. Binnema 1c076e6c43 mu4e.texi: Add regexp --my-address example 2021-09-04 08:25:29 +03:00
Dirk-Jan C. Binnema 57f00a6c1a
Merge pull request #2105 from c0dev0id/master
Fix mu-init manpage markup
2021-09-02 23:54:23 +03:00
Dirk-Jan C. Binnema 9bcebb5cf8 build: avoid some compiler warnings 2021-09-02 23:36:43 +03:00
Dirk-Jan C. Binnema 87ac89b082 index: rely less on dir tstamp when indexing
Let's use the _current time_ (time(NULL)) instead of the dir-tstamp for a maildir;
this avoids re-indexing mail where the mails have a newer time, but their
directory hasn't (e.g. 'touch')

Experimental, let see how this works.
2021-09-02 23:16:24 +03:00
Dirk-Jan C. Binnema f769476a51 meson.build: cleanups, install NEWS.org 2021-09-02 23:15:03 +03:00
Dirk-Jan C. Binnema a53ca7da5e mu4e.texi: Update build instructions
Update the meson instructions.
2021-09-01 23:25:45 +03:00
Dirk-Jan C. Binnema 3a39eff1df mu4e-(actions|control|org|update).el: tidy up
Fix flycheck warnings, and use '--' instead of '~' for private
variables/functions.
2021-08-31 08:46:27 +03:00