Commit Graph

1460 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema abafd658d4 mu4e: show mu4e-personal-addresses, add check
Show the personal addresses in the main screen (allow hiding them with
mu4e-main-view-hide-addresses), as well as a check for the case where
user's user-email-address is not part of the personal addresses.
2020-04-06 20:52:24 +03:00
Dirk-Jan C. Binnema edd47ced71 mu4e: use mu4e-attachment-dir for attaching, too
Use mu4e-attachment-dir also for attaching (and not just for extracting)
attachments; the default (current draft message dir) is not very useful.
2020-04-06 20:52:24 +03:00
Dirk-Jan C. Binnema 51f5ee829d
Merge pull request #1633 from Chris00/master
mu4e: Fix displaying ical attachments with no charset
2020-04-06 00:09:01 +03:00
Christophe Troestler ed123431db Fix displaying ical attachments with no charset
Fixes https://github.com/djcb/mu/issues/1625
2020-04-05 22:58:20 +02:00
Dirk-Jan C. Binnema 6a294da2a1 mu4e-main: avoid calling mu4e-main-mode multiple times
once is enough
2020-04-05 23:53:55 +03:00
Dirk-Jan C. Binnema cdddb816e4 mu4e: increase max log size, use ms timestamps 2020-04-04 15:40:45 +03:00
Dirk-Jan C. Binnema 89ab9f7351
Merge pull request #1627 from haji-ali/misc-fixes
mu4e: updater info-handler and compose
2020-04-04 12:11:58 +03:00
Dirk-Jan C. Binnema 9ef1a3c0cf update documentation 2020-03-31 21:19:03 +03:00
Abdo Haji-Ali 33694814fc Save window selection after updating the index 2020-03-29 22:07:25 +01:00
Abdo Haji-Ali c335914caa (widen) should be called before hiding the headers
Was also causing a corrupted header in some cases.
2020-03-29 22:06:29 +01:00
Dirk-Jan C. Binnema 935874dfc3 mu4e: make logging a bit faster 2020-03-28 11:06:37 +02:00
Dirk-Jan C. Binnema faef1792cc mu4e: improve documentation 2020-03-28 11:06:37 +02:00
Jonas Bernoulli 36d0b0602e mu4e: extend mu4e-header-highlight-face to edge of window
Due to a breaking change we have to request this explicitly in
Emacs 27.  Earlier Emacs versions do the right thing by default.

If the effect of a face does not extend to the edge of the window,
then attributes such as the background color or underline cease to
be used for more that the width of a single character, which is not
appropriate for a face intended to highlight a complete line.

See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37774.
2020-03-20 22:17:02 +01:00
Dirk-Jan C. Binnema c3bb04150f mu4e: mu4e.texi: use an @anchor, not a @node
Latter breaks on some (older?) texinfo releases.

Fixes #1617
2020-03-16 23:04:18 +02:00
Dirk-Jan C. Binnema 83558be663 mu4e: set mu4e-compose-type earlier
So it can be used in hooks.

Fixes #1616.
2020-03-16 22:42:35 +02:00
Dirk-Jan C. Binnema 3ac71ecfbe mu4e: restore mu4e-index-cleanup t
Let's go back to the old default.
2020-03-15 01:23:01 +02:00
Dirk-Jan C. Binnema 46ae663937 mu4e: use faster count queries, document differences
Use faster queries for counting read/unread messages; document why the
results might differ from what you get doing a normal search.
2020-03-15 01:23:01 +02:00
Dirk-Jan C. Binnema c4953a4310 mu4e-utils: select mu4e-main-window when refreshing
Fixes #1613.
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema f8774ff98c mu4e: support prefix arguments with mu4e~native-def
Fixes #1611.
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema e19c6f0cae mu4e: default to mu4e-index-cleanup nil
By default, do _not_ run the clean up phase after indexing; that should be
safe and make indexing a lot faster for some users.
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema 59fb743851
Merge pull request #1607 from yellowmoneybank/typo
Fix Gnus typos
2020-03-06 21:16:19 +02:00
Philip K d4b40ac202 Unquoted mu4e-view-use-gnus in unless form 2020-03-06 15:31:20 +01:00
Philip K 5b570cee20 Fix Gnus typos 2020-03-06 15:30:36 +01:00
Dirk-Jan C. Binnema c3771cba3e Merge branch 'gpg' 2020-03-05 22:40:16 +02:00
Moritz Müller 090ff42c50 mu4e: Add a mime-type-check when importing a pgp-key from an attachment 2020-03-05 22:39:45 +02:00
Moritz Müller 81e0c49084 mu4e: Add option to attachment-options to import gpg public key
This pull request adds an option to the attachment-options that allows
to import pgp-public-keys.
2020-03-05 22:39:33 +02:00
Dirk-Jan C. Binnema 0ee20c0294 mu4e: update manual 2020-03-05 22:25:28 +02:00
Dirk-Jan C. Binnema d31dc8e69c mu4e: update menus
Avoid some gnus things we do not support. Rename View/Headers menu into Mu4e.
2020-03-05 20:50:51 +02:00
Dirk-Jan C. Binnema 5ffe878d30
Merge pull request #1605 from yellowmoneybank/mm
mu4e: Fix of the attachment actions
2020-03-04 21:18:25 +02:00
Moritz Müller 4cc057ee0a Fix of the attachment actions
With the current version of the mu server, it is not possible open
attachments, because the server expects symbols as parameters, but
mu4e sends strings.
This change fixes this.
2020-03-04 10:55:35 +01:00
Dirk-Jan C. Binnema 58b462d4c3 mu4e-view: fix typo 2020-03-02 23:20:12 +02:00
Dirk-Jan C. Binnema 2fd8058443 mu4e: update documentation 2020-03-01 17:34:16 +02:00
Dirk-Jan C. Binnema 1c1dbaf882 mu4e: make mu4e-main-buffer-name a defvar
(and rename from mu4e~main-buffer-name)
2020-02-28 12:17:13 +02:00
Dirk-Jan C. Binnema 1738f9d6d1 mu4e: Mark mu4e-auto-retrieve-keys as obsolete
It's not used anymore
2020-02-28 12:16:33 +02:00
Dirk-Jan C. Binnema 0465b273d3 mu4e: avoid mu-side crypto in gnus-mode
No need to decrypt/verify when we don't use the results.
2020-02-28 00:43:08 +02:00
Dirk-Jan C. Binnema 36a5d291d9 server/mu4e: update decrypt/verify options
"extract-encrypted" -> "decrypt"

and a separate option for "verify"
2020-02-28 00:43:08 +02:00
Dirk-Jan C. Binnema 6b2bdf4f6d mu4e: avoid some errors when flipping through messages
Use special-mode for the loading buffer, and explicitly ignore n/p.

Fixes #1443.
Fixes #1217.
2020-02-27 23:15:04 +02:00
Dirk-Jan C. Binnema 81d47bf21f mu4e-view/gnus: do not load external images
Avoid tracking. Fixes #1434.
2020-02-27 00:44:49 +02:00
Dirk-Jan C. Binnema b33fb85020 mu4e-org: warn if mu4e is not loaded
Fixes #1420.
2020-02-26 22:44:49 +02:00
Dirk-Jan C. Binnema fa7518ab60 mu4e-compose: don't touch default-directory
we probably shouldn't touch that.
2020-02-26 21:56:26 +02:00
Dirk-Jan C. Binnema 7e58f21f48 mu4e-utils: add mu4e-copy-message-path helper 2020-02-26 21:56:01 +02:00
Dirk-Jan C. Binnema d4c959ea90 mu4e-compose: clear undo-list after entering compose mode
Fixes #1525.
2020-02-26 21:11:06 +02:00
Dirk-Jan C. Binnema 3fe437985f utils: explicitly decode contacts string
Seems emacs doesn't know yet they're utf-8.

Fixes #1589.
2020-02-25 23:57:50 +02:00
Dirk-Jan C. Binnema f33b0d6d84 mu4e: Improve reference manual
Describe the new mu4e-maildir-shortcuts format

Add some FAQ about opening messages / speed.
2020-02-25 21:22:24 +02:00
Dirk-Jan C. Binnema 74d40f4d20 mu4e: make mu4e-maildir-shortcuts a plist
Similar to mu4e-bookmarks.
2020-02-25 21:20:51 +02:00
Dirk-Jan C. Binnema c251a22d65 mu4e: update documentation 2020-02-24 21:58:45 +02:00
Hans-Peter Deifel 333067d47b mu4e: Fix quoting in M-q keybinding definition
In the keybinding defintions for mu4e-view-mode-map, the variable
mu4e-view-use-gnus was used quoted in an if condition, which means that the
condition always evaluated to true. Therefore, M-q would always be bound to
article-fill-long lines and never to mu4e-view-fill-long-lines.
2020-02-22 10:50:22 +01:00
Dirk-Jan C. Binnema 24ecceb10e
Merge pull request #1578 from Chris00/maildir
mu4e-view: (gnus) Remove duplicate bound variable
2020-02-21 19:28:44 +02:00
Dirk-Jan C. Binnema 62bc45aaa7
Merge pull request #1581 from thierryvolpiatto/Fix_revert_buffer
mu4e-main: Fix revert buffer
2020-02-21 19:28:09 +02:00
Dirk-Jan C. Binnema 837ab0b703 headers: require proc-view even for gnus
Temporary measure, so e.g. view-in-browser works

Fixes #1579.
2020-02-21 19:26:39 +02:00
Thierry Volpiatto ec684cc99c
Update mode-line when changing context
* mu4e/mu4e-context.el (mu4e-context-switch): Do it.
2020-02-21 09:08:48 +01:00
Thierry Volpiatto b301b7663b
Don't use mu4e-index-updated-hook in mu4e~start
Using mu4e-index-updated-hook in mu4e~start with a lambda is just like
adding the call to mu4e-info-handler so do it explicitely which is
much cleaner.

* mu4e/mu4e-utils.el (mu4e-info-handler): Always refresh main buffer.
(mu4e~start): Remove insertion of mu4e-index-updated-hook.
2020-02-21 08:54:16 +01:00
Thierry Volpiatto b1369b6ad9
Fix mu4e-main revert-buffer-function and use it
* mu4e/mu4e-headers.el (mu4e~headers-quit-buffer): Refresh main buffer
when done.
* mu4e/mu4e-main.el (mu4e-main-mode-map): Don't bind "g" to mu4e, "g"
should be bound to revert-buffer (special-mode).
(mu4e-main-mode): No need to specify map.
(mu4e~main-view-real-1): New.
(mu4e~main-redraw-buffer): New.
(mu4e~main-view-real): Use them.
(mu4e~main-view): Take one more arg REFRESH.
(mu4e~main-toggle-mail-sending-mode): revert-buffer when done.
2020-02-21 08:33:07 +01:00
Christophe Troestler e1db731f7d mu4e-view: (gnus) Remove duplicate bound variable
Fixes https://github.com/djcb/mu/issues/1269
2020-02-21 08:28:01 +01:00
Christophe Troestler a132f5c21f mu4e-view: (gnus) enable displaying custom headers
insert custom headers / mu4e specific headers when in gnus mode
2020-02-19 20:55:22 +02:00
Dirk-Jan C. Binnema c4f46966e7 mu4e-vars: add note about message fields / gnus view 2020-02-19 20:55:22 +02:00
Dirk-Jan C. Binnema e10fc21a9b mu4e: Rename 'Unnamed' sections 2020-02-18 23:49:50 +02:00
Jonas Bernoulli fe7a0e4da2 mu4e: Move various definitions into a better location 2020-02-18 23:49:50 +02:00
Jonas Bernoulli 74332947a0 mu4e: Split libraries into outline sections 2020-02-18 23:49:50 +02:00
Jonas Bernoulli 040c6578be mu4e: Place provide forms in their own sections
Use "_" as the title of that section so that it is less distracting
when sections are collapsed to get an overview of the library.

Using a separate section is useful because it reduces the risk of
accidentally into the middle of a library.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli 6c58a311d1 mu4e: Add missing mandatory "FILE ends here" library footer 2020-02-18 23:49:50 +02:00
Jonas Bernoulli 15c6680037 mu4e: Add missing mandatory "Code:" section headers 2020-02-18 23:49:50 +02:00
Jonas Bernoulli 83f0c9cea9 mu4e: Remove excess semicolons from library headers
Placing two semicolons on an otherwise empty line helps to logically
"connect" the surrounding "paragraphs", which in (only) some cases
makes sense.

Previously the three paragraphs of the permission statement were not
connected to each other like this, which is perfectly fine.  However
the preceding "This file is not part of GNU Emacs." line was connected
to the first paragraph, which does not make sense considering that the
latter is not connected two the second paragraph, which it relates to
more.

Once those two semicolons are gone, it also makes sense to remove
those from the second line.
2020-02-18 23:49:50 +02:00
Dirk-Jan C. Binnema 19cfa008f0 mu4e-proc: fix mu4e~proc-extract / decrypt
Needs update for new protocol.
2020-02-18 22:38:40 +02:00
Dirk-Jan C. Binnema c09a9c4372 mu4e: update context handling
Make mu4e-context-autoswitch works a before we updated the pong-handler

Avoid unnecessary mu4e~start int he composer.
2020-02-18 22:38:40 +02:00
Dirk-Jan C. Binnema 6b07819d9a mu4e/mu-server: use :descending, :no-view parameters
There was some confusion between mu4e and mu-server.
2020-02-18 12:03:42 +02:00
Jonas Bernoulli 6d581c4ca0 mu4e~view-define-mode: Place doc-string in correct position 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 9f26819efb mu4e: Demote a few broken commands to functions
It would was not possible to interactively invoke these functions
because their `interactive' form does not provide all the mandatory
arguments.
2020-02-17 14:28:00 +01:00
Jonas Bernoulli 30e005d574 Fix a few typos 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 32066ae433 mu4e~contains-line-matching: Cosmetics 2020-02-17 14:28:00 +01:00
Jonas Bernoulli f66be19121 mu4e~proc-running-p: Cosmetics 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 832d32ef23 mu4e-proc.el: Remove duplicated variable declarations 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 4ce296d6b2 manual: Deal with annoying misfeature of texinfo
Texinfo is of the opinion that every hyperlink has to be prefixed
by either "see" or "in".  If neither of these words appears there,
then it inserts "see" and it cannot be told not to do that.

This turns a correct sentence like:
  > Mu4e lets you define custom actions for messages in the <Headers view>.
into:
  > Mu4e lets you define custom actions for messages in the see <Headers view>.
The best compromise is
  > Mu4e lets you define custom actions for messages in <Headers view>.
which isn't correct but at least less messed up.

Alternatively one could rephrase every sentence that contains a link
to circumvent Texinfo's speech impairment.  Or one could replace each
link with a footnote and place the actual link in the footnote.
2020-02-17 14:28:00 +01:00
Jonas Bernoulli 440ea3fe6f manual: Fix indentation in code blocks 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 5f0013d797 org-mu4e.el: Place summary on a single line
Use the previous summary as commentary instead.
2020-02-17 14:28:00 +01:00
Jonas Bernoulli 96cd0632f9 mu4e: Improve consistency of library headers 2020-02-17 14:28:00 +01:00
Jonas Bernoulli c2ef02f57c mu4e: Begin each elisp summary line with three semicolons 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 4c9be1d062 mu4e-header-info: Fix indentation 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 6790c0d015 mu4e: Fix indentation 2020-02-17 14:28:00 +01:00
Dirk-Jan C. Binnema 0dced59cb9 mu4e: set better default for mu4e-compose-reply-ignore-address
... and some small cleanup
2020-02-15 22:36:00 +02:00
Dirk-Jan C. Binnema dd057b11aa mu4e: fix compose-func
Use 'extract-encrypted'
2020-02-14 00:35:52 +02:00
Dirk-Jan C. Binnema ef4fa46a1d mu4e-proc: fix a few typos in 'view' handler
Fixes #1572.
2020-02-13 00:17:03 +02:00
Dirk-Jan C. Binnema 8ff7306d90 mu4e: set context before check requirements
So we won't ask about creating default maildirs
2020-02-10 18:08:34 +02:00
Dirk-Jan C. Binnema d90d2ce8ef mu/mu4e: pass muhome to server (and provide some better error info) 2020-02-10 18:07:54 +02:00
Dirk-Jan C. Binnema 0b1e6b623e mu4e-context: fix some compiler warnings 2020-02-09 18:07:09 +02:00
Dirk-Jan C. Binnema dd140cb98a mu4e-headers: With gnus-view, avoid server calls
We can do it directly, since we only need the path to the message.
2020-02-09 18:06:04 +02:00
Dirk-Jan C. Binnema 00df8ce471 mu4e: headers: Fix some compiler warnings 2020-02-09 03:53:01 +02:00
Dirk-Jan C. Binnema 0c6719eb96 NEWS.org: update documentation 2020-02-09 03:53:01 +02:00
Dirk-Jan C. Binnema 0d9d99df99 Merge pull request #1328 from pitti/fix-whitespace-deletion
mu4e: restrict deleting trailing whitespace to region
2020-02-09 00:24:32 +02:00
Dirk-Jan C. Binnema be706fdfdd Merge pull request #1567 from Chris00/master
Allow icalendar replies to automatically be signed
2020-02-09 00:18:03 +02:00
Dirk-Jan C. Binnema e1e26d1da2 mu4e: update to use server maildir/database/addresses
Mkae mu4e-maildir and mu4e-personal-addresses obsolete, we get those
from the server.
2020-02-09 00:15:49 +02:00
Christophe Troestler 2b1f6ab148 Allow icalendar replies to automatically be signed 2020-02-08 14:12:51 +01:00
Dirk-Jan C. Binnema 3fc2a5f3f8 server: re-introduce signal handler
This still needed to be ported from the old server code.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema 029a4c245e mu/mu4e: handle personal addresses as server cmdline params
So we don't need to pass them to index; they can't change anyway.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema ac4f5f754a mu4e: remove maildir arg from proc-add/proc-sent calls
The server doesn't want that parameter anymore, so we can simplify
things a bit.
2020-02-02 00:23:34 +02:00
Dirk-Jan C. Binnema c707feb30f mu4e-utils: update main-view when index changed
When the main-view is visible, update it when the index changed (e.g.
for the read/unread numbers).

Clean up the info handler a bit.
2020-01-31 21:16:13 +02:00
Dirk-Jan C. Binnema ad5f7d8dad mu4e: make `mu4e` refresh itself
update using the 'ping' function, so read/unread counts get updated.

add a 'g' binding for the main-view.
2020-01-31 00:17:19 +02:00
Dirk-Jan C. Binnema 9ba28bc4c5 mu4e-draft: Fix over-eager reply-all (typo)
Fixes #1559.
2020-01-28 20:57:45 +02:00
Dirk-Jan C. Binnema a7c4fdd029 mu4e/mu4e~start: remove some debugging leftover 2020-01-28 10:01:39 +02:00
Dirk-Jan C. Binnema dd98203d42 mu4e: fix some compiler warnings 2020-01-28 01:03:40 +02:00