Commit Graph

1292 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema b2bdb8b30c
Merge pull request #1526 from seanfarley/smf/esc
mu4e-util: allow ESC to exit a choice selection
2020-01-21 20:30:56 +02:00
Dirk-Jan C. Binnema 5071ed5012
Merge pull request #1548 from thierryvolpiatto/dont_require_gnus
mu4e: Avoid loading all gnus package
2020-01-21 20:28:31 +02:00
Thierry Volpiatto edce635416
Avoid loading all gnus package
when not necessary.

* mu4e/mu4e-view.el (mu4e~view-gnus): Require gnus-art here instead on
top of file.
2020-01-21 09:49:40 +01:00
Pedro Ribeiro Mendes Júnior 5d087a130b Merge branch 'master' of https://github.com/djcb/mu 2020-01-16 08:28:08 -03:00
Dirk-Jan C. Binnema cf594413e2 mu4e: utils: fix indentation 2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema 1631d98b9e mu4e: support hiding bookmarks from main-screen/bookmarks
Using the :hide t property on a bookmark plist. The bookmark is still
available throught the completion mechanism.
2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema c95cd3c1aa mu4e-main: fix indentation 2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema 54c2a15ed0 mu4e: make mu4e-bookmarks items simple plists
We don't need cl-defstruct; simplify things a bit.
2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema 760b6a14de mu4e: fix typo in cc-creation
Thanks to stsquad.
2020-01-13 23:40:23 +02:00
Pedro Ribeiro Mendes Júnior fe2c6d5078 mu4e: inform alternative for getting confirmation before sending
The `message-send' command already uses the variable
`message-confirm-send' to check if a confirmation should be asked
before sending.  Then, setting this variable is a more straightforward
alternative for getting those confirmations before sending.
2020-01-12 17:44:56 -03:00
Dirk-Jan C. Binnema 25d421068e
Merge pull request #1535 from pedrormjunior/master
mu4e: define mu4e-view-actions with defcustom instead of defvar
2020-01-11 16:59:15 +02:00
Dirk-Jan C. Binnema f6b5fff83e mu4e: add special handling for mailing-list replies 2020-01-11 15:10:37 +02:00
Dirk-Jan C. Binnema 763ae799c8 mu4e-draft: fix indentation 2020-01-08 23:25:37 +02:00
Pedro Ribeiro Mendes Júnior 7b5195da89 mu4e: define mu4e-view-actions with defcustom instead of defvar
It allows the customization directly from Emacs Custom mode.  It is
done in a similar way as for `mu4e-view-attachment-actions'.
2019-12-31 13:20:15 -03:00
Dirk-Jan C. Binnema 24a6b71bd0 mu4e: move mu4e-bookmark defstruct to vars
Avoid compilation problem.
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema 3e2acda310
Merge pull request #1531 from Vonfry/fix/mu4e-remove-duplicate-mu4e-bookmarks
mu4e: remove duplicated mu4e-bookmarks define
2019-12-22 14:55:35 +02:00
Vonfry 5c51419f57
mu4e: remove duplicated mu4e-bookmarks define
let custom-set-variables work.
2019-12-22 18:10:43 +08:00
Vonfry 40d4abc8fb
mu4e: switch mu4e-contexts from defvar to defcustom 2019-12-22 14:54:08 +08:00
Sean Farley 02b5bc805c mu4e-util: allow ESC to exit a choice selection
I occasionally find myself pressing escape to exit a menu choice in mu4e
and it's a bit unfortunate that nothing happens. As best I could tell,
since this is a C call, none of the keymaps are checked for
`(keyboard-quit)' so we need to explicitly check for ESC here.
2019-12-13 16:26:05 -08:00
Dirk-Jan C. Binnema 384fcc5df3 mu4e: add missing file 2019-12-10 23:36:35 +02:00
Dirk-Jan C. Binnema 0bc2e605a4 mu4e: clean up org-handling
Load org support by default, unless mu4e-org-support is set to nil.

Turn off speedbar support by default (set mu4e-speedbar-support to t to
re-enable it).

Move the non-obsolete org stuff to mu4e-org. Rename some things from
org-mu4e to mu4e-org.

Remove org-old-mu4e.el
2019-12-10 18:09:03 +02:00
Antoine Levitt dcb3025d1d revert indentation 2019-12-10 11:07:01 +01:00
Antoine Levitt 006c3399cb Push mark on beginning/end of buffer 2019-12-05 21:36:38 +01:00
Dirk-Jan C. Binnema e18c86900c mu4e: remove debug message from -proc
Fixes #1514
2019-11-25 23:16:10 +02:00
Jonas Bernoulli f31d1b065d Fix typos 2019-11-06 16:13:39 +01:00
Dirk-Jan C. Binnema ed6842e5bd mu4e: inherit mu4e-header-highlight-face from hl-line
...instead of `region'.

Fixes: #1500.
2019-10-27 14:48:01 +02:00
Dirk-Jan C. Binnema d7a5349a74 mu4e-comnpose: avoid jumping to headers when saving
Wrap the before-save-hook function in a save-excursion.

(HT: Joost Kremers)
2019-10-23 20:21:24 +03:00
Dirk-Jan C. Binnema 798aa12a34 mu4e-compose: Generate message-id for drafts
Ensure even drafts have a message-id, since the querying machinery wants
that.
2019-10-20 16:13:32 +03:00
Dirk-Jan C. Binnema 548dc16f67 mu4e-draft: Include a date in draft
Unconditionally include a date in draft messages; update it whenever
we're saving or sending.
2019-10-20 16:12:11 +03:00
Dirk-Jan C. Binnema 4cb3ca3585 mu4e-headers: Improve docstring for 'mu4e-headers-results-limit'
Add a few notes on how the limit is used.
2019-10-20 14:28:41 +03:00
Dirk-Jan C. Binnema 3a8ceeea92 mu4e: disable K bindings in view
We don't support the K- bindings in the gnus-view, so let's avoid the
error.
2019-10-14 20:39:23 +03:00
Dirk-Jan C. Binnema 30865c9d2c mu4e: add mu4e-contacts-info
Add an interactive function mu4e-contacts-info, to display some
information about the contacts cache.
2019-09-26 00:35:23 +03:00
Dirk-Jan C. Binnema 9457f2f591
Merge pull request #1486 from thierryvolpiatto/more_lexical-binding
Add lexical-binding to all files and fix warnings
2019-09-26 00:29:31 +03:00
Dirk-Jan C. Binnema 581785abe9 mu4e: view: disable some bindings for the gnus-based view
Disable some of the key-binding that don't quite work for the gnus-based
view. We'll probably want a gnus-view specific set of bindings, but at
least for now avoid the errors.
2019-09-16 22:02:16 +03:00
Thierry Volpiatto e4f5576cfc
Add lexical-binding to all files and fix warnings
about free variables (declare) and unused lexical vars (prefix with "_").
2019-09-16 19:54:59 +02:00
Thierry Volpiatto 9ddd035a1e
Completely use cl-lib and lexical-binding
Previously both cl-lib.el and cl.el were used, now use only cl-lib.el.
Use lexical-binding where needed instead of requiring cl just for
`lexical-let`.
Replace some add-to-list with cl-pushnew as add-to-list is not
recommended in lisp program and anyway doesn't work properly with
lexical binding.
2019-09-14 12:39:51 +02:00
Dirk-Jan C. Binnema ca699324a3 mu4e: mu4e-compose: Fix configuration choices
End the choice group in the right place.
2019-08-10 10:53:52 +03:00
Paul W. Rankin ca7449c575
Balance parens in mu4e-compose-context-policy
Fixes unbalanced parens in mu4e-compose-context-policy, which prevents Custom mode UI working.

Using standard indentation helps prevent missing these little issues.
2019-08-09 18:20:33 +10:00
Nathanael Gentry b710e47d58
mu4e: fix `make-mu4e-context-account` to see `name` keyword arg 2019-07-30 16:47:09 -04:00
Dirk-Jan C. Binnema 5c5716d3f0 bump version to 1.3.4
plus some build tweaks.
2019-07-30 19:36:04 +03:00
Dirk-Jan C. Binnema 26dca831c6 mu4e: automatically rebuild database when possible 2019-07-30 08:51:04 +03:00
Dirk-Jan C. Binnema 632f383c38 mu: Default to XDG Base Directory Specification
Instead of using ~/.mu, use the XDG Base Directory Specification, typically:
  ~/.cache/xapian
  ~/.cache/mu.log
  ~/.cache/parts
  ~/.config/bookmarks

Update dependencies, documentation.
2019-07-13 16:00:28 +03:00
Christophe Troestler 5ca3254ef9 mu4e (ical): Run message deletion after mu4e-sent-handler 2019-07-13 14:11:54 +02:00
Christophe Troestler a6efefb622 mu4e (ical): Mention mu4e-icalendar-trash-after-reply in the configuration 2019-07-13 14:11:54 +02:00
Christophe Troestler 19f09e6e59 mu4e (ical): Use message-remove-header to update the reply headers
Fixes https://github.com/djcb/mu/pull/1403#discussion_r277174623
2019-07-13 14:11:54 +02:00
Christophe Troestler e48835fadf mu4e (ical): Add header and documentation and make checkdoc happy 2019-07-13 14:11:54 +02:00
Christophe Troestler 676ccc6e55 mu4e (ical): Set automatically composed reply ical message unmodified 2019-07-13 14:11:43 +02:00
Christophe Troestler 18e12ed3cb mu4e (ical): Make possible to automatically trash a replied ical event 2019-07-13 14:10:07 +02:00
Christophe Troestler 834582b7bd mu4e (ical): Optionally save ical events to a diary file upon reply 2019-07-13 14:08:17 +02:00
Christophe Troestler 0f38dd4b1a mu4e (ical): Display ical buttons only when method∈{REQUEST,PUBLISH} 2019-07-13 14:07:34 +02:00