1
0
mirror of https://github.com/djcb/mu.git synced 2024-07-01 08:11:06 +02:00
Commit Graph

4489 Commits

Author SHA1 Message Date
Chris Nixon
7b6da1131b Only require html2text if it will be used
html2text is deprecated in the emacs pretest, by unconditionally
importing it mu4e causes a mildly irritating yes/no prompt to appear
during startup.

This change ensures that html2text is not loaded unless the emacs
running is a version that does not have 'shr-insert-document
2018-02-19 12:17:00 +00:00
djcb
6fe67b354d lib/parser: fix month days
In the olden days, we stored dates like e.g. 20180131121234, and do a
lexicographical check. With that, we could use e.g. upper-limits
201802312359 for "all dates in Feb 2018", even if Feb doesn't have 31
days.

However, nowadays we use time_t values, and g_date_time_new_local raises
errors for non-existent days; easiest fix is to massage things a bit; so
let's do that.

Fixes issue #1197.
2018-02-17 18:07:13 +02:00
djcb
15ba4699ab lib/parser: use g_vasprintf, _XOPEN_SOURCE
Attempt to restore building on Cygwin.
2018-02-11 12:02:53 +02:00
djcb
d3ced050ed configure: bump version to 1.1.0 2018-02-11 12:02:53 +02:00
djcb
971cbaf31a update NEWS.org 2018-02-11 12:02:53 +02:00
djcb
aef46ec14f mu4e: add some support for the mux backend 2018-02-11 12:02:53 +02:00
Dirk-Jan C. Binnema
0fe234c3ba
Merge pull request #1190 from jwhitbeck/master
mu4e: ensure sent dir is created with proper maildir structure
2018-02-09 22:52:56 +02:00
John Whitbeck
76c0f44c51 mu4e: ensure sent dir is created with proper maildir structure
offlineimap will only sync directories that have 'cur', 'tmp', and
'new' sub-directories. Currently, mu4e can end up in a state where the
sent folder only has the 'cur' directory and is therefore not synced.

Upon saving a sent email, emacs' write-file will prompt to create
parent directories if the sent maildir does not already exist. This
results in the following directory structure:

<mu4e-maildir>/<sent>/cur/<email>

Note that the 'tmp' and 'new' directories are missing. This commit
ensures that they are always created.
2018-02-08 20:35:43 -08:00
djcb
7d6c30fb6b bump version to 1.0 2018-02-03 14:02:45 +02:00
Dirk-Jan C. Binnema
fb94ce671a
Merge pull request #1181 from vsedach/master
Replace Bash-specific [[]] with POSIX sh [] in autogen.sh
2018-01-25 18:53:17 +02:00
Vladimir Sedach
a28faf047f Replace Bash-specific [[]] with POSIX sh [] in autogen.sh 2018-01-24 19:30:04 -08:00
Dirk-Jan C. Binnema
97ad4baea7
Merge pull request #1134 from jabranham/master
mu4e: simplify what "e" does in mu4e-view mode
2018-01-23 22:56:32 +02:00
Jonas Bernoulli
393ee7b219 No longer use obsolete alias speedbar-with-attached-buffer
Instead use the aliased variable `dframe-with-attached-buffer'.
The alias was established in Emacs 24.4.
2018-01-12 14:05:59 +01:00
Dirk-Jan C. Binnema
82743b3164
Merge pull request #1148 from thierryvolpiatto/mu4e-view
Fix again #1141 (mu4e-view-mode-hook should run after text insertion)
2018-01-06 15:01:32 +02:00
Dirk-Jan C. Binnema
dd8e099d5f
Merge pull request #1157 from andersjohansson/add-defcustom
mu4e: Use defcustom for the customizable variables in mu4e-lists.el
2018-01-06 14:59:01 +02:00
Dirk-Jan C. Binnema
a563651b22
Merge pull request #1163 from eqyiel/replace-references-to-mu4e-message-get-field
mu4e/mu4e-vars.el: replace references to mu4e-message-get-field
2018-01-06 14:54:52 +02:00
djcb
ffb7118366 mu-query.7: some improvements
Improve the query man-page.
2018-01-06 14:48:58 +02:00
djcb
ef8c1960de mu4e.texi: Add compose-mode example 2018-01-06 14:48:28 +02:00
djcb
90868bd637 update NEWS.org 2017-12-27 13:12:00 +02:00
djcb
0228f35ec5 simplify mu4e~docid-msgid-param
It was using an ununed `format', which caused trouble when the msgid
contained format characters.
2017-12-27 12:51:44 +02:00
Dirk-Jan C. Binnema
e50e6bd3d1
Merge pull request #1169 from jschwab/bump-version-string
Bump version string to 1.0-alpha3
2017-12-19 19:48:30 +02:00
Josiah Schwab
91e72ffae5 Bump version string to 1.0-alpha3 2017-12-19 08:09:55 -08:00
djcb
4f69405d7a NEWS.org: update 2017-12-17 17:20:04 +02:00
djcb
e1c6fa4b95 mu4e: fix typo in mu4e~docid-msgid-param
Fix silly typo. Fixes #1166.
2017-12-10 13:52:11 +02:00
djcb
02dca2fba9 gitignore: update 2017-12-10 13:50:25 +02:00
Ruben Maher
f279d54c1a mu4e/mu4e-vars.el: replace references to mu4e-message-get-field
I think these docs strings are referring to the function `mu4e-message-field'.
2017-12-06 09:23:50 +10:30
djcb
0d9d8d26d0 mu4e: improve msgid quoting 2017-12-03 22:18:35 +02:00
djcb
7a62758afa mu: handle funny msgids
Query msgids without trying to parse them. Also, clean up some code.
2017-12-03 22:17:30 +02:00
djcb
620912c62b mu: support 'raw' query (internally)
Allow for passing 'raw' queries to xapian, without any parsing.
2017-12-03 22:16:32 +02:00
Gambhiro
b95fb8b95a shorten modeline str if longer than max-width 2017-12-03 15:27:16 +00:00
djcb
f840d0deaa parser: promote single value to a range for range-fields
Treat e.g. 'date:20170101' as 'date:20170101..20170101', just like
the Xapian parser does.
2017-12-03 12:39:31 +02:00
Anders Johansson
e0fd8ed3ba Use defcustom for the customizable variables in mu4e-lists.el 2017-11-26 15:47:13 +01:00
djcb
9ad4a76eac bump version to 1.0-alpha2 2017-11-12 15:00:50 +02:00
djcb
1bb8af69fe man: update query documentation 2017-11-12 14:50:52 +02:00
djcb
5f79535574 proc: ensure query string is utf-8
ensure that the query string is utf-8 before passing it to the backend.
2017-11-08 21:26:00 +02:00
Bryan Gilbert
c71bc710fb Fix region bounds checking when marking headers 2017-11-08 08:34:34 -05:00
djcb
dbc162ef9b cosmetic 2017-11-05 13:47:30 +02:00
djcb
9e1ce98da7 guile: small doc fix 2017-11-05 13:06:44 +02:00
djcb
9ecc610e14 mu4e: some doc fixes 2017-11-04 15:06:45 +02:00
djcb
f794cea6e7 parser: small regex optimization 2017-11-04 14:32:41 +02:00
Thierry Volpiatto
fc4e2c743b
Merge branch 'master' into mu4e-view 2017-11-04 13:03:40 +01:00
djcb
f59c899ae5 mu4e: add mu4e-query-rewrite-function
Add a function that allows rewriting queries before they are issued.
2017-11-04 13:54:09 +02:00
Dirk-Jan C. Binnema
265d5359be
Merge pull request #1149 from djcb/revert-1141-mu4e-view-mode-hook
Revert "Ensure mu4e-view-mode-hook run after text insertion"
2017-11-04 13:37:08 +02:00
Dirk-Jan C. Binnema
d87b97e0fb
Revert "Ensure mu4e-view-mode-hook run after text insertion" 2017-11-04 13:36:43 +02:00
djcb
6a0654c91b parser/utils: enforce 64-bit times on 32-bit platforms
don't assume a 64-bit platform.
2017-11-04 11:30:23 +00:00
djcb
ec51f66da2 test-str: fix arglist test 2017-11-04 13:06:43 +02:00
djcb
3cd150f289 parser: handle implicit 'and not' 2017-11-04 12:59:48 +02:00
djcb
40dd4751bf autogen.sh: don't require `which'
use posix standard "commmand" instead.
2017-11-04 12:49:28 +02:00
Thierry Volpiatto
70d4d56db5
Run mu4e-view-mode without its hook (#1141)
before text insertion and run finally the hook at end.
This ensure local variables are not killed after being set.
* mu4e/mu4e-view.el (mu4e-view): Do it.
2017-11-04 05:50:03 +01:00
Dirk-Jan C. Binnema
43df94fa39
Merge pull request #1146 from mekeor/master
mu4e: fix bug preventing mu4e-headers-change-sorting to sort by list
2017-11-02 08:10:32 +02:00