Commit graph

128 commits

Author SHA1 Message Date
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
7ec7134947 selectrum: improve ivy parity
- add `:pg` bindings
- add `selectrum-minibuffer-map` to `+default-minibuffer-maps`
- add `consult-notmuch`
- add selectrum option for `mu4e-completing-read-function`
- document more parity failings
2021-07-25 02:49:41 +03:00
Patrick Toal
23e0dc48e6
Update org-msg variable
Fixes #4295
2020-11-20 14:26:53 -05:00
Henrik Lissner
dbe09f9b43
Fix #4043: correctly load org-msg-mode for mu4e 2020-10-06 14:19:37 -04:00
Henrik Lissner
1d7d493f0d
Remove redundant auto-mode-alist entries
rc files are covered in core-editor.el
2020-08-03 00:45:32 -04:00
Henrik Lissner
bfb04102ef
email/mu4e: replace org-mu4e with org-msg
Fixes #3663
2020-08-01 14:16:43 -04:00
Henrik Lissner
7a276dbf6b
Restore evil keybinds for mu4e-view-mode #3464 2020-07-24 17:57:56 -04:00
Matthew Leach
3ccada7150
Switch to emacs mode in mu4e view mode (#3464)
* email/mu4e: use Emacs mode when viewing mail

Evil masks most of the keybindings that are set by mu4e-view-mode. Since
this is a read-only buffer anyway use Emacs for that mode.

* email: mu4e: replace `add-hook!' with `add-hook'
2020-07-12 22:11:21 -04:00
Henrik Lissner
8d75d72eb0
Fix wrong-number-of-args error on loading mu4e
Because mu4e-attachment-dir is expected to take two arguments (if it's a
function).
2020-05-26 14:06:19 -04:00
Henrik Lissner
7ca20f158b
Resolve mu4e-attachment-dir from mu4e-root-maildir
Closes #3133
2020-05-25 03:43:40 -04:00
simendsjo
503ace3429 mu4e action to view email in browser
Taken from Spacemacs
2020-05-03 18:05:31 +02:00
Henrik Lissner
b681940cce
Prevent 'cannot find file: mu4e-meta' error
For users with older versions of mu4e installed.
2020-04-27 14:08:36 -04:00
Henrik Lissner
b27732727b
Merge pull request #2957 from agraul/mu4e-1.4
mu4e: Adjust config to mu4e 1.4
2020-04-26 04:41:48 -04:00
Henrik Lissner
e1a9bf234f
Minor refactors 2020-04-26 02:33:37 -04:00
Alexander Graul
9fe35c5fa4 mu4e: Adjust config to mu4e 1.4
mu4e 1.4 brings quite a few changes, including the deprecation of
previously used variables. These are now guarded by a version
comparison. org-mu4e is not needed for linking anymore,
org-mu4e-link-query-in-headers-mode was renamed. It's new version
defaults to nil and is therefore not set anymore -- I am not sure if the
default was changed or setting it was not strictly needed previously.
2020-04-24 16:56:03 +02:00
Vu Quoc Huy
55e5a3e084 Remove unused variables 2020-03-24 14:48:00 +01:00
Vu Quoc Huy
f34d56de13 Enable mu4e-use-fancy-chars by default 2020-03-24 14:12:10 +01:00
Henrik Lissner
5b094b6220
Fix #2627: remove mu4e-maildirs-extension
The package is unmaintained, and its functionality appears to have
merged into mu core at some point.
2020-02-29 11:14:02 -05:00
Henrik Lissner
5e0e0bd3b7
Remove redundant evil-set-initial-state
Redundant with evil-collection-mu4e
2020-02-09 18:44:41 -05:00
Henrik Lissner
fb24a8deec
Activate flyspell-mode in specific modes
yaml-mode is derived from text-mode, rather than prog or conf-mode. This
may be true for other major modes, so we must be more judicious about
where we activate flyspell-mode.
2020-01-20 19:31:35 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
Yiming Chen
93205d4401 email/mu4e: fix refile target
- before this change: refile would use mu4e-trash-folder as the target
- after this change: refile would use mu4e-refile-folder as expected
2019-11-30 22:26:27 +08:00
Bart Brouns
c56f0513fa Add some bindings to mu4e-compose-mode (#1918)
email/mu4e: add mu4e-compose-mode localleader keybinds
2019-10-20 20:01:37 -04:00
Henrik Lissner
a3e262c7ac
💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
Henrik Lissner
82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
c795a988e6
Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
Henrik Lissner
84c5da844b
Add email/{wanderlust,mu4e,notmuch} modules
Removed app/{email,notmuch}
2019-05-05 14:14:12 -04:00
Renamed from modules/app/email/config.el (Browse further)