Commit Graph

3678 Commits

Author SHA1 Message Date
Phil Hagelberg 6d5d5c7b24 Fix incorrect ChangeLog. 2015-08-08 08:54:33 +07:00
djcb fd557aeac8 mu: add in-reply-to/references to non-body sexp
Add the in-reply-to and references fields to the header-only sexps.
2015-07-05 20:46:11 +03:00
djcb 1820289c96 mu4e: note about encrypting outgoing msgs (fixes #576) 2015-07-05 20:45:11 +03:00
djcb 5b8dc80bd1 mu4e: small updates to manual 2015-07-05 13:04:57 +03:00
djcb f0cbf1dd7c mu4e-view: small cleanup 2015-07-04 12:24:40 +03:00
Dirk-Jan C. Binnema 6fd4e67f3b Merge pull request #635 from tmalsburg/master
mu4e: Added workaround for #417.
2015-07-04 12:20:05 +03:00
Dirk-Jan C. Binnema 2b5c0da669 Merge pull request #634 from StAlphonsos/attila-bugfix-c_str-redux
Fix call to c_str() that sometimes dumps core on OpenBSD i386-current
2015-07-04 12:15:36 +03:00
Titus von der Malsburg ccfdf02a23 mu4e: Avoid if-let.
For compatibility with pre-25 Emacs.
2015-07-03 10:10:15 -07:00
Titus von der Malsburg d9e0bf7c6f mu4e: Added workaround for #417. 2015-07-02 18:01:47 -07:00
attila a0640a0532 Fix call to c_str() that sometimes dumps core on OpenBSD i386-current
The core dump only seems to occur if mu4e-headers-include-related is
set to t.

Apparently, std::string's c_str() method is confusing to many
people, c.f.
  http://stackoverflow.com/questions/22330250/how-to-return-a-stdstring-c-str

The answer seems to be that the pointer c_str() returns may not be
valid past the current statement; returning it, or even using it
subsequently can have you sending a wild pointer into e.g. g_strdup().

In short, it seems idioms like this are okay:

    return g_strcmp0 (s1.c_str(), s2.c_str()) < 0;

Whereas idioms like this are not:

    const char *msgid (iter->msgid().c_str());

    return msgid ? g_strdup (msgid) : NULL;

At least in my environment by the time we get to g_strdup() the
pointer returned by c_str() is wild and points at garbage.  Since
g_strdup() returns NULL if passed NULL, it seems collapsing it into a
single line is not only possible but necessary.

I've looked at all of the calls to c_str() in mu and it appears to
me this was the one remaining one that was bad.
2015-07-02 15:14:29 -05:00
Dirk-Jan C. Binnema 3804c0d0c0 Merge pull request #632 from StAlphonsos/attila-bugfix-part-index
Fix core dump in mu-server (at least) for cmd:extract index:0 ...
2015-07-01 08:32:05 +03:00
attila f5a5cde965 Fix core dump in mu-server (at least) for cmd:extract index:0 ... 2015-06-30 16:28:26 -05:00
Dirk-Jan C. Binnema 3df91c917d Merge pull request #630 from davidcsterratt/bbdb-doc
#621 mu4e: BBDB documentation
2015-06-28 19:45:38 +03:00
David C Sterratt f5f1977f96 #621 BBDB documentation 2015-06-23 11:08:07 +01:00
djcb cc4bb1abcd mu4e: fix typo 2015-06-14 11:40:43 +03:00
djcb 2d75b3d3ec mu: improve mu verify output, update man page 2015-06-14 11:40:07 +03:00
djcb 0041cd47ef script: make find-dups a bit faster
'find-dups' was trying to call `mu remove' for each duplicate message it
removes. This can be quit slow, so simply delete a file. After dups have
been removed, run `mu index'.
2015-06-14 11:16:01 +03:00
djcb d7c1f19ea7 Merge branch 'master' of github.com:djcb/mu 2015-06-09 21:10:07 +03:00
djcb 264ccd88c9 update NEWS.org 2015-06-09 21:08:28 +03:00
Gour 3c22af2bb8 mu4e-contrib: add some spam-handling functions
Add some basic spam-handling functionality to mu4e-contrib
2015-06-09 21:08:02 +03:00
djcb 041a79fdb5 mu4e: add NEWS(.org) as a main menu item 2015-06-09 21:08:02 +03:00
djcb 29230a787b Install NEWS.org, mu4e-about.org 2015-06-09 21:08:02 +03:00
djcb 1458095693 Update NEWS.org 2015-06-09 21:08:02 +03:00
djcb 71ee601dce Add the missing NEWS 2015-06-09 21:08:02 +03:00
djcb e02077ab3d mu: make NEWS.org the place to put user information 2015-06-09 21:08:02 +03:00
thdox e845147565 fix typo 2015-06-09 21:08:02 +03:00
Dirk-Jan C. Binnema e054a81bbb Merge pull request #626 from zakkak/mu4e-compose-in-new-frame
Make `mu4e-compose-in-new-frame` always kill frame
2015-06-07 21:09:37 +03:00
djcb f0a34599d0 mu4e: add NEWS(.org) as a main menu item 2015-06-07 21:07:59 +03:00
djcb f69ced2339 Install NEWS.org, mu4e-about.org 2015-06-07 21:07:41 +03:00
djcb 7fedb612c3 Update NEWS.org 2015-06-07 21:06:45 +03:00
Foivos S. Zakkak 2cf741e996 Make `mu4e-compose-in-new-frame` always kill frame
When `message-kill-buffer-on-exit` was set to nil mu4e would not close
the new frame.  Closing the new frame should be independent of killing
the buffer.  This patch corrects this.

(relates to #615)
2015-06-07 14:00:20 +03:00
djcb b4d371de53 Add the missing NEWS 2015-06-01 18:25:23 +03:00
djcb d26fab6210 mu: make NEWS.org the place to put user information 2015-05-30 11:10:59 +03:00
Dirk-Jan C. Binnema cb67a125c6 Merge pull request #623 from thdox/documentation
mu4e: fix typo
2015-05-28 20:11:30 +03:00
thdox 67bfd1fdf8 fix typo 2015-05-27 20:49:18 +02:00
Dirk-Jan C. Binnema 1a096a0cf0 Merge pull request #618 from zakkak/mu4e-compose-in-new-frame
Fix else case in if statement of #615
2015-05-25 20:16:52 +03:00
Foivos S. Zakkak 51628e2229 Fix else case in if statement of #615 2015-05-25 16:50:33 +03:00
Dirk-Jan C. Binnema d13dc7a1bc Merge pull request #614 from emon/fix-mu4e-org-capture-templates
* mu4e/mu4e-actions.el: modify org-capture-templates
2015-05-24 11:53:01 +03:00
djcb 87341ec01b Merge branch 'pull-615' 2015-05-24 11:50:28 +03:00
Pan Jie 64959382b9 Mu4e: add support for composing in a new frame
Adds the variable mu4e-compose-in-new-frame and when set to t, message
are composed in a new frame rather than the current one.
2015-05-24 11:48:37 +03:00
djcb b6baea3b21 mu4e: fix mixed-up lines in faq example 2015-05-24 11:32:07 +03:00
KOMURA Takaaki 0901af847a * mu4e/mu4e-actions.el: modify org-capture-templates
add " " between :EMAIL: and 'mail'
move the cursor to the left of 'name'
2015-05-20 23:44:41 +09:00
djcb 976711c16c mu4e: support message-action when marking 'deferred'
When marking headers as 'deferred' (with '*'), and executing them ('x'),
you can now also apply arbitrary header actions to them.
2015-04-26 17:09:06 +03:00
djcb 7eb244b3b0 mu: don't use __FUNCTION__, use __func__
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is
standardized in c99.
2015-04-22 21:06:31 +03:00
Dirk-Jan C. Binnema 0ffbb2e5f6 Merge pull request #602 from tiagosab/master
mu4e: avoid error when splitting headers window
2015-04-20 09:36:31 +03:00
djcb be2dbbe984 mu-find.1: mention mailing-list matching parameters
Mention matching, retrieving the mailing-list value (if any)
2015-04-19 15:44:40 +03:00
djcb 1fa9aea6e2 Bump version to 0.9.12
Enough changes to warrant a new version
2015-04-16 22:27:38 +03:00
Tiago Saboga a57228b724 mu4e: avoid error when splitting headers window 2015-03-28 09:07:50 -04:00
djcb 646b06563f mu4e: fix :thread-subject for the non-threaded case 2015-03-23 20:57:29 +02:00
djcb 910e41e2fe mu4e: experimental :thread-subject field (one subject per thread)
with :thread-subject field, we attempt to only show one subject per
thread, somewhat like mutt does it.

the current implementation is straightforward, but does not take into
account whether the thread-subject is currently visible on the screen,
which is a bit tricky to implement
2015-03-22 11:49:57 +02:00