djcb
f8a5daa666
gnus: handle more non-ascii
...
Fix character decoding issues for some (but not all) messages. This to
Chris00 for this work on this!
2018-09-02 16:43:06 +03:00
djcb
665e8e5436
mu4e: mention gmime-3.0 in instructions
2018-09-01 10:25:48 +03:00
djcb
16fa5d9a22
server: maybe mark updates with :maybe-view
...
Don't updates messages when it's not needed, but don't use :view, since
it confuses mu4e's handlers.
2018-08-18 11:40:16 +03:00
Eric Danan
6fd6d839d7
mu4e: fix action to show thread for single-window mode
...
When in single-window mode and invoking `mu4e-action-show-thread` from
the view buffer, stay in the headers buffer rather than going back to
the view buffer.
2018-08-18 10:59:17 +03:00
djcb
84fce77d0a
org-mu4e: small cleanups
2018-08-18 08:57:18 +03:00
Dirk-Jan C. Binnema
35d9c60a40
Merge pull request #1290 from ericdanan/org-mu4e
...
org-mu4e: move mu4e requirement inside org-mu4e-open
2018-08-18 08:54:17 +03:00
djcb
1d0b24afcf
mu4e: activate mode before getting attachments/links
...
So the relevant hash-maps are valid (they would be nillified by changing
the mode otherwise).
2018-08-16 22:48:20 +03:00
Dirk-Jan C. Binnema
dbdf68040a
Merge pull request #1297 from aluaces/patch-1
...
mu4e: Tiny fix in documentation
2018-08-15 08:15:04 +03:00
djcb
abf02000ec
mu4e: clean up mu4e~view-internal a bit
2018-08-14 22:20:32 +03:00
djcb
82e7d7c65d
mu: better handle updating mail being viewed
...
instead of the the 'noupdate', add 'noview', so the headers still get
update but we don't render unread mail twice.
2018-08-14 21:59:41 +03:00
djcb
a4398ac93d
mu4e/mu: optimize mark-as-read
...
Since cd649efb6b
, opening an unread message first does a proc-move,
then proc-view.
Reason is that while we get the (:update ... ) from the move, that only
contains a skeleton message; we need the full view get images etc. This
means that we render the message _twice_.
Here we change add a flag for move to _not_ send the (:update ..), so
only the (:view ...) will trigger rendering of the message.
2018-08-12 14:00:59 +03:00
djcb
6e646ea794
mu4e: add webrtc to mailing-lists
2018-08-12 14:00:59 +03:00
Alberto Luaces
8219a9e748
Tiny fix in documentation
2018-08-11 19:32:25 +02:00
djcb
58492f8217
mu4e: Better handle context-switching in speedbar
...
Repaint the contents when the context changes
2018-07-14 11:32:57 +03:00
Eric Danan
268b888226
org-mu4e: move mu4e requirement inside org-mu4e-open
...
This allows to defer loading mu4e. That is, if we simply put in our
init file:
(with-eval-after-load 'org
(require 'org-mu4e))
then mu4e is only loaded if either we follow a mu4e link from an org
buffer or we call the autoloaded function `mu4e` to read our emails.
Storing org-mode links from mu4e buffers is unaffected by this change
since `org-mu4e-store-link` only applies from mu4e buffers.
Regarding the second, experimental part of org-mu4e.el about editing
mails with org-mode, I am not completely sure but I think it should
also be unaffected since it also seems to only apply from mu4e buffers.
2018-07-13 14:53:37 +02:00
Dirk-Jan C. Binnema
4807461dbe
Merge pull request #1151 from gilbertw1/fix-mark-headers-region
...
mu4e: Fix region bounds checking when marking headers in mu4e
2018-07-11 21:35:57 +03:00
djcb
4f6fd873fa
mu4e: cleanup handler functions
2018-06-30 21:14:00 +03:00
djcb
5f45e014df
mu4e: use defvar for handler functions
...
This allows for a little easier *overriding* them.
2018-06-29 21:33:43 +03:00
djcb
1cb3cbc94d
mu4e: fix bbdb doc
2018-06-29 18:08:43 +03:00
djcb
5ccd261771
mu4e: speedbar: use the correct buffer
2018-06-14 11:19:50 +03:00
djcb
d106e0e03b
mu4e-view: ensure buffer is named *Article* (gnus mode)
...
Some of the gnus internal code depends on that.
2018-06-13 22:24:47 +03:00
djcb
9bf1670aa1
mu4e: work-around for missing contacts
2018-06-13 18:19:13 +03:00
djcb
acb68f5551
mu4e: disable some keybindings for the gnus backend
2018-06-13 16:58:41 +03:00
djcb
d98e78548c
mu4e: re-draw speedbar when context changes
...
Folders may have changed.
2018-06-13 14:48:22 +03:00
djcb
0140d433a1
mu4e: update documentation
2018-06-13 13:22:47 +03:00
djcb
36ce14e705
mu4e: view/gnus: support verifying signed mails
...
Hook up with gnus' verification for signed mails.
2018-06-13 13:22:47 +03:00
Dirk-Jan C. Binnema
4fb5d11d9f
Merge pull request #1243 from avar/render-urls-with-space-before-number
...
mu4e: view: render URLs as "<url> [%d]" not "<url>[%d]"
2018-06-12 09:23:14 +03:00
Ævar Arnfjörð Bjarmason
6c8aec38be
view: render URLs as "<url><zwp>[%d]" not "<url>[%d]"
...
When we render URLs like https://gnu.org/[1] right-clicking on them in
e.g. GNOME Terminal will also copy the "[1]" as well as the URL,
inserting zero-width-space[1] between the two avoids this.
I know about "g" (mu4e-view-go-to-url), but sometimes I want to open a
URL in a different browser, or copy it into a non-Emacs program. This
makes that easier. I think this improves the UI at a very trivial cost
to users that don't care about this use-case.
I could make this configurable, but unless someone vehemently objects
to this I don't see the point of not just making it the default.
In GNOME Terminal a ZWS is rendered simply as a space, and
copy/pasting works as expected, but in Emacs's GTK GUI there's no
space between the two.
This was initially a plain ASCII space character, but djcb preferred a
ZWP, and this works as well.
1. https://en.wikipedia.org/wiki/Zero-width_space
2018-06-11 22:10:56 +02:00
djcb
088064d5e1
mu4e: define the view-mode when needed
...
Define the view-mode (gnus or internal) just before it's needed. This
ensures that (when in gnus mode) it's really a gnus-article-mode
derivative, so more of the gnus specifics work.
2018-06-08 10:01:55 +03:00
djcb
ee6e91da9b
mu4e: auto decode quoted-printable, base64 (gnus)
...
Set things up so gnus article mode decodes base64 and quoted-printable
messages automatically.
Don't try to set up URL links.
2018-06-07 13:13:37 +03:00
djcb
d01bdfa7b4
mu4e: add decoding support for gnus' article-mode
...
Decode Gnu's articles as expected; thanks to Lars Ingebrigtsen for his
advice.
2018-06-05 17:42:09 +03:00
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
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
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
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
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
James P. Ascher
82bf333fab
updated fontify-signature for RFC 1153 compliant digest messages
2018-04-03 14:50:28 -04: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
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
Evan Klitzke
73d9378819
Fix display of bugs link in mu4e-about.org
2018-03-17 22:33:31 -07: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
aef46ec14f
mu4e: add some support for the mux backend
2018-02-11 12:02:53 +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
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
ef8c1960de
mu4e.texi: Add compose-mode example
2018-01-06 14:48:28 +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
djcb
e1c6fa4b95
mu4e: fix typo in mu4e~docid-msgid-param
...
Fix silly typo. Fixes #1166 .
2017-12-10 13:52:11 +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
Gambhiro
b95fb8b95a
shorten modeline str if longer than max-width
2017-12-03 15:27:16 +00:00
Anders Johansson
e0fd8ed3ba
Use defcustom for the customizable variables in mu4e-lists.el
2017-11-26 15:47:13 +01: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
9ecc610e14
mu4e: some doc fixes
2017-11-04 15:06:45 +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
d87b97e0fb
Revert "Ensure mu4e-view-mode-hook run after text insertion"
2017-11-04 13:36:43 +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
djcb
c3aca5b29e
mu4e: cosmetic
2017-11-02 08:06:48 +02:00
Dirk-Jan C. Binnema
d72d298818
Merge pull request #1141 from thierryvolpiatto/mu4e-view-mode-hook
...
mu4e: Ensure mu4e-view-mode-hook run after text insertion
2017-11-02 07:47:33 +02:00
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
djcb
f40ffa2464
mu4e: split off mu4e-proc-mu
...
Move mu-specific backend functions into separate file.
2017-01-03 17:49:31 +02:00
djcb
ec064c5f9e
mu4e: cosmetic
...
Clear up some overly long lines.
2017-01-03 17:45:03 +02:00
Josiah Schwab
de2329dbde
Replace "focus" with "context"
...
There were a handful places, primarily in the main menu, where the
word "focus" seemed to be used as a synonym for "context". This
changes all of those instances to "context".
2017-01-03 17:41:21 +02:00
Sébastien Le Callonnec
74b2c1de0a
mu4e: Improve mu4e manual.
...
Fix some typos, improve formatting, and move down `@documentencoding`
otherwise causing issues on the PDF cover.
2017-01-03 17:38:23 +02:00
Dirk-Jan C. Binnema
f49e808160
Merge pull request #993 from dzop/master
...
mu4e: Use re-search-forward to find message signatures
2016-12-28 13:40:56 +02:00
Nathaniel Nicandro
9c884ee498
Use re-search-forward to find message signatures
2016-12-27 12:27:39 -06:00
djcb
800cb0e164
mu4e: update documentation on changing sorting params
2016-12-27 17:08:02 +02:00
Dirk-Jan C. Binnema
66f550b210
Merge pull request #985 from thierryvolpiatto/improve_attachments
...
mu4e: Add some improvements in attachment actions.
2016-12-27 17:01:33 +02:00
djcb
b6985e13cb
mu4e: killing instead of interrupting update process
...
Rename mu4e-interrupt-update-mail into mu4e-kill-update-mail, and it
kill rather than update the process.
Add backward-compat alias.
2016-12-27 16:52:20 +02:00
Thierry Volpiatto
3e865ca71f
Add some improvements in attachment actions.
...
* mu4e/mu4e-view.el (mu4e-view-attachment-action):
Handle multi save in mu4e-view-attachment-action.
* mu4e/mu4e-view.el (mu4e-view-attachment-actions):
Make mu4e-view-attachment-actions a defcustom and add some options.
New user variable mu4e-view-attachment-assoc.
* mu4e/mu4e-view.el (mu4e-view-attachment-assoc): New.
(mu4e-view-open-attachment-with): Use it.
2016-12-19 09:32:17 +01:00
Sébastien Le Callonnec
c1c7bf44cf
mu4e: Fix outdated docstring for `mu4e-headers-actions'
2016-12-18 10:38:50 +00:00
djcb
50ba087b7a
update build instructions
2016-12-13 23:03:25 +02:00
Jun Hao
59dfcb5ac5
mu4e: add mu4e-msg-changed-hook to mu4e-index-updated-hook globally
2016-12-11 21:22:44 +08:00
Dirk-Jan C. Binnema
c45cfadb71
Merge pull request #962 from titaniumbones/fix-other-headers
...
mu4e: force use of strings for other-header in mu4e~compose-mail
2016-12-04 18:11:45 +02:00
Stig Brautaset
764b205fe9
mu4e: redraw menu after context switch
...
This is useful if you change e.g. bookmarks in the context vars and want your
menu to reflect that.
2016-12-03 12:18:07 +00:00
Matt Price
ad738b88b0
force use of strings for other-header in mu4e~compose-mail
...
org-mime and potentially other users of `compose-mail' pass a parameter
`other-headers', an alist of the form ((symbol . string)).
`mu4e~compose-mail' sends this parameter to message-add-header, which
appears to expect a string instead. We therefore loop through
other-headers and instead pass a string to message-add-header for each
element of other-headers.
2016-11-30 14:55:23 -05:00
djcb
68fd3b71d3
mu4e: fix toggling between html/text
2016-11-27 14:34:50 +02:00
djcb
dfd01c40f9
mu4e: doc: fix typo
2016-11-26 16:56:12 +02:00
djcb
c5a93427e3
mu4e: doc: clarify available msg properties
...
The text was a bit obscure.
2016-11-26 12:34:46 +02:00
djcb
34cd624023
mu4e: fix some defcustoms
...
There weren't quite right.
2016-11-24 00:33:06 +02:00
Dirk-Jan C. Binnema
1d7bacc0ce
Merge pull request #955 from stig/patch-1
...
mu4e: Fix typo / grammar in mu4e-html2text-command doc
2016-11-23 23:43:43 +02:00
djcb
217e06641d
mu4e: minor cleanup in docstrings
2016-11-23 23:26:12 +02:00
Stig Brautaset
786e02c67f
Fix typo / grammar in mu4e-html2text-command doc
2016-11-21 22:59:24 +00:00
djcb
b2cfc02010
mu4e: mark attachment-actions non-interactive
...
mu4e-view-pipe-attachment, mu4e-view-open-attachment-with and
mu4e-view-open-attachment-emacs are not interactive, so don't mark them
as such.
2016-11-12 14:00:11 +02:00
djcb
01fe899c37
mu4e: better error for non-supported header fields
...
Some fields (eg. :attachments and :user-agent) require a full message
and are not supported in headers-mode. Document this and give a clearer
error message when they are added to `mu4e-headers-fields'.
Fixes issue #933 .
2016-11-05 12:42:28 +02:00
djcb
e294016e85
mu4e: fix typo in manual
...
Thanks to Eduardo Mercovich.
2016-11-05 12:03:02 +02:00
Dirk-Jan C. Binnema
b981a7804f
Merge pull request #934 from antoine-levitt/master
...
mu4e: Don't erase global-mode-string with context label, but add to it
2016-11-05 10:52:35 +02:00
djcb
e1092c5f27
mu4e: restore mu4e-compose-type in compose-buffer
...
Seems the `mu4e-compose-type' is always nil when we enter the
compose (it is set when executing the pre-hooks though). It can be
useful in the compose buffer as well, so restore it.
2016-11-05 10:18:23 +02:00
Antoine Levitt
c0726d92a0
do not rename current message buffer if the name has not changed
2016-10-31 16:28:25 +01:00
djcb
d6337ade1c
mu4e: index: only clear echo area when asked to
...
In `mu4e-hide-index-message`-mode, don't clear the echo area.
Fixes #925 .
2016-10-29 11:50:33 +03:00
djcb
739013d031
mu4e: allow maildir as sort-field
2016-10-26 22:36:40 +03:00
Allen
779b50f0f0
Fix parentheses grouping typo
2016-10-25 23:37:34 -07:00
Antoine Levitt
bc13cfda35
dont erase global-mode-string with context label, but add to it
2016-10-26 08:20:25 +02:00
djcb
87ab21702e
mu4e-mark: remove debug message
2016-10-25 20:19:19 +03:00
djcb
9a3ff05192
mu4e: handle overflow for plaintext-ratio-heuristic
...
Handle overflow when multiplying
mu4e-view-html-plaintext-ratio-heuristic by most-positive-fixnum.
2016-10-03 21:27:06 +03:00
djcb
82dc1aeb46
mu4e: use mu4e-user-agent in bbdb example
2016-09-30 09:16:07 +03:00
Anders Johansson
b885dd308e
Only call old org-link API if new unavailable
2016-09-13 15:07:27 +02:00
Dirk-Jan C. Binnema
8d345ee17f
Merge pull request #917 from kkholst/master
...
mu4e: For the upcoming org-mode version 9 org-add-link-type is obsolete, so…
2016-09-12 00:02:18 -07:00
djcb
c419bca577
mu4e: set mu4e-compose-type earlier
...
Set mu4e-compose-type before invoking the "pre" hook, so that it can be
used there.
2016-09-06 18:29:05 +03:00
djcb
bca649cb32
mu4e: make mu4e-compose-type a public variable
...
Replace mu4e~compose-type so it can be used in pre-hooks and the like.
2016-09-06 09:15:17 +03:00
djcb
f1aedf14ab
mu4e: remove some debugging output
2016-09-05 15:07:44 +03:00
Klaus Holst
9f5a2da5b5
For the upcoming org-mode version 9 org-add-link-type is obsolete, so if org-link-set-parameters is bound we will use that instead.
2016-09-04 14:12:53 +02:00
Dirk-Jan C. Binnema
a49ccf4ff0
Merge pull request #897 from liweitianux/aly
...
mu4e: use builtin function "shr-render-region" for simplicity
2016-09-03 11:30:19 +03:00
Dirk-Jan C. Binnema
5097dd8e1b
Merge pull request #909 from sachdevaprash/master
...
mu4e: Adding eshell/mu4e-attach allowing attachments from eshell.
2016-09-03 11:27:49 +03:00
Dirk-Jan C. Binnema
db48031024
Merge pull request #911 from aroig/gh/tag-completion
...
mu4e: add rudimentary completion support for retag action
2016-09-03 11:26:47 +03:00
Dirk-Jan C. Binnema
dd1c0325f9
Merge pull request #912 from j-hao/master
...
mu4e: add mu4e-msg-changed-hook
2016-09-03 11:25:49 +03:00
Dirk-Jan C. Binnema
c29ebc6e6d
Merge pull request #907 from Chris00/master
...
mu4e: Compare email addresses case insensitively
2016-08-28 17:58:13 +03:00
Jun Hao
0926ac6867
mu4e: show '...' when header field folded and keep text-properties
2016-08-28 10:39:37 +08:00
Prashant Sachdeva
eef00e7263
Removing the dependencies on gnus in eshell/mu4e-attach.
2016-08-28 10:03:02 +09:00
Christophe Troestler
dc3bffa186
Compare email addresses case insensitively
2016-08-28 00:30:29 +02:00
djcb
37f11d642f
mu4e: improve mu4e-fill-paragraph
...
Improve mu4e-fill-paragraph for some corner-cases where there is
trailing whitespace. Patch by holtzermann17.
2016-08-27 19:06:10 +03:00
djcb
ae7f649a4a
mu4e: avoid error return to same message
...
This avoids a runtime error. Fix by holtzermann17 for Issue #910 .
2016-08-27 18:58:55 +03:00
Jun Hao
35c6d4ab8b
mu4e: add mu4e-msg-changed-hook
2016-08-25 10:03:35 +08:00
Abdo Roig-Maranges
cba2e0c21c
add rudimentary completion support for retag action
...
This adds a variable mu4e-action-tags-completion-list, that contains a
list of commonly used tags to suggest as completion terms during a retag
actions.
Along the way, the retag action accepts as argument a comma-separated
list of +tag and -tag keywords, instead of a space-separated one,
removing the need to quote tags with spaces in them, and making it
consistent with the behaviour of completing-read-multiple.
2016-08-22 20:26:35 +02:00
Prashant Sachdeva
9b6a7424df
Adding eshell/mu4e-attach allowing attachments from eshell.
2016-08-17 10:45:32 +09:00
Dirk-Jan C. Binnema
2507933176
Merge pull request #893 from j-hao/master
...
mu4e: Allow header fields with more than one lines to fold to one
2016-08-13 23:01:50 +03:00
djcb
49ea3bec58
mu4e: update html/URL handling
...
Make mu4e-view-toggle-html _not_ toggle the global value of of
mu4e-view-prefer-html, but only the current one.
Make the link map 'permanent', so it survives the buffer changes when
refreshing. This fixes issue #904 .
2016-08-13 10:57:49 +03:00
djcb
75412ec3b1
mu4e: document mu4e-view-html-plaintext-ratio-heuristic
...
Add note about most-positive-fixnum. This fixes issue #903 .
2016-08-13 09:42:33 +03:00
Christophe Troestler
cec66211f5
Add a face for displaying the context in the mode-line
2016-08-12 00:11:12 +02:00
Christophe Troestler
744f288431
Fix typo
2016-08-12 00:05:12 +02:00
djcb
8235a903c4
mu4e: update bbdb instructions
2016-08-09 09:27:53 +03:00
Piotr Trojanek
fc8e563e90
minor fix of unbalanced parens in doc
2016-08-02 19:15:32 +01:00
Aaron LI
9b54c2745e
mu4e: use builtin function "shr-render-region" for simplicity
2016-08-02 22:19:51 +08:00
Remco van 't Veer
9e6bfb9075
Fix kill ring clobbering by get mail filter
...
The kill ring fills up with lines like:
C: 0/1 B: 28/29 M: +0/0 *0/0 #0/0 S: +2/2 *1/1 #0/0
when using mbsync or another tool using carriage return for progress.
2016-08-02 09:00:46 +03:00
Dirk-Jan C. Binnema
80ecf80a12
Merge pull request #875 from stsquad/some-fixes
...
mu4e-actions: improve mbox handling for multiple marks
2016-08-02 08:08:34 +03:00
Ævar Arnfjörð Bjarmason
e2ce627197
Actually make the "write attachments" feature in d16957d
work
...
This is a follow-up to my pull request #895 which fixes another bug in
pull request #831 (d16957d
).
The code to write out the attachments would never work, for what it's
worth it's clear from the issue I fixed in #895 that the codepath had
never been executed as-is.
It would find the attachments and try to write them out to /tmp/, just
that, no /tmp/NAME, just the directory itself. That would yield an
error of trying to write to a directory.
Fix that, now we create a temporary name as a function of the
attachment and both save it and extract it.
This makes the mu4e-action-view-in-browser function finally work for
me. It'll now write out the attachments to /tmp, and rewrite the HTML
so that I'll see the attachments in my browser.
2016-08-01 21:11:05 +02:00
Ævar Arnfjörð Bjarmason
dc65f0c5ec
Fix a regression in pull request #831
...
The mu4e-message-field function was called in a way that would never
work, fix that by calling it correctly.
There's the additional follow-up TODO here that the mu4e-message-field
function itself should probably die on this sort of invocation, but I
don't know enough about elisp idioms to know how that should look.
This fixes my issue #894 .
2016-07-31 23:28:35 +02:00
djcb
49bc9605d8
mu4e: add mu4e-headers-hide-predicate
...
Add `mu4e-headers-hide-predicate', a function that allows for hiding
messages from the display. This can be used e.g. to hide trashed
messages.
2016-07-31 13:07:27 +03:00
djcb
b5345851ee
mu4e: documentation
2016-07-31 11:23:38 +03:00
djcb
f7be5ef2ff
mu4e: make bookmarks a defstruct
...
Make the structures use for mu4e-bookmarks a defstruct, and update its
usage throughout the codebase. This makes it a bit easier to read and
extend.
Ensure that the old-style bookmarks are automatically converted.
2016-07-31 11:20:59 +03:00
Jun Hao
2d5475e7ed
mu4e: Allow header fields with more than one lines to fold to one
...
Fix #803
2016-07-30 01:10:26 +08:00
djcb
0d9cac49d3
mu4e: mu4e-draft: fix "typo" in face name
2016-07-27 13:08:35 +03:00
djcb
538b7e5292
mu4e: allow for show :user-agent in message-view
...
Define a field :user-agent and make it showable in the view.
2016-07-24 14:30:37 +03:00
djcb
a4df4927a6
mu4e: document mu4e-index-(cleanup|lazy-check)
...
Document the two new configuration variables, mu-index-cleanup and
mu-index-lazy-check.
2016-07-24 12:49:49 +03:00
djcb
eb7888cdb1
mu4e: support mu indexing performance options
...
Add two variables mu4e-index-cleanup and mu4e-index-lazy-check, which
correspond to mu index option --lazy-check and --nocleanup.
Extend the mu server protocol a bit to handle this.
The defaults keep things behaving as they done before.
2016-07-23 21:33:10 +03:00
djcb
c27471f4fa
mu4e: compose: auto-crypt/sign crypto replies
...
When replying to an encrypted message, sign/encrypt by default; see
mu4e-compose-crypto-reply-policy.
(Issue #865 )
2016-07-12 00:25:05 +03:00
djcb
a24058040f
mu4e: fix typo in face description
2016-07-12 00:15:29 +03:00
djcb
1945ab3bce
mu4e: handle foo> citation style
...
Handle the citation style where the cited part is prefixed with
eg. "foo> " instead of the normal ">".
Also improve the default color scheme a bit.
2016-07-10 21:45:52 +03:00
Dirk-Jan C. Binnema
fc3b9c19da
Merge pull request #877 from remvee/feature/handle-mbsync-output
...
mu4e: Handle mbsync output in mu4e-update buffer
2016-07-10 00:04:25 +03:00
djcb
1e963c1779
mu4e: update font-locking for mu4e-compose-mode
...
mu4e was making a vain attempt to fontify the compose buffer; this
doesn't work because message (from which mu4e-compose-mode derives) uses
font-locking for that.
So, instead, remap the message-mode faces to the ones used for mu4e.
2016-07-09 23:42:58 +03:00
Remco van 't Veer
b203226a06
Handle mbsync output in mu4e-update buffer
...
The mbsync command uses carriage return characters to go to the
beginning of the line.
2016-07-08 14:12:30 +02:00
djcb
b31ba3dd81
mu4e: seems the keymaps might not be defined (workaround)
...
Users were seeing:
,----
| Debugger entered--Lisp error: (wrong-type-argument keymapp nil)
| signal(wrong-type-argument (keymapp nil))
| define-key-after(nil [mu4e-hard-newlines] (menu-item "Format=flowed"
| mu4e-toggle-use-hard-newlines :button (:toggle . use-hard-newlines) :help
| "Toggle format=flowed" :visible (eq major-mode (quote mu4e-compose-mode))
| :enable mu4e-compose-format-flowed) sep)
| mu4e-compose-mode()
| byte-code("..." [original-msg mu4e-compose-parent-message
| mu4e-compose-context-policy winconf includes att make-local-variable put
| permanent-local t mu4e~context-autoswitch run-hooks mu4e-compose-pre-hook
| current-window-configuration nil (mu4e-draft-open compose-type
| original-msg) ((quit (byte-code "..." [winconf set-window-configuration
| mu4e-message "Operation aborted" throw --cl-block-mu4e~compose-handler--
| nil] 3))) mu4e~draft-insert-mail-header-separator mml-attach-file plist-get
| :file-name :mime-type mu4e~compose-set-friendly-buffer-name
| set-buffer-modified-p (new forward) message-goto-to message-goto-body
| mu4e~compose-type mu4e~compose-hide-headers mu4e-compose-mode delete-frame
| --dolist-tail-- compose-type mu4e-compose-in-new-frame message-exit-actions
| message-postpone-actions] 6)
| mu4e~compose-handler(new)
| mu4e-compose(new)
| mu4e-compose-new()
`----
2016-07-03 23:29:05 +03:00
Alex Bennée
fdb476e225
mu4e-actions: improve mbox handling for multiple marks
...
This avoids prompting the user over and over if the directory hasn't
changed. I've also ensured the paths are escaped with
shell-quote-argument.
2016-07-03 08:38:26 +01:00
Dirk-Jan C. Binnema
6a42000997
Merge pull request #871 from arthurl/arthur/PR/refences-header-bug
...
mu4e: [FIX] references header dropped bug
2016-07-03 10:17:04 +03:00
djcb
3895052bfd
Merge branch 'master' of github.com:djcb/mu
2016-07-03 10:02:23 +03:00
djcb
ddf4adc30f
mu4e: try a bit harder to find the draft folder
...
If we can't guess the draft folder when re-editing a message, fallback
to the default.
2016-07-03 10:00:27 +03:00
Arthur Lee
8a62bc172d
mu4e: [FIX] references header dropped bug
2016-06-22 01:43:59 +08:00
Dirk-Jan C. Binnema
52b7aae439
Merge pull request #852 from jschwab/improve-action-show-thread
...
mu4e: Improve behavior of mu4e-action-show-thread
2016-06-11 09:54:08 +03:00
Thierry Volpiatto
fa2427e6f9
Fix window restoration when C-g'ing on reply.
...
* mu4e/mu4e-compose.el (mu4e~compose-handler):
Save and restore window config.
2016-06-09 07:22:56 +02:00
djcb
d3b20704dc
mu4e: exclude compose buffer from desktop-saving
...
You can't really use drafts restored from desktop-save-mode; so exclude
them.
Fixes #860 .
2016-06-08 22:29:28 +03:00
djcb
ed16684f45
mu4e: cosmetics
2016-06-08 19:25:52 +03:00
djcb
e977309de5
mu4e: don't try to open non-existent messages
...
When processing header updates, don't try to open a message that doesn't
exist. Fixes issue #825 .
2016-06-08 19:22:41 +03:00
Dirk-Jan C. Binnema
04d973a9df
Merge pull request #861 from remvee/feature/hide-index-messages-customizable
...
mu4e: Make `mu4e-hide-index-messages' customizable
2016-06-05 18:55:49 +03:00
djcb
5656d3ee18
Merge branch 'master' of github.com:djcb/mu
2016-06-05 18:53:31 +03:00
djcb
ac1bfae196
mu4e: limit # of references to 21
...
Following the example of `message-shorten-references', only allow up to
21 references, since some mail servers limit them.
Fixes #859 .
2016-06-05 18:49:04 +03:00
Remco van 't Veer
4814548318
Make `mu4e-hide-index-messages' customizable
2016-06-03 09:50:52 +02:00
Jun Hao
fe52c0e932
mu4e: Make dvipng optional when convert from org to html
2016-05-31 20:28:57 +08:00
Josiah Schwab
fb45d70d54
Improve behavior of mu4e-action-show-thread
...
This patch improves the behavior of mu4e-action-show-thread. This
action now leaves the point on the message where the action was invoked,
which helps prevent losing ones' place in a long thread. When invoked
in view mode, it continues to display the message that was being viewed,
instead of returning to a header-only view.
2016-05-19 10:05:29 -07:00
djcb
bd0fd4b8d8
mu4e: ensure filename is valid for removing it later
...
lexical-let the filename to be removed later, so it's still valid.
2016-05-16 09:22:11 +03:00
Christophe Troestler
e1c946ebd5
Improve the description of C-c C-k in compose mode
...
Fixes https://github.com/djcb/mu/issues/843
2016-05-15 12:23:23 +02:00
Christophe Troestler
834b0671c8
Add a menu entry to attach captured messages
...
Without this menu entry, one has to remember the command name which is
not convenient. This entry also helps to discover the "capture" feature.
2016-05-10 21:55:54 +02:00
djcb
3a7429456c
mu4e: parenthesize narrowing term
...
When narrowing search results, parenthesize the narrowing term, so terms
with AND/OR etc. don't lead to surprising results.
Fixes #846 .
2016-05-09 23:14:36 +03:00
Dirk-Jan C. Binnema
070c623286
Merge pull request #844 from Chris00/flowed
...
mu4e: Compose mails with format=flowed by default
2016-05-09 23:08:44 +03:00
Christophe Troestler
d063889e4c
Set mu4e-compose-format-flowed to nil by default
...
Requested by Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> not to disturb
existing users.
2016-05-07 18:12:10 +02:00
Christophe Troestler
af523cd05a
Add the menu entry in the function defining the mode
...
This ensures that `(lookup-key message-mode-map [menu-bar text])'
returns a valid keymap.
2016-05-07 03:28:09 +02:00
Jun Hao
d16957dc97
mu4e: handle attached image when write msg body to html
2016-05-07 09:07:11 +08:00
Christophe Troestler
55a95db3f0
Update the manual about composing format=flowed messages
2016-05-07 02:58:17 +02:00
Christophe Troestler
d2ae534ad8
With use-hard-newlines, M-q reformat the paragraph as a single line
2016-05-07 02:58:17 +02:00
Christophe Troestler
b6a1e1cef8
Add a menu entry to toggle format=flowed
2016-05-07 02:58:17 +02:00
Christophe Troestler
0d939f6852
By default, compose messages as format=flowed
...
Fixes https://github.com/djcb/mu/issues/836
2016-05-07 02:58:17 +02:00
Dirk-Jan C. Binnema
455a0731c0
Merge pull request #820 from tmalsburg/master
...
Mu4e: Added missing menu items.
2016-04-26 20:13:07 +03:00
Dirk-Jan C. Binnema
55fc2c55f9
Merge pull request #832 from jsrjenkins/patch-1
...
Fix minor typo on line 1486
2016-04-26 20:12:11 +03:00
Dirk-Jan C. Binnema
9556122ec9
Merge pull request #834 from Chris00/master
...
mu4e: Add spam-filtering functions suitable for the view mode
2016-04-26 20:10:33 +03:00
djcb
cef449f1d4
mu4e: doc: update to mu4e-compose-cite-function
...
We were still using the old name. Fixes #835 .
2016-04-26 20:03:52 +03:00
Christophe Troestler
e398f336a0
Add spam-filtering functions suitable for the view mode
2016-04-19 20:27:38 +02:00
Christophe Troestler
75c64e36ab
Remove the mention of unsure spam functions that do not exist
2016-04-19 20:25:35 +02:00
jsrjenkins
9c747f524c
Fix minor typo on line 1486
...
Fixing the small typo which caused cosmetic errors in the Editor View Section.
2016-04-19 08:48:15 +01:00
djcb
a5dc1f002a
Merge branch 'master' of github.com:djcb/mu
2016-03-24 20:29:48 +02:00
djcb
975d270dd3
mu4e: don't strip references for fwd messages
...
Don't remove the references header for forwarded message because there's
no "in-reply-to"
2016-03-24 20:27:47 +02:00
djcb
1edeee4764
mu4e: fix typo -> mu4e~headers-msgid-target
2016-03-24 20:26:39 +02:00
Titus von der Malsburg
88df34cd96
Mu4e: Added missing menu items.
2016-03-22 23:33:07 -07:00
djcb
8ca6cc2883
mu4e: cosmetic fix in doc
...
Align table.
2016-03-23 07:11:48 +02:00
djcb
e1b99e2f12
mu4e: some documentation updates
...
In particular, update the context example
2016-03-16 01:13:03 +02:00
djcb
15f857afcc
mu4e: try to jump to same message after re-search
...
After a re-search, perhaps after toggling threading etc., try to move
point to the same message it was before
2016-03-16 01:11:11 +02:00
djcb
c041ca39ed
mu4e: mention privacy aspects of browser
...
Mention the privacy aspects of opening a message in a browser, and what
to do about it.
2016-03-15 06:40:21 +02:00
djcb
6dd3d60402
mu4e: minor docstring fix for `mu4e-index-update-in-background'
2016-03-14 23:00:14 +02:00
djcb
6aaf5588c3
mu4e: fix typo in `mu4e-header-info-custom' docstring
2016-03-14 22:48:11 +02:00
Jun Hao
13c4b48920
mu4e: quote user-full-name according to rfc822 when construct from field
2016-03-14 23:08:41 +08:00
djcb
1505da640d
mu4e: add check for add-face-text-property
...
add-face-text-property was only introduced in emacs 24.4, so check
before use in mu4e-headers as do in mu4e-view.
Fixes issue #811 .
2016-03-09 08:02:57 +02:00
Jun Hao
0bd19fc40c
mu4e: add mu4e-index-update-in-background
...
Give users choice to decide if they want to run automatic
mu4e-index-update in background or not
2016-03-06 22:03:37 +08:00
djcb
74691afde8
mu4e: update org-mode support
...
mu4e-view-message-with-message-id is the new name for
mu4e-view-message-with-msgid.
2016-02-23 23:25:18 +02:00
djcb
7ac4921902
mu4e: improve mu4e-view-message-with-message-id
...
Now, when going to a message with certain message-id, do open a headers
buffer as well. This way, message opened this behave just like an other
message, and can be delete, flagged etc.
As a bonus, you get the whole message thread for a given
message (depending on settings)
mu4e-view-message-with-message-id now does a search and
mu4e-headers-search allow for some extra actions to open a specific
message in a hook function.
2016-02-23 23:19:54 +02:00
djcb
2b0d75b295
mu4e: don't use message-kill-actions for closing frames
...
Seems it is handled by the other actions already, and kills one-too-many
frames.
2016-02-21 16:33:55 +02:00
djcb
24194b4d12
Remove some debug
2016-02-20 12:35:43 +02:00
djcb
a0f0e95344
mu4e: better handling of closing compose frames
...
Use message-mode actions to close the compose
frame (`mu4e-compose-in-new-frame') whenever we're finished editing a
message.
2016-02-20 12:25:21 +02:00
djcb
ace2f2ad2c
mu4e: clean up creating html files
...
Clean up the creation of html files a bit, and automatically clean them
up after a short while, so we don't clutter /tmp.
Refactor the html-generating actions, so we don't repeat ourselves too
much.
2016-02-20 11:21:24 +02:00
djcb
392880233f
mu4e: rename to mu4e-headers-search-hook
...
The old name mu4e-headers-search-pre-hook was unnecessarily long.
2016-02-19 07:39:52 +02:00
Ævar Arnfjörð Bjarmason
14af0d28c8
mu4e-headers: Add hook executed when we're opening bookmarks (again)
...
This was merged in as part of pull request #718 but changed to a more
general facility in 7716e00
.
It's fantastic that we have the more general hook facility for any
search, but the primary use-case I had for the bookmark hook can't be
satisfied by the more general mu4e-headers-search-pre-hook.
The reason I added this hook was to emulate the folders I used in
Icedove as mu4e bookmarks. E.g. some folders are threaded, others are
not. By default mu4e only allows you to set this globally via options
like mu4e-headers-show-threads.
So I have a mu4e-headers-search-bookmark-hook which is basically a long
line of cond statements like:
((string-equal expr "NOT flag:trashed AND date:365d..now AND (flag:flagged)")
(setq mu4e-headers-show-threads nil)
(setq mu4e-headers-include-related nil)
(setq mu4e-headers-skip-duplicates t)
(setq mu4e-headers-results-limit 500))
For this to work properly it's critical that the hook doesn't execute on
any search, but *only* those where we enter it via the bookmark.
As an example, I have a "b+" search which finds messages I've flagged,
most of my searches have related & threading turned on, but for that
search I only want to show the specific messages I've flagged, so the
hook turns both of those settings off before executing the search.
But I might still want to change my mind and look at the related
messages as threads by pressing P and then W. This works with the
mu4e-headers-search-bookmark-hook because it only executes when we get
the search via a bookmark.
But it doesn't work with the mu4e-headers-search-pre-hook because when I
toggle the setting my settings hook (which matches the search executed
by the bookmark) will just turn it back off again.
Perhaps there's some clever way to know if we're getting to the
mu4e-headers-search-pre-hook via the bookmark that I've missed. But if
there isn't I need a hook that works like this.
2016-02-18 21:37:21 +01:00
djcb
7716e005bf
mu4e: add mu4e-headers-search-pre-hook
...
Just before executing a search, a hook-function
`mu4e-headers-search-pre-hook` is invoked, which receives the search
expression as its parameter.
2016-02-18 20:59:02 +02:00
djcb
eca427d3a2
Merge commit '4f83ab0f9430f0af1e6d3adbfc9a9591dddb8867' into avar/avar/mu4e-headers-search-bookmark-hook
2016-02-18 20:24:29 +02:00
djcb
961dba6d3e
mu4e: by default, don't ignore any address
...
If set to nil, mu4e-compose-complete-ignore-address-regexp shouldn't
match anything.
2016-02-18 19:28:21 +02:00
djcb
91b622dc16
mu4e: fix logic in mu4e~process-contact
2016-02-17 22:49:03 +02:00
djcb
81c7786402
mu4e: make mu4e~read-char-choice case-insensitive
...
Make mu4e~read-char-choice case insensitive if there is no exact
match. Small convenience.
2016-02-17 20:01:18 +02:00
djcb
76dd849d06
mu4e: allow mu4e-compose-complete-ignore-address-regexp nil
...
Though it shouldn't, some users have
mu4e-compose-complete-ignore-address-regexp at nil, which gives errors
with the new contacts code. Be a bit more tolerant.
2016-02-17 19:50:13 +02:00
djcb
bdaa9c1aec
mu4e: mention the action for capturing/attaching messages
...
Update the FAQ
2016-02-17 05:40:31 +02:00
djcb
d9961a0f09
mu4e: document the new resending functionality
...
Update the manual.
2016-02-16 08:29:06 +02:00
djcb
faf453d538
mu4e: resend: add to view/headers menu
...
Add `mu4e-compose-resend` to the menus in the headers and view
modes. Don't add a shortcut, as it's a fairly rarely needed feature, and
might be confusing if invoked accidentally.
2016-02-16 08:29:06 +02:00
djcb
b72db626f3
mu4e: implement resending
...
Implement the special compose type 'resend', for resending existing
messages, possibly with changes.
2016-02-16 08:29:06 +02:00
Yuri D'Elia
6337151918
mu4e: also quote the context label in the modeline
2016-02-16 08:28:59 +02:00
djcb
08d955e432
Merge branch 'master' of github.com:djcb/mu
2016-02-15 20:15:32 +02:00
Yuri D'Elia
ac0b1b755a
mu4e: escape % in queries when updating the mode-string
2016-02-14 20:00:43 +01:00
djcb
5bdfdf709a
mu4e: use To rather than T as shortname
2016-02-14 17:06:03 +02:00
Dirk-Jan C. Binnema
b380e7d9c6
Merge pull request #792 from sje30/patch-3
...
mu4e: Update mu4e-about.org
2016-02-14 11:58:36 +02:00
djcb
ef0c8b71ff
mu4e: extend section on bug-reporting in doc
2016-02-13 18:29:40 +02:00
Stephen Eglen
878cf27b42
Update mu4e-about.org
...
Add "showall" to orgmode so that all of the buffer contents are visible.
This matches the NEWS.org file.
2016-02-09 13:09:07 +00:00
djcb
930df157e2
mu4e: mention hyperlink shortcuts / html rendering
2016-02-08 21:08:54 +02:00
djcb
41455fe524
mu4e: default to mu4e-shr2text when available
...
Make shr the default renderer for rich-text emails, if shr is
available. Update the documentation.
2016-02-07 14:33:24 +02:00
djcb
0019a00569
mu4e: update docs for mu4e-get-mail-command
...
There seems to be some confusion making people setting it to `t` rather
than the literal string "true". Make it even clearer in the doc.
2016-02-07 14:10:43 +02:00
djcb
14cbca7595
mu4e: remove 'z' shortcut for quitting headers view
...
Make consistent - 'q' is for quitting, not 'z', both in message, headers
view. Single-letter keybindings are precious, so let's avoid duplicates.
2016-02-06 12:48:14 +02:00
djcb
7b84236bdb
mu4e: be tolerant of errors in `mu4e~headers-remove-handler'
...
Works around issue #789
2016-02-05 08:03:29 +02:00
Lukas Fürmetz
46ca26457a
mu4e: restore window-layout after `message-kill-buffer'
...
Replaces `message-kill-buffer' with `mu4e-message-kill-buffer'. This new
function is a wrapper around the original. It restores the window-layout
of mu4e after cancelling a message in mu4e-compose-mode.
2016-02-02 21:08:38 +02:00
Magnus Therning
fe1104a94f
mu4e: Add mu4e-mark-execute-pre-hook
...
Add a hook that runs just before executing a mark.
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-02 20:28:49 +02:00
Magnus Therning
974d728bd4
mu4e: re-indent function prior to mark-hook change
...
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-02 20:21:38 +02:00
Thomas Moulia
8f5df6cca0
mu4e: fix compose cancel orphaning a buffer
...
Create buffer contents _before_ creating the file.
2016-02-02 20:21:37 +02:00
djcb
29a4ae1c83
mu4e: explicitly specify utf8 for html-view actions
...
Explicitly add the (html 5) <meta charset ...> for UTF-8; not all
browsers default to UTF-8 and could show the class "Â" characters when
interpreting UTF-8 as ISO-8859-1.
2016-02-02 20:21:37 +02:00
Maximilian Matthe
0087440a19
mu4e: fix mu4e-completing-read-function in doc
...
Small doc fix.
2016-01-28 21:03:34 +02:00
djcb
7ea5f4c8e2
mu4e: add mu4e-action-view-with-xwidget
...
Action for using xwidget/webkit to display emails in a webkit widget
inside mu4e. This currently requires the git-version of emacs (emacs-25
branch).
2016-01-24 12:32:09 +02:00
djcb
0bbe021736
mu4e: add note about searching CJK chars to doc
...
As discussed in issue #544 , it's possible to search for CJK text, as
long as you see the environment variable XAPIAN_CJK_NGRAM to non-empty
with Xapian >= 1.2.8.
2016-01-17 10:33:18 +02:00
djcb
d9ca330f2b
mu4e: tiny doc improvement
2016-01-15 21:02:35 +02:00
djcb
ea1c6645ef
mu4e: use , to separate Keyword: values
...
Conform with https://tools.ietf.org/html/rfc2822#section-3.6.5
Spotted by andersjohansson
2016-01-14 22:26:10 +02:00