Commit Graph

5154 Commits

Author SHA1 Message Date
Danny O'Brien 623cf787ad guile: support version 3.0.
Includes an update to the guile m4 package, and tweaks the build so that
both 2.2 and 3.0 should work fine.
2020-10-31 10:43:49 +02:00
Dirk-Jan C. Binnema 69b157a346 lib: improve error handling, cleanups 2020-10-31 09:46:13 +02:00
Dirk-Jan C. Binnema aea64c4a08 mu/lib: refactor mu(-cmd)-server code
Split off the parsing/handling code from the mu command server into
mu-server, and only leave the external interface (the mu4e repl) in
mu-cmd-server.
2020-10-31 09:46:13 +02:00
Dirk-Jan C. Binnema 9a3ec0b649
Merge pull request #1812 from lockywolf/master
Add reference about read-mail-command to mu4e.texi.
2020-10-29 00:43:43 +02:00
Lockywolf d1964bd071 Add an example of filtering out spam. 2020-10-28 10:31:02 +08:00
Dirk-Jan C. Binnema d2aa1f91b0 mu: support json output directly
Allow for dumping json directly from the Sexp structures, so we don't
need any external libs (i.e. json-glib) anymore.
2020-10-26 18:39:56 +02:00
Dirk-Jan C. Binnema f2e87ea2d4 mu4e: Add some timing info to mu4e-headers-precise-alignment
Add some time information. Things are a bit slower with the precise
alignment.
2020-10-26 11:23:09 +02:00
Dirk-Jan C. Binnema e3896de8a4 mu4e: add mu4e-headers-report-render-time
When mu4e-headers-report-render-time is set to non-nil, mu4e will report
on the time it took to render the headers view.
2020-10-24 14:51:04 +03:00
Dirk-Jan C. Binnema ad055bd52b mu4e.texi: update note about mbsync 2020-10-24 01:25:32 +03:00
Dirk-Jan C. Binnema c223f858b7 mu4e: Add some extra logging to the mu-maildir 2020-10-22 20:16:41 +03:00
Dirk-Jan C. Binnema 30cc9c2c6c mui4e: mu4e-icalendar: fix typo 2020-10-22 10:18:06 +03:00
Dirk-Jan C. Binnema 4985f5c959 mu4e: Improve personal-address handling
Make mu4e-personal-address-p safe for being called with nil.

Upgrade code that used mu4e-user-mail-address-p to
mu4e-personal-address-p.

Update docs.

Add some more helpers to mu4e-message, and avoid some byte-compiler
warnings.
2020-10-19 22:39:25 +03:00
Dirk-Jan C. Binnema 6fc294102b
Merge pull request #1818 from wavexx/headers_fix_nil_addr
Check for nil before calling mu4e-user-mail-address-p
2020-10-19 21:53:48 +03:00
Yuri D'Elia 2967c49f5a Check for nil before calling mu4e-user-mail-address-p 2020-10-19 15:35:08 +02:00
Dirk-Jan C. Binnema e2f57e328a mu4e: update mu4e-message-contact-field-matches for regexp addresses 2020-10-19 09:52:35 +03:00
Dirk-Jan C. Binnema ca97d8c026 mu4e: mu4e-contact-process-function: filter out no-reply addresses
Add a default mu4e-contact-process-function, filtering out various
no-reply addresses.
2020-10-18 12:54:52 +03:00
Dirk-Jan C. Binnema 3937b70f13 mu4e: use sorted list in mu4e-contacts-info
Sort by rank.
2020-10-18 12:53:43 +03:00
Dirk-Jan C. Binnema 2eb8fc82ad lib: fix 'personal' handling in contacts 2020-10-18 11:58:32 +03:00
Dirk-Jan C. Binnema 1957bfa966 mu4e.texi: Remove mu4e-compose-complete-ignore-address-regexp mention
It's mu4e-contact-process-function instead these days.

Fixes #1801
Fixes #1799
2020-10-17 15:43:48 +03:00
Dirk-Jan C. Binnema 02321e8d50 bump version to 1.5.6, update NEWS.org 2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema 5379ab0c4b mu4e: do extra sanity check for mu version
One very common question / github issue. Hopefully this avoids some.
2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema 5e069d9a6f mu4e: support regexp patterns for personal addresses 2020-10-17 15:38:24 +03:00
Dirk-Jan C. Binnema dbff5671dd lib: support 'personal' regexp, move to mu-contacts
Move the determination of "personal" to MuContacts; add support for
regexps (POSIX-basic, in //)
2020-10-17 10:36:25 +03:00
Dirk-Jan C. Binnema 5cd6226ebd
Merge pull request #1813 from juanjosegarciaripoll/fix-renaming-separator
mu_maildir_get_new_path() did not use the right flags separator
2020-10-16 21:35:35 +03:00
Juan Jose Garcia-Ripoll fbad4760a4 Emacs did not use tabs in indenting mu-maildir.c 2020-10-16 19:34:55 +02:00
Juan Jose Garcia-Ripoll dd14ba64dd Fixed indentation and name / type conventions to match original 2020-10-16 19:22:52 +02:00
Dirk-Jan C. Binnema 9995d28927 mu: indexer: update dirstamp with statbuf st_mtime 2020-10-14 00:09:32 +03:00
Dirk-Jan C. Binnema 38b5c25762 mu-index: make progress a bit smoother
Avoid the lock
2020-10-13 23:36:19 +03:00
Dirk-Jan C. Binnema 9bf32e720b mu4e: add mu4e-headers-precise-alignment defcustom
Precise alignment is nice, but also noticeably slower than the
old (crude) alignment; so make it optional and turned off by default for
now.
2020-10-11 12:35:48 +03:00
Juan Jose Garcia-Ripoll e47c1f4f28 mu_maildir_get_new_path() did not use the right flags separator when creating new file names. 2020-10-10 18:20:16 +02:00
Lockywolf ef6ce58551 Fix typo. 2020-10-10 23:09:37 +08:00
Lockywolf 6a7bc30b9a Adjust the improvised sauron-biff with better naming. 2020-10-10 22:59:59 +08:00
Lockywolf 9c8a366e81 Replace Marmalade reference with MELPA. 2020-10-10 15:47:23 +08:00
Lockywolf 961e83b4ca Add reference about read-mail-command to mu4e.texi. 2020-10-10 15:28:31 +08:00
Jeff Filipovits 8ce966778a Properly align variable-pitch faces in header view 2020-10-06 21:50:57 +03:00
Dirk-Jan C. Binnema 78ec46dc1b
Merge pull request #1808 from juanjosegarciaripoll/fix-maildir
Allow use of Maildir FAT extension changing the Maildir info separator
2020-10-06 21:30:49 +03:00
Dirk-Jan C. Binnema 5d2dcb2f18
Merge pull request #1807 from juanjosegarciaripoll/master
Remove configuration check for timegm()
2020-10-06 21:24:35 +03:00
Juan Jose Garcia-Ripoll 071c60d229 Allow use of Maildir FAT extension changing the Maildir info separator 2020-10-04 16:47:42 +02:00
Juan Jose Garcia-Ripoll c885df06a1 Use g_stat() instead of stat() with GStatBuf 2020-10-02 09:51:33 +02:00
Juan Jose Garcia-Ripoll 4cdd819d03 Remove configuration check for timegm()
timegm() is no longer used in the mu source base.
2020-10-02 09:33:15 +02:00
Dirk-Jan C. Binnema d1b0938187 mu-cmd-cfind: include <array> 2020-08-15 11:04:36 +03:00
Dirk-Jan C. Binnema 5402e00fc5 mu-cmd-find: don't mark rainbow constexpr
clang/libc++ don't allow constexpr:

```
mu-cmd-find.cc:498:40: error: constexpr variable cannot have non-literal type 'const std::array<Color, 6>' (aka 'const array<Mu::MaybeAnsi::Color, 6>')
        constexpr std::array<Color, 6> rainbow = {
```

So let's make it mere `const` instead.
2020-08-15 10:51:04 +03:00
Dirk-Jan C. Binnema a4d6302dab mu-sexp: use std::vector instead of std::deque
Using deque gives compilation errors when compiling on
MacOS/clang (where it defaults to libc++ rather than gcc's libstdc++)

```
 #include <deque>
 struct Foo { std::deque<Foo> foos; };
 int  main() { Foo foo; }
```

So, let's use a vector instead; this is a drop-in replacement here, but
unfortunately in some future code...
2020-08-15 10:39:14 +03:00
Dirk-Jan C. Binnema 29b289d3c6
Merge pull request #1784 from whudwl/patch-1
Fix `mu help` doesn't show the `init` command. Fix a sentence.
2020-08-15 08:53:17 +03:00
David 857a4227a9
Fix `mu help` doesn't show the `init` command. Fix a sentence. 2020-08-14 00:00:54 +10:00
Dirk-Jan C. Binnema f18044f5b7 mu4e: gnus-view: Make sure to clean up gnus mm buffers (typo)
Fix typo in previous.
2020-08-09 17:17:23 +03:00
Dirk-Jan C. Binnema 0d6bf906fe mu4e: gnus-view: Make sure to clean up gnus mm buffers
After leaving a gnus-view buffer, we should clean up the the mm-*
buffers it creates; we were leaking those.

Fixes issue #1781
2020-08-09 17:12:40 +03:00
Dirk-Jan C. Binnema 9d43c3c4bb
Merge pull request #1776 from snits/headers-pipe
mu4e-headers: allow pipe through shell from headers view
2020-08-02 11:56:05 +03:00
Jerry Snitselaar 3a8fc95bfc mu4e-headers: allow pipe through shell from headers view
Being able to pipe through shell from the headers view is
convenient for some use cases, so wire it up to work.

Resolves #1752

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2020-07-29 10:52:17 -07:00
Dirk-Jan C. Binnema 3691e28316 build: attempt to avoid some libc++ problems
Seems there are problems compiling mu with XCode 11.6 (see build tests);
apparently because of libc++ being different from libstdc++.

clang++ builds works fine as long as we're using libstdc++.
2020-07-26 11:56:25 +03:00