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

1139 Commits

Author SHA1 Message Date
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
djcb
ed935112e6 mu4e: fix indentation in doc
The previous doc changes somehow broke indentation in figures,
lisp. This fixes it again. Fixes #762
2016-01-12 21:38:07 +02:00
Dirk-Jan C. Binnema
15fc236429 Merge pull request #765 from declanqian/emacs-lib-conv
mu4e: comform emacs libs convention
2016-01-12 20:55:16 +02:00
Declan Qian
33d6435003 comform emacs libs convention
http://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Headers.html
2016-01-13 01:49:01 +08:00
djcb
d9fcfc6ddc mu4e: cosmetics 2016-01-10 13:08:18 +02:00
djcb
82e7ba051f mu4e: add mu4e-view-fetch-url for downloading URLs
Add mu4e-view-fetch-url for fetching (downloading) URIs linked to in
e-mails. Add the 'f' keybinding for this, and document it.

Based on code by inigoserna.
2016-01-10 13:06:10 +02:00
djcb
aad5708d49 mu4e: update the manual
Fill in all the menu descriptions. Rename a few sections.
2016-01-10 11:56:58 +02:00
djcb
dd4be5f33e Merge branch 'master' of github.com:djcb/mu 2016-01-09 21:28:27 +02:00
djcb
967b3cb727 mu4e: update copyright years 2016-01-09 21:28:03 +02:00
djcb
144e2a8f1b mu4e: Contact completion - better sorting / display
Improve the contact-sorting algorithm, and make it better cooperate with
completion-at-point functions.

Also deal better with broken rewritten contacts, and document how
rewriting should done (docstrings and reference doc).
2016-01-09 21:27:52 +02:00
Dirk-Jan C. Binnema
cbbb006189 Merge pull request #755 from zakkak/patch-1
mu4e: Add reference to unicode-fonts in Tips and Tricks
2016-01-06 00:09:23 +02:00
djcb
25da1fdc7b mu4e: remove misleading mail-reply-to from doc
You can't change mail-reply-to by setting the var.
2016-01-05 20:33:39 +02:00
Foivos
9d66478922 Add reference to unicode-fonts in Tips and Tricks 2016-01-05 20:13:17 +02:00
djcb
785d888b42 mu4e: don't change context when already running
This is for the case where mu4e-compose trigger mu4e~start, as found by
thierryvolpiatto.
2016-01-03 15:53:58 +02:00
djcb
5e13d31450 mu4e: tweak the contact sorting
Fall back to freq / tstamp when both contacts are personal.
2016-01-03 15:53:07 +02:00
djcb
b373f8e5f0 mu4e: context policy tweaking
As discussed in issue #751, mu4e should tried to accommodate some
different ways of choosing the context.

We add a new policy `ask-if-none', that will only query the user if
there is no context yet; this is the new default for
mu4e-context-policy, i.e. what happens when entering the main view.

The default policy for mu4e-compose-context-policy is now `ask',
i.e. ask if none of the contexts match.

The idea is for the defaults to ask when we don't know a context, and we
can't determine one using the match functions; this is probably the
least confusing. When user gets annoyed by too many question, they can
tweak the behavior to their liking. I.e. 'ask questions first, shoot
later'

Document all of this.
2016-01-03 13:29:19 +02:00
djcb
8e43e8cac3 mu4e: use substring when completing contacts
Make substring the first completion strategy.
2015-12-30 17:42:08 +02:00
djcb
a085c881ef mu4e: don't change context at startup when there is one
Since people often go start/stop mu4e, we shouldn't try to pick a
default context if one is already set.
2015-12-30 17:39:59 +02:00
djcb
9da7fbb3de mu4e: cosmetics 2015-12-30 15:35:26 +02:00
djcb
02620af4c2 mu/mu4e: improve in contacts completion
mu: cleanup server side; make sure not to loose 'personal' flag when
    seeing same contact in non-personal context
mu4e: tweak the sorting algorithm a bit to take the personal flag into
    account
2015-12-30 15:33:27 +02:00
djcb
74aa4679d3 mu4e: improve mu4e-message-contact-field-matches
Improve mu4e-message-contact-field-matches so you can pass it a list of
header fields to match instead of having to check each of them
separately.
2015-12-29 18:55:58 +02:00
djcb
f645a12075 mu4e: improve sorting of contacts for completion
set up the extra machinery for making sure emacs does not try to re-sort
our already-sorted contacts.... Also try to improve the sorting strategy
itself.
2015-12-29 18:53:57 +02:00
djcb
7dff782c58 mu4e: let-bind context vars in mu4e-get-*-folder
When we determine the drafts/refile/trash/sent folder, see if we can
find a context matching the particular message. If we find one, let-bind
the vars for that context before determining the folder.

This allows e.g for moving message to context-specific folder, rather
than the one for the current context - useful when dealing with headers
buffers with message belonging to different contexts.
2015-12-29 18:47:12 +02:00
djcb
825881feb3 mu4e: add variable mu4e-view-auto-mark-as-read
When set to nil, do not attempt to mark messages as read when you open
them; this can be useful on read-only file systems.

Fixes issue #515.
2015-12-27 14:30:02 +02:00
djcb
29a44e4371 mu4e: add mu4e-view-toggle-html
Add `mu4e-view-toggle-html' for toggling between html and text display
of messages (when available); keybinding 'h'. Document this.

The new default keybinging for mu4e-view-toggle-hide-cited becomes '#'.
2015-12-27 10:28:11 +02:00
djcb
48388c9d1b mu4e: tweak mu4e-view-html-plaintext-ratio-heuristic to 5
Some mails were not showing; this was because they had a short (useless)
text part and an html-part with the content. However, the short part was
still too big to fail our heuristic in
    mu4e-view-html-plaintext-ratio-heuristic

Set it to 5 instead. This fixed #743, though not the more general case.
2015-12-27 09:45:54 +02:00
djcb
6fa9556aa8 mu4e: improve mu4e-contact-rewrite-function
Allow mu4e-contact-rewrite-function to return nil to remove a
contact. Improve documentation.
2015-12-26 13:26:26 +02:00
djcb
08540628e0 mu4e: small documentation updates 2015-12-25 09:41:35 +02:00
djcb
ed1c7edba3 mu4e: some more context tweaking
Fix some typo, change default for startup to pick-first.
2015-12-24 16:03:55 +02:00
djcb
20c849390d mu4e: minor doc fixes
Update bookmarks example
2015-12-24 16:03:21 +02:00
djcb
113c024632 mu4e: implement context-policies
Allow setting a policy about what context to choose when starting mu4e
and composing a message. Basically:

When you have defined contexts and you start mu4e it decides which
context to use based on the variable `mu4e-context-policy';
similarly, when you compose a new message, the context is determined
using `mu4e-compose-context-policy'.

These policies can be one of the following:
- a symbol always-ask: unconditionally ask the user what context to pick

The other choices only apply if none of the context matches (i.e., if
none of the contexts' match-functions returns t:

- symbol ask: ask the user
- a symbol pick-first: pick the first context
- nil: don't change the context
2015-12-23 22:01:51 +02:00
djcb
4bca0d0739 mu4e: improve documentation for mailing-lists
And fix a typo.
2015-12-23 21:26:21 +02:00
djcb
27e9251d24 mu4e: add mu4e-bookmark-define
mu4e-bookmark-define allows for defining a bookmark; it will be added to
mu4e-bookmarks, replacing any bookmarks with the same key.
2015-12-22 18:03:53 +02:00
djcb
d6f8dd19df mu4e: document org-mu4e-store-and-capture in manual
Document org-mu4e-store-and-capture in the manual. Some cosmetics.
2015-12-22 18:02:50 +02:00
djcb
972678b6be mu4e: when delete the currently view msg, kill the view
When we delete the message that is currently being viewed, destroy the
view as well.
2015-12-21 22:24:16 +02:00
djcb
fc30bc1a24 mu4e: add org-mu4e-store-and-capture
Make it easy to store and capture the current message, using
M-x org-mu4e-store-and-capture. This is a first step.
2015-12-21 22:24:16 +02:00
djcb
41677dfa0b mu4e: cosmetic 2015-12-21 22:24:16 +02:00
djcb
60192a60d2 mu4e: by default, make changing to current context a no-op
Update mu4e-context-switch to not call the enter/leave functions when
'changing' to the current context. However, calling those functions (if
defined) can be force through a prefix arg. Document this.

Make mu4e-context-determine recognize 'policies', i.e. what to do when
no context matches. This part is WIP.
2015-12-21 22:24:16 +02:00
djcb
6bafb39960 update documentation / NEWS.org
Update the docs for the latest changes.
2015-12-19 14:01:06 +02:00
djcb
1a0ad61e4d mu4e: by default, don't cache maildirs
Since the environment (and settings) can change, default to
re-calculating the maildirs when we need them. When you have so many
maildirs that this is slow, you can set mu4e-cache-maildir-list to
t (but be sure to read the docstring).
2015-12-19 13:59:18 +02:00
djcb
eaf56fd533 org-mu4e: default org-mu4e-link-query-in-headers-mode to nil
It's usually more useful to link to a specific message than to a query,
so make that the default.
2015-12-19 13:58:21 +02:00
djcb
d3dbed6c1f mu4e: make global-mode-string buffer-local
Make `global-mode-string' local in all buffers where we use it, so we
don't leak the "context" string outside mu4e.

Also add the context string to the compose buffer's modeline.

This fixes #740.
2015-12-19 10:14:49 +02:00
djcb
c328d679de Merge branch 'master' of github.com:djcb/mu 2015-12-16 21:39:47 +02:00
djcb
a14b3f0e62 Replace some 'fancy' characters
They showed up as hexboxes when using the Liberation font.
2015-12-16 21:31:17 +02:00
Foivos S. Zakkak
0032ccf73c When mu4e-context-determine fails, prompt user 2015-12-16 16:51:54 +02:00
Foivos S. Zakkak
cf3c52d588 Fix mu4e-context-determine to match documentation 2015-12-16 16:51:54 +02:00
Dirk-Jan C. Binnema
e932399642 Merge pull request #735 from cpitclaudel/customizable-headers
mu4e: Initial implementation of customizable headers
2015-12-15 19:02:01 +02:00
Dirk-Jan C. Binnema
e2a43e9c1f Merge pull request #732 from avar/avar/rfc-2606-compliance
Don't use real (or potentially real) domains in examples
2015-12-15 18:59:09 +02:00
djcb
4d1a9347b5 mu4e: small doc fix
This broke Travis.
2015-12-15 18:52:38 +02:00
djcb
a1d0071dd0 mu4e: contexts: auto select one at startup, document
When contexts have been defined, automatically select one at startup --
either the first whose match-function returns non-nil, or simply the
first one.

Document this, too.
2015-12-15 18:20:31 +02:00
Clément Pit--Claudel
e19658c9aa Initial implementation of customizable headers 2015-12-15 07:57:51 -05:00
Ævar Arnfjörð Bjarmason
51ad75d943 Don't use real (or potentially real) domains in examples
Let's not spam the poor sods who own foo.com and bar.com, or home.com
etc. Went through the various examples and changed them to use
example.com or subdomains of example.com where appropriate, even when
the domain or TLD didn't exist (yet!) for completeness.

See-Also: https://tools.ietf.org/html/rfc2606
2015-12-15 11:57:25 +01:00
Dirk-Jan C. Binnema
d17c2a7012 Merge pull request #731 from zakkak/contexts-doc
mu4e: Extend contexts example
2015-12-15 11:41:50 +02:00
djcb
90d2b8a1fa mu4e: some less fancy fancy chars
Try to find some fancy chars that are more universally available.
2015-12-15 10:42:24 +02:00
Dirk-Jan C. Binnema
5f73b48609 Merge pull request #730 from cpitclaudel/fix-spurious-space
mu4e: Refactor mu4e~headers-header-handler
2015-12-15 09:43:42 +02:00
Foivos S. Zakkak
49fbf693dd Extend contexts example
Signed-off-by: Foivos S. Zakkak <foivos@zakkak.net>
2015-12-15 09:25:44 +02:00
djcb
ddcd2f39b5 mu4e: more support for fancy-chars
Re-simplify `mu4e-use-fancy-chars` to a boolean again; add some extra
mark-chars (big character, so they are easily visible). Document it.
2015-12-15 09:07:17 +02:00
Clément Pit--Claudel
9f104b217b Refactor mu4e~headers-header-handler
Generate the whole line in one call to mapconcat instead of appending to
the string, and remove the spurious final space.
2015-12-15 00:08:34 -05:00
djcb
2d443a953c mu4e: don't use purecopy, it's useless
Don't use `purecopy`, it's useless outside emacs itself, as pointed out
by cpitclaudel. Fixes issue #729.
2015-12-15 07:02:24 +02:00
Dirk-Jan C. Binnema
d8ecc98349 Merge pull request #714 from avar/avar/mu4e-mark-support-mu4e-use-fancy-chars
mu4e: Add support for mu4e-use-fancy-chars to the marking in the headers view
2015-12-13 18:20:30 +02:00
djcb
c2ddfeacfc mu4e: context: tweaks
Don't clear the caches when switch accounts. Fix some typos.
2015-12-13 18:14:24 +02:00
djcb
e54108332a mu4e: context: document the new functionality 2015-12-13 17:46:02 +02:00
djcb
40b8fe138b mu4e: context: auto-detect context using the match function
When composing a new message, attempt to auto-detect the context for
that, using the context's 'match-func'.
2015-12-13 17:46:02 +02:00
djcb
f621003658 mu4e: context: integrate with the views
Show the current context in headers, view and main mode; add
keybindings.
2015-12-13 17:46:02 +02:00
djcb
47f7f1b85a mu4e: define mu4e-context
Define mu4e-context - a structure with settings and enter/leave
functions for contexts, and some functions for switching between
contexts and auto-detecting them.
2015-12-13 17:45:52 +02:00
djcb
3cd1a08e94 mu4e: add note about msg2pdf/nspluginwrapper. Fixes #723.
Seems webkit waits for a long time for nspluginwrapper in some
cases. Add a note to the docs about that.
2015-12-12 11:49:22 +02:00
djcb
8f80bc498f mu4e: fix docstring (mu4e-view-func) 2015-12-11 08:10:29 +02:00
Dirk-Jan C. Binnema
87d60973d9 Merge pull request #721 from avar/avar/speling-error-for-quiting
Correctly spell the word "quitting" in the protocol & documentation
2015-12-10 23:23:01 +02:00
Ævar Arnfjörð Bjarmason
049e182e0c Correctly spell the word "quitting" in the protocol & documentation 2015-12-09 22:40:52 +01:00
Ævar Arnfjörð Bjarmason
dbd9e1d9d8 Fix "the the" in mu4e docstring 2015-12-09 04:51:02 +01:00
Ævar Arnfjörð Bjarmason
4f83ab0f94 mu4e-headers: Add hook executed when we're opening bookmarks
I'm using this for a rather nasty hack. When I open different bookmarks
in the mu4e-main view I want to set options for them, currently just
tweaking:

    * mu4e-headers-show-threads
    * mu4e-headers-include-related
    * mu4e-headers-skip-duplicates
    * mu4e-headers-results-limit

This is because some of my searches are *really* expensive when I
include related threads (huge batches of cron-generated E-Mails), but
some aren't. I couldn't find another way to do this. Using
mu4e-headers-mode-hook doesn't work, because we don't have access to the
search (just a variable showing the last search).

Also maybe we should be passing the actual key chord for the bookmark
here. I don't care since I look up the search string that'll be executed
and go from there, but maybe that interface would make more sense.

But whatever, this works for me, and solves a real use-case.
2015-12-09 01:51:29 +01:00
Ævar Arnfjörð Bjarmason
b88cc400e7 mu4e-mark: Add fancy characters for trash / delete
As threatened in my last commit. I found this via
https://en.wikipedia.org/wiki/Miscellaneous_Symbols_and_Pictographs &
http://www.unicode.org/charts/PDF/U1F300.pdf

I could never remember which thing d and D were, this makes it easier to
remember that. I split off this patch because maybe this doesn't belong
in mu4e since some might not like the characters, but I just wanted to
be able to have this customizable.
2015-12-08 20:42:00 +01:00
Ævar Arnfjörð Bjarmason
df77f7cb20 mu4e-mark: Add ability to use mu4e-use-fancy-chars for marking
Right now we have this for showing the status of messages, e.g. whether
it has an attachment etc. But not for the "d", "D" etc. in the leftmost
column of the headers view.

This adds support for that, while bending over backwards to ensure that
anyone who's customized this in the past won't have their customizations
broken, i.e. like `mu4e-headers-trashed-mark` we can set this to a cons
cell of basic/fancy characters, but we also continue to support this
just being a string for existing users.

The next patch in this series adds a couple of non-ASCII characters to
be used for the trash / delete mark.
2015-12-08 20:38:25 +01:00
Ævar Arnfjörð Bjarmason
89eb9ee2d0 mu4e-mark: Make indentation in mu4e-mark-at-point consistent
I don't care for this mixing of tabs and spaces, but this at least makes
it consistent with the rest of the function.
2015-12-08 20:20:37 +01:00
Dirk-Jan C. Binnema
899253359b Merge pull request #697 from j-hao/master
mu4e: Add mu4e-headers-mark-all to execute certain action on all visible msg
2015-12-04 23:23:55 +02:00
djcb
2262e185af mu4e: allow for clearing some cached values
This helpful for various 'change account' actions
2015-12-04 23:20:27 +02:00
djcb
706c9e0ea9 mu4e: fix compiler warning 2015-12-04 23:19:32 +02:00
Jun Hao
2a75c652c2 Add mu4e-headers-mark-all to execute certain action on all msgs from current query 2015-12-03 19:32:15 +08:00
Dirk-Jan C. Binnema
0b5b94304e Merge pull request #710 from jjasghar/ws-cleanup
docs: Cleaned up some trailing white space(s)
2015-11-29 16:47:49 +02:00
djcb
9c3c3d3bbf Merge branch 'master' of github.com:djcb/mu 2015-11-29 16:42:58 +02:00
Martin Yrjölä
d37385030f mu4e: Fetch markpair in interactive declaration
This makes it possible to bind mark shortcuts in view-mode for certain
markpairs.
2015-11-29 16:42:30 +02:00
JJ Asghar
5ce58b68f3 Cleaned up some trailing white space(s)
- Walked through the NEWS, README, and about org-pages and removed some
  white spaces that where sticking around.
- 🤘
2015-11-28 17:16:33 -06:00
prsarv
628c3d3386 update mu4e.texi
Added quote against starttls on info page for multiple accounts.
2015-11-25 15:17:49 -05:00
Ævar Arnfjörð Bjarmason
4cffcfa440 mu4e-{view,headers}: Refactor a (lamba) kbd-bound function into a named function
Because this was a lambda C-h m would just show "??" instead of the
function name, and the documentation would be really confusing since it
showed the deparsed lambda function instead of the function name being
called.

Fix this by refactoring both the view & headers [ and ] functions into
named functions, and make their shared logic new internal
mu4u~{headers,view}-* functions.
2015-11-22 22:32:05 +01:00
djcb
a2409b62ca mu4e: when in-reply-to: is removed, remove references: too
When user removes the In-Reply-To header, also remove the (hidden)
References header when sending the message, effectively making the
message appear at the top-level.

Mention in the doc, NEWS.
2015-11-22 12:17:36 +02:00
djcb
b43b701aa9 mu4e: add mu4e-user-agent-string
Add mu4e-user-agent-string, this allows for customizing the user-agent
string.
2015-11-22 11:25:05 +02:00
djcb
cec825eec1 mu4e: fix for split-view
Commit 5708a173fa fixes some behavior for non-split-view, but
inadvertently changed the behavior for split-view as well.

Fix this.
2015-11-21 13:26:56 +02:00
Dirk-Jan C. Binnema
5708a173fa Merge pull request #691 from tmalsburg/master
mu4e: Moving in headers should only change view if mu4e-split-view is non-nil.
2015-11-19 12:48:27 +02:00
Hinrik Örn Sigurðsson
be0a99ab35 Include '-' and '_' in example regex
These are common in mailing list names.
2015-11-16 13:59:42 +00:00
Hinrik Örn Sigurðsson
a257a4fdeb Mention how to shorten list names with dots 2015-11-15 10:37:44 +00:00
Hinrik Örn Sigurðsson
77529b105e Allow specifying list shortnames with regexes
This way mu4e will intelligently shorten mailing list names which
contain dots:

    (setq mu4e-mailing-list-patterns
          '("\\([a-z0-9.]+\\)\.lists\.company\.com"))
2015-11-14 00:04:26 +00:00
Dima Kogan
781f0782f5 mu4e: added action to show the current thread only
Add an action for view and headers buffer to show only the messages in
the current thread.
2015-11-12 12:57:26 +02:00
djcb
66a082a6ad mu4e: mention org-mime in doc 2015-11-12 12:42:51 +02:00
Titus von der Malsburg
bf1325f7c4 mu4e: Moving in headers should only change view if mu4e-split-view is non-nil. 2015-11-11 11:41:14 -08:00
Bar Shirtcliff
22b7022798 mu4e: allow cc, bcc, mailing-list in mu4e-headers-mark-pattern
Based on patch by cinayakoshka, allow for matching more fields
2015-11-02 09:05:42 +02:00
Foivos S. Zakkak
9b3cc41d11 Remove outdated mu4e.org 2015-11-02 09:05:42 +02:00
djcb
105809cd8e mu4e: Use length, not string-width when fontifying body
The latter does not what we want and gives errors (esp. on OSX it seems)
2015-10-19 12:13:21 +03:00
djcb
a822c93ad0 Merge branch 'master' of github.com:djcb/mu 2015-10-16 11:22:17 +03:00
djcb
aa871ee4da mu4e: don't insist of message-signature being a string
Better not to ignore message-signature, even when it's not a string.
2015-10-16 11:20:48 +03:00
djcb
ff06d5fb4d mu4e: don't include '--' if no signature set
This fixes issue #434.
2015-10-16 11:18:50 +03:00
Thierry Volpiatto
819959d2cb Fix propertizing body with mu4e-view-body-face.
* mu4e/mu4e-view.el (mu4e-view-message-text):
When using `propertize' all properties added by `mu4e-html2text-command'
in html message are overwrited by `mu4e-view-body-face', so use here
`add-face-text-property' if available, otherwise behave as before and return
body unchanged.
2015-10-14 17:39:09 +02:00
djcb
0956c096de mu4e: don't be too eager to open view
When there's no view yet, don't automatically open one when moving.
2015-10-13 16:16:10 +03:00
djcb
1a33a710db Add mu4e-view-body-face
This allows setting a custom face for the message body, e.g., if you
prefer a proportional font for the body:

    (set-face-attribute 'mu4e-view-body-face nil :font "Liberation Serif-10")
2015-10-13 08:03:56 +03:00
djcb
a7d611c902 Fix moving when not in split-view mode
Don't insist on having a window (which caused an error), and don't
refuse to move in that case.
2015-10-13 07:39:24 +03:00
djcb
ada193c8fd Don't raise 'Update process is already running' error
Only issue a message. Refactor a bit.

This is for the use-case where the time to update is longer than the
period between updates -- e.g. you return from suspension/hibernation
and an old update process is still running.
2015-10-13 07:05:55 +03:00
djcb
85716b7990 Merge branch 'master' of github.com:djcb/mu 2015-10-09 12:03:15 +03:00
Jonas Bernoulli
a924985803 Fix issues reported by the byte-compiler. 2015-10-09 01:02:58 +02:00
djcb
f6b596d292 Documentation: e-mail address are case-sensitive 2015-10-07 11:45:06 +03:00
djcb
a350e2047d Change format for filenames
It seems some tools try to interpret the filename of message files,
even though they shouldn't:
   "Do not try to extract information from unique names."

In particular, they seem to interpret the first part of the name (before
the first dot) as the # of seconds since the Unix epoch (ie.,
time(NULL)). That's not what mu/mu4e put there.

So, let's conform a bit more to the expected filename (as per the
maildir spec), so we're not confusing those tools.
2015-10-02 17:43:38 +03:00
Daniele Pizzolli
db65c824d0 Fix typo from higl.* to highl.* 2015-09-22 10:10:47 +02:00
Dirk-Jan C. Binnema
c339e99652 Merge pull request #642 from eikek/master
* mu4e-draft.el: fix adding User-agent header
2015-09-20 11:32:47 +03:00
djcb
90293f6d98 mu4e: show sort arrows for fields / derived fields
We weren't showing the sort-arrows in all cases; we need to get
calculate the current sortfield, compare that to the current sortfield.
2015-09-19 12:11:17 +03:00
Florian Lindner
9780f076f1 Make usage of fancy chars configurable. 2015-09-10 12:32:49 +02:00
djcb
7981845daa Merge branch 'master' of github.com:djcb/mu 2015-08-12 20:54:37 +03:00
djcb
4209eeef8c mu4e: don't use obsolete faces
Fixes #645.

Keep the ones that are still in use though.
2015-08-12 20:52:55 +03:00
David C Sterratt
b459041126 Follow-up to commit #630: Clarify bbdb setup comes after mu4e setup 2015-08-12 17:06:18 +01:00
Eike Kettner
0f167270a6 * mu4e-draft.el: fix adding User-agent header 2015-07-24 08:24:45 +02: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
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
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
d7c1f19ea7 Merge branch 'master' of github.com:djcb/mu 2015-06-09 21:10:07 +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
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