Commit Graph

4631 Commits

Author SHA1 Message Date
Alex Bennée 79774d4d1b mu4e/mu4e-actions: re-factor apply-patch/mbox
The old code directly hacked around with ido-read-directory to achieve
its smarts. However other completion methods are available so this
re-factors the code to use an appropriately predicated completing-read
with a new history variable which is just used for patch application.
2018-05-25 18:26:59 +01:00
Alex Bennée 67b9ef8384 mu4e/mu4e-actions: optional apply signoff
Maintainers often want to apply patches with their signoff. Support
this with an optional argument.
2018-05-21 18:56:44 +01:00
djcb 426b9a50c7 guile: optionally allow guile2.2 2018-05-21 15:03:58 +03:00
djcb 7a8d43dc5f only use OP_WILDCARD for xapian >= 1.3.3
It's not available for earlier versions.
2018-05-19 22:22:41 +03:00
djcb 6290e4ad9a query-parser: special-case wildcards
We were transforming wild-card searches into regular-expression
searches; while that works, it's also significantly slower.

So, instead, special-case wildcards, and use the Xapian machinery for
wildcard queries.
2018-05-19 11:20:58 +03:00
Dirk-Jan C. Binnema 84376b4aa7
Merge pull request #1241 from jabranham/dont-declare-nil-obsolete
mu4e: Fix call to make-obsolete-variable
2018-05-19 11:19:17 +03:00
Alex Branham 39ec6a0417
Fix call to make-obsolete-variable 2018-05-18 15:52:41 -05:00
djcb b9527245a8 mu4e: minor doc update 2018-05-14 15:44:23 +03:00
Dirk-Jan C. Binnema c2c5dd5939
Merge pull request #1236 from mhcerri/mu4e-orphan-thread-prefix
mu4e: orphan thread prefix
2018-05-11 14:50:01 +03:00
Marcelo Henrique Cerri 94e9795d9d mu4e: Do not assume orphan messages can't appear in the middle of a thread
Do not clear the thread state when an orphan message is found.
2018-05-03 08:27:20 -03:00
Marcelo Henrique Cerri 26cd0a59ff mu4e: use special prefixes to describe orphan threads
Re-use `mu4e-headers-thread-orphan-prefix' for the prefix for the
first sibling in the orphan thread and add
`mu4e-headers-thread-single-orphan-prefix' as the prefix of single orphans.
2018-05-02 23:31:33 -03:00
Marcelo Henrique Cerri d8ca5a3d7b mu4e: remove reference to mu4e-headers-new-thread-style
The docs for the prefix variables mention the variable
"mu4e-headers-new-thread-style" that was removed on a previous
iteration.
2018-05-02 23:04:50 -03:00
djcb 35951da4b5 mu4e: doc: mention aquamacs-autoface-mode
See issue #1230.
2018-05-01 13:12:23 +03:00
djcb c410ebfc45 mu: update copyright year in --version 2018-04-28 09:33:46 +03:00
djcb cd649efb6b mu4e: re-view after marked-as-read
When we mark a message as read, we get an (:update ... ) with the
marked-as-read message (ie., moved from new/ to cur/).

The (:update ...) however does _not_ include extracted images etc.; so
images in unread message would not be visible at that time. To fix this,
to another (:view ...) and extract the images etc.

Thanks to tangxinfa for pointing this out.
2018-04-25 11:35:52 +03:00
djcb bef3113c09 mu4e: factor out mu4e~decrypt-p
Factor out defun to get decryption decision, so we can use it from
elsewhere.
2018-04-25 11:35:52 +03:00
djcb 84afa94fb2 mu4e: do not mark mu4e~view-msg as buffer-local
It's unnecessary.
2018-04-25 11:35:52 +03:00
Dirk-Jan C. Binnema aeb6718da6
Merge pull request #1161 from gambhiro/modeline-max-width
mu4e: shorten modeline str if longer than max-width
2018-04-25 11:32:15 +03:00
Dirk-Jan C. Binnema b9d2046a6e
Merge pull request #1228 from mhcerri/mu4e-improved-thread-prefix
mu4e: improved thread prefix
2018-04-25 09:45:14 +03:00
Marcelo Henrique Cerri adc56249da mu4e.texi: update the header view example with the new thread prefix 2018-04-24 22:34:43 -03:00
Marcelo Henrique Cerri 0b38210549 mu4e: add support for mutt-like thread tree prefix 2018-04-24 22:34:43 -03:00
Dirk-Jan C. Binnema 59e24f0234
Merge pull request #1221 from cacology/master
mu4e: updated fontify-signature for RFC 1153 compliant digest messages
2018-04-24 15:01:22 +03:00
djcb d0671ac3da mu4e: bump minimal required emacs to 24.4
We didn't really support older versions anyway, so let's make it
official.
2018-04-24 14:58:39 +03:00
djcb 260a8bb629 mu4e-view: use Gnus' article mode (experimental)
Add a defcustom `mu4e-view-use-gnus`, which, when `t', use Gnus'
article-mode for displaying messages instead of mu4e's built-in mode.

This is experimental, and a view messages do not display
correctly yet (base64-encoded bodies).
2018-04-24 14:58:39 +03:00
Dirk-Jan C. Binnema cc34705930
Merge pull request #1176 from emacsjanitors/silencio
mu4e: No longer use obsolete alias speedbar-with-attached-buffer
2018-04-24 14:58:03 +03:00
Dirk-Jan C. Binnema eebe1c4c66
Merge pull request #1198 from c-nixon/master
mu4e: Only require html2text if it will be used
2018-04-24 14:43:11 +03:00
Marcelo Henrique Cerri 297120dc6c lib: add last_child flag to thread information
With that flag it's possible to reconstruct the entire thread tree
structure in mu4e.
2018-04-23 01:05:54 -03:00
James P. Ascher 82bf333fab updated fontify-signature for RFC 1153 compliant digest messages 2018-04-03 14:50:28 -04:00
djcb b4cc67d455 parser/tests: allow for DST change
e.g. 21d / 2w are subject to DST; update the tolerance.
2018-03-31 18:44:17 +03:00
djcb 0356af5c98 mu: avoid runtime warning 2018-03-31 13:17:06 +03:00
Dirk-Jan C. Binnema 4242ca8bbf
Merge pull request #1212 from tarleb/update-links-in-mu4e-docs
mu4e.texi: Fix and update external links
2018-03-25 22:03:52 +03:00
Dirk-Jan C. Binnema 8d3dbe311e
Merge pull request #1211 from egli/master
Use automake support for texi to generate version info in the manual
2018-03-25 22:02:17 +03:00
Albert Krewinkel 3bb4c21995 mu4e.texi: Fix and update external links
External links are updated to point to the most informative pages. Pure
http links are upgraded to https were possible.
2018-03-24 12:20:00 +01:00
Christian Egli 522489a33c Use automake support for texi to generate version info in the manual
Automake contains some support for automagically adding version
information to a texi manual (see
https://www.gnu.org/software/automake/manual/automake.html#Texinfo).

> If the .texi file @includes version.texi, then that file will be
> automatically generated

This patch gets rid of the texi.texi.in and instead uses the standard
method to inject version information in the manual.

This fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870634
2018-03-22 12:35:44 +01:00
Dirk-Jan C. Binnema e32b0b96d8
Merge pull request #1207 from eklitzke/typo
Fix a typo in the mu-query man page
2018-03-18 09:22:16 +02:00
Dirk-Jan C. Binnema 84e03ee238
Merge pull request #1208 from eklitzke/mu4e-about
mu4e: Fix display of bugs link in mu4e-about.org
2018-03-18 09:21:06 +02:00
Evan Klitzke 73d9378819
Fix display of bugs link in mu4e-about.org 2018-03-17 22:33:31 -07:00
Evan Klitzke c5ddd56144
fix a typo in the mu-query man page 2018-03-17 18:54:54 -07:00
Dirk-Jan C. Binnema bf80b5b6a5
Merge pull request #1204 from ian-kelling/master
doc: man reference fixes
2018-03-11 10:14:22 +02:00
Ian Kelling e96d4a1a34 doc: fix man page reference formatting 2018-03-10 15:08:17 -05:00
Ian Kelling d79f1ff778 doc: fix reference to nonexistent "above" 2018-03-10 15:07:38 -05:00
djcb ebbe3ea023 mu: _XOPEN_SOURCE: fix typo 2018-03-10 13:05:44 +02:00
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