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

1140 Commits

Author SHA1 Message Date
Mekeor Melire
150234cb5f mu4e: fix bug preventing mu4e-headers-change-sorting to sort by list
The little bug was caused by a little confusion of the key for list-IDs.
Namely, we use `:list` and not `:list-id` for list-IDs.
2017-10-30 23:57:02 +01:00
djcb
ea2ffe23ae mu: fix quoting/unquoting parameters 2017-10-30 22:06:36 +02:00
Thierry Volpiatto
2eccd7df90
Keep original indentation
Only whitespace changes.

* mu4e/mu4e-view.el (mu4e-view): Do it.
2017-10-29 11:51:28 +01:00
djcb
3bc53af575 mu4e: show "Searching..." message
The new query-parser makes it easier to create queries that might take a
few seconds. qShow "Searching..." so the users knows what mu is doing.
2017-10-29 12:10:10 +02:00
djcb
8c531bd92b configure: don't require autoconf-archive
We ship the few macros we need or make them conditional
2017-10-29 11:25:12 +02:00
Thierry Volpiatto
8db567c980
Link urls after running mu4e-view-mode
* mu4e/mu4e-view.el (mu4e-view): `mu4e~view-make-urls-clickable`
should run after `mu4e-view-mode` otherwise an error popup telling the
hash-table storing links is nil.
2017-10-29 07:43:00 +01:00
Thierry Volpiatto
0a36c8431a
Ensure mu4e-view-mode-hook run after text insertion
* mu4e/mu4e-view.el (mu4e-view): Do it.
2017-10-29 06:54:13 +01:00
djcb
af4f12c696 mu4e: allow longer queries
Tell base64-encode-string not to include newlines.
2017-10-28 20:33:41 +03:00
djcb
4ee8c5e1d6 mu4e: work around quoting issues
Use base-64 for now.
2017-10-28 18:23:08 +03:00
djcb
a4fefc7256 mu4e: make mu4e-compose-crypto-reply-plain-policy nil by default
Making it sign by default is a bit too aggressive.
2017-10-28 11:23:57 +03:00
djcb
3ce8cd7e70 mu4e: small doc update
Update dependency information.
2017-10-28 11:17:03 +03:00
djcb
457a0a17a2 mu4e: update query quoting for new parser 2017-10-27 18:44:19 +03:00
Dirk-Jan C. Binnema
fe04e6d820 Merge pull request #1118 from MaximeMaW/master
mu4e: Allow to set the reply policy in a smart manner
2017-10-26 23:14:08 +03:00
djcb
68847f027f mu4e: support new query parser
maildirs with spaces
2017-10-26 21:31:50 +03:00
djcb
e4b3174ed8 mu4e: update docs
note the new query parser doc
2017-10-25 23:50:17 +03:00
djcb
5d3d9e274f mu4e: update headers for new quoting
update for the new query parser
2017-10-25 23:50:17 +03:00
djcb
85a9098962 mu4e: merge proc-mu back into proc.el 2017-10-25 23:50:17 +03:00
Alex Branham
7f16b7422d
mu4e: simplify what "e" does in mu4e-view mode
The default was to use e to save one attachment or C-u e to save multiple. This
simplifies it so that e simply offers to save one or many attachments.
2017-10-09 14:15:51 -05:00
djcb
77b8f034e9 cosmetic 2017-09-17 14:02:14 +03:00
maxime
e761f74f19 Warn the user about obsolete crypto-policy variable 2017-09-02 09:24:11 -07:00
maxime
5c6561873e Warning the used abot obsolete variable
Following code review (PR 1118):
- Warn the user about the fact that the
'mu4e-compose-crypto-reply-policy' variable is deprecated
- Removed a leftover debug message
- Edited typo in the name of the new variable
2017-09-02 09:13:57 -07:00
djcb
cb0025b352 mu4e: unbreak abbrevs in compose mode
Fixes issue #1119.
2017-09-02 15:56:29 +03:00
djcb
2811370d7e mu4e: fix some compiler warnings in mu4e-view 2017-09-02 15:37:35 +03:00
djcb
b8eba8f1fc mu4e: add some details about the "Verified:" header 2017-08-27 20:23:33 +03:00
djcb
95d68b4741 mu4e: add action mu4e-action-copy-message-file-path
Allow for copying the file path of the current message; useful for
developers.
2017-08-27 17:35:23 +03:00
djcb
3a8748c549 mu4e: display signers in signature header
Display the signers in the signature headers, so users can easily very
that a verified signed message was indeed signed by the expected sender.

We can't check using 'From:' automatically as that gives too many false
negatives.
2017-08-27 17:33:37 +03:00
djcb
e09419f85b mu4e: special-case empty hostnames
Fixes #1108
2017-08-27 15:44:23 +03:00
maxime
d343f7f538 Allow to set the reply policy in a smart manner
Depending on whether the original email was encrypted, one can set
different reply policies.
2017-08-26 19:47:36 -07:00
djcb
ceb7f0a8b4 mu4e: fix some typos
Hat-tip: Kelly Dean.
2017-08-13 10:09:03 +03:00
Dirk-Jan C. Binnema
b9ddc8b708 Merge pull request #1109 from galaunay/Add-update-info-in-modeline
mu4e: Optionally, add info on update status in the modeline
2017-08-11 00:02:36 +03:00
djcb
0cfc23650b mu4e: cosmetics
fix whitespace
2017-08-10 23:32:10 +03:00
galaunay
513eb65388 Add info on update status in modeline 2017-07-19 13:01:30 +02:00
djcb
81294eb17b mu4e: allow sorting by list-id
Added support for sorting by mailing-list; note that this ultimately is
a sort by the 'list-id', so the items will be in that alphabetical
order, which is not necessarily the same as the order of the friendly
names.
2017-07-02 10:46:08 +03:00
Vladimir Sedach
6017ac46ce mu4e: Update single-window mode
Update mu4e~headers-quit-buffer and mu4e~main-menu.

mu4e~headers-quit-buffer in single-window mode now kills current buffer
instead of quitting mu4e.

mu4e~main-menu is updated to redisplay the main menu on context switch
or unknown keybinding, display errors in commands better, and to handle
C-g and ESC keys.

Thanks to Joost Kremers for the suggestions.
2017-06-24 12:54:21 +02:00
djcb
afb47e7ef6 mu4e: small doc fix 2017-06-24 12:39:12 +02:00
djcb
cde35be271 Revert "Merge pull request #1099 from stsquad/fix-header-history"
This reverts commit ba75ef4b87, reversing
changes made to e735e70fa4.
2017-06-18 11:25:53 +03:00
Dirk-Jan C. Binnema
72db436a63 Merge pull request #1046 from jwhitbeck/master
mu4e: fix sending emails with no body
2017-06-17 12:10:24 +03:00
Dirk-Jan C. Binnema
ff2f8fa37d Merge pull request #1094 from wataash/remove-realdelete
mu4e: remove `realdelete' option of OfflineIMAP
2017-06-17 12:08:37 +03:00
Dirk-Jan C. Binnema
ba75ef4b87 Merge pull request #1099 from stsquad/fix-header-history
mu4e: don't loose search history when editing search
2017-06-17 12:05:51 +03:00
djcb
e735e70fa4 mu4e: add untrash to mu4e-view
The untrash function was not defined; let's add it.
2017-06-17 12:00:20 +03:00
Alex Bennée
9d06d72d6e mu4e: don't loose search history when editing search
Even though the user may be editing this expression there is no reason
to not have the mu4e~headers-search-hist present for the prompt. Emacs
will only replace it with system wide history which would likely
contain irrelevant history for the action.
2017-06-16 14:17:28 +01:00
Wataru Ashihara
625ee4f5f9 mu4e: remove `realdelete' option of OfflineIMAP
offlineimap/Changelog.md says Gmail `realdelete' option is considered
harmful and was removed on OfflineIMAP v6.5.2.1 (2012-04-04).
2017-06-10 15:47:48 +09:00
Vladimir Sedach
9420d088eb mu4e: Added new mu4e-split-view mode: single-window
Single-window mode is meant to minimize mu4e window operations (opening,
killing, resizing, etc) and buffer changes, while still retaining the
view and headers buffers. In addition, it replaces mu4e main view with a
minibuffer prompt containing the same information.
2017-05-31 20:52:59 -07:00
djcb
34d5c61930 mu4e: try a little harder to get contacts
Some people reported problems with completing contacts. It's unclear
what's going on there. Maybe this helps.
2017-05-06 13:12:38 +03:00
djcb
bbdee4e765 mu4e: cosmetics (mu4e-main) 2017-05-06 13:12:38 +03:00
djcb
6bde2618ab mu4e: make mu4e-context-current interactive
So it will output the name of the current context when used in an
interactive context.
2017-05-06 13:12:38 +03:00
Arne Köhn
47a046c662 advance after mark can now be disabled
The variable mu4e-headers-advance-after-mark can be set to nil if you
want to disable moving to the next mail after marking.
2017-04-25 16:40:41 +02:00
djcb
22e11fc112 mu4e-vars.el: cosmetics
whitespace cleanup and some typo fixes; fixes issue #1065.
2017-04-10 20:05:31 +03:00
djcb
abe732111a mu4e: cosmetics 2017-04-09 11:33:21 +03:00
djcb
98b998b86d mu4e: remove mu4e~compose-browse-url-mail
Instead, rely on the common browse-url-mail, which does the right thing
after
  (setq mail-user-agent 'mu4e-user-agent)
2017-04-08 15:25:38 +03:00
djcb
895a78ba7b mu4e: handle cc in mu4e~compose-browse-url-mail
Handle Cc fields in mu4e~compose-browse-url-mail, as per issue #1025.
2017-04-08 14:55:24 +03:00
djcb
87ed69ee03 mu4e: auto-delete after 30 secs instead of 10
Don't auto-delete files too soon (before they can be used), even on
slower systems.
2017-04-02 16:39:21 +03:00
djcb
fb09af4215 mu4e: compose/format-flowed: don't enable fringe indicators
We were enabling the fringe indicators by default in
mu4e-compose-format-flowed; let's not do that and leave it to the
user (they can use add-hook etc.)
2017-04-02 16:27:53 +03:00
Ronald Evers
6ce126ca69 Fix typo in mu4e-sent-messages-behavior docs 2017-03-26 21:49:36 +02:00
djcb
21b637f291 mu4e: minor cleanup in mu4e-compose 2017-03-18 10:24:51 +02:00
djcb
42cd4f89d2 mu4e: mention max-specpdl-size setting
Mention the max-specpdl-size setting, to avoid the
  Variable binding depth exceeds max-specpdl-size
error some people were seeing.
2017-03-18 10:22:46 +02:00
djcb
7729948d74 mu4e: utils: whitespace cleanups 2017-03-18 10:10:46 +02:00
djcb
c115d75a50 mu4e: handle marks outside headers-view
Ensure we the marks get counted correctly outside the headers view. This
avoids mu4e trying to refresh the headers buffer when we're reading a
message.
2017-03-18 10:09:10 +02:00
djcb
7d895dbd69 mu4e: widen buffer after save
Otherwise, undo won't work. Fixes issue #1047.
2017-03-18 10:07:12 +02:00
John Whitbeck
bbd8f55700 mu4e: fix sending emails with no body 2017-03-11 22:17:56 -08:00
Dirk-Jan C. Binnema
8f1f88ce0a Merge pull request #1044 from garaud/doc-org-contact-link
mu4e: update the org-contacts package link in the doc
2017-03-11 15:02:07 +02:00
djcb
b04b3bcea9 mu4e: don't require user-agent string 2017-03-09 01:27:44 +02:00
Damien Garaud
5b36656d5d mu4e: update the org-contacts package link in the doc 2017-03-06 10:55:35 +01:00
Dirk-Jan C. Binnema
9798d1fe6a Merge pull request #1036 from wavexx/reply-ignore-regexp
mu4e: Allow to ignore addresses when doing wide replies
2017-03-05 15:57:05 +02:00
Ian Kelling
c6d297b402 mu4e: improve `mu4e-get-maildirs' docstring 2017-02-28 04:15:27 -08:00
Dirk-Jan C. Binnema
ff94595fad Merge pull request #1037 from wavexx/fix-duplicate-header-views
mu4e: Do not duplicate headers views in iconified/hidden frames
2017-02-21 09:46:43 +02:00
Dirk-Jan C. Binnema
f3aa51fbc1 Merge pull request #1034 from jschwab/docs-context-maildir
doc: Add example of matching maildir and its sub-directories in contexts
2017-02-21 07:59:31 +02:00
Yuri D'Elia
34ed757e11 Do not duplicate headers views in iconified/hidden frames
When the frame running mu4e is in another virtual desktop or iconified, but
still contains a visible headers buffer, do not attempt to create a new view.
2017-02-20 18:40:20 +01:00
Yuri D'Elia
0a5224c4c8 Allow to ignore addresses when doing wide replies
Introduce a new variable, mu4e-compose-reply-ignore-address, which matches
addresses to be skipped when doing wide replies.

This is identical in behavior to messages-dont-reply-to-names from message.el
(which we default on).
2017-02-20 00:37:44 +01:00
Josiah Schwab
195b91a3db Add example of matching maildir and its sub-directories in contexts
Inspired by this mu-discuss thread:
https://groups.google.com/d/msg/mu-discuss/rAT2YJPEwsA/eYmoGJbUCgAJ
2017-02-17 14:52:06 -08:00
Titus von der Malsburg
79ad110737 mu4e: Added menu items for untrash 2017-02-14 12:02:56 +01:00
djcb
4c9a8ea112 mu4e: filter out body parts as attachments
Make the attachment heuristic yet a bit more complicated... filter out
most body parts.
2017-02-12 11:33:01 +02:00
djcb
1c4dbe580c mu4e: show inline text/plain as attachment
Show inline text parts as attachments too, so we can save them; however,
filter outer really small ones (ie. footers)
2017-02-12 11:11:16 +02:00
djcb
235dc75a1a mu4e: mu4e-message: allow for bodyless messages
Seems the code didn't handle the no-body case. Do so now.
2017-02-07 07:45:59 +02:00
djcb
7c6c3b63f8 mu4e: remove some debugging 2017-02-07 07:09:05 +02:00
Dirk-Jan C. Binnema
ad1a372b5f Merge pull request #986 from stig/format-flowed-alt
POC: Respect format=flowed and delsp=yes for viewing plain-text messages
2017-02-05 15:52:16 +02:00
djcb
b0c618c3e5 mu4e: fix typo mu4e~html2text-wrapper 2017-02-05 15:49:02 +02:00
djcb
06e848a448 mu4e: fix type (-> mu4e~html2text-shell) 2017-02-05 13:23:19 +02:00
Stig Brautaset
cdc2fa1bd8 Respect format=flowed and delsp=yes for viewing plain-text messages 2017-01-31 11:28:55 +00:00
djcb
05faceeb49 mu4e: some whitespace cleanup 2017-01-30 21:07:00 +02:00
djcb
5a09733048 mu4e: msg2pdf: don't require builddir for default
Try to find msg2pdf in addition to builddir, since it seems some people
/ distros are actually installing it.
2017-01-30 21:05:04 +02:00
Dirk-Jan C. Binnema
430f17af65 Merge pull request #1003 from Chris00/elec-quote
mu4e: Make electric-quote-(local-)mode work when composing emails
2017-01-30 20:49:56 +02:00
djcb
d718531312 mu4e: don't use 'node' for the subsection 2017-01-30 08:50:44 +02:00
djcb
08f2bb2ef4 mu4e: allow for message body rewriting
Add `mu4e-message-body-rewrite-functions', a list of functions to
transform the message body text. Add a small example to the
documentation.
2017-01-29 13:21:53 +02:00
Christophe Troestler
bf2f2ee12a Do not show the electric quote menu if Emacs is too old 2017-01-24 23:21:55 +01:00
Christophe Troestler
a9cbead5af Add a menu entry for electric-quote-local-mode 2017-01-24 23:21:55 +01:00
Christophe Troestler
9cb0772993 Make electric-quote-(local-)mode work when composing emails
electric-quote-(local-)mode used to have no effect because
`comment-use-syntax' was left to `undecided' so the electric mode was
not enabled for paragraphs.

Fixes https://github.com/djcb/mu/issues/997
2017-01-24 23:21:55 +01:00
djcb
67b499f9ed mu4e: minor doc updating 2017-01-24 23:58:32 +02:00
djcb
475fec0d16 mu4e: treat 'traditional as 'above 2017-01-24 18:48:27 +02:00
djcb
02e651a8fc mu4e: rework html2text conversion
Rework the conversion from html to text; the functions doing that now
expect to receive one parameter, the message, and return the converted
message.

In the old way, the function got invoked in a buffer with html text, and
were expected to modify it to text. This old way is still supported for
backward compatibility.
2017-01-24 08:27:21 +02:00
djcb
edcae719e4 mu4e: pass msg to html2text functions
Add a `msg' parameter to html2text functions, but for backward
compatibility, introspect the functions, and if they don't support it,
use the old ways of running the function in the context of a buffer with
the html text.
2017-01-22 22:20:08 +02:00
djcb
014d33d050 mu4e: document `mu4e-headers-hide-predicate'
Add to the FAQ.
2017-01-22 22:12:40 +02:00
djcb
1c4caf198d mu4e: try to honor `message-cite-reply-position'
Try to respect gnu's `message-cite-reply-position' by placing the cursor
in the right position.
2017-01-22 22:11:30 +02:00
djcb
4859cb802f mu4e: headers: don't clear too soon
Try burying header buffers a bit less aggressively.
2017-01-18 00:13:02 +02:00
Dirk-Jan C. Binnema
6446d62c15 Merge pull request #1008 from KrzysiekJ/forward-as-attachment
mu4e: Add possibility to forward messages as attachments
2017-01-16 23:54:11 +02:00
djcb
e0c21252c9 mu4e: clean up update handling
When we have a mu4e-headers window open and there's an update, try to
refresh it. If there's no open window, don't.
2017-01-16 23:45:14 +02:00
djcb
52ef84ccab mu4e: mu4e-main: don't use obsolete function 2017-01-16 23:44:34 +02:00
djcb
600955eebc mu4e: rename msg->message in mu4e-message-changed-hook 2017-01-15 15:41:16 +02:00
djcb
e9b71af547 mu4e-headers: default to include-related / skip-duplicates
Probably better default options for most users.
2017-01-14 16:51:50 +02:00
Krzysztof Jurewicz
f060cb8196 mu4e: Add possibility to forward messages as attachments
This commit adds a global variable
mu4e-compose-forward-as-attachment. To enable choosing forwarding
method on a per-message basis would probably require either:

• changing the mu server backend so that it distinguishes between
  inline forwarding and forwarding as attachment;
• changing the mu server backend so that it doesn’t return attachments
  at all and making both inline and as attachment forwarding via
  MIME (and also making mu4e actually display MIME-enclosed inline
  emails).
2017-01-13 16:30:25 +01:00