Commit graph

10452 commits

Author SHA1 Message Date
Henrik Lissner
3bedae38dd dev: transition to 12c long hashes
In bumps, in :pin's, and in our git conventions. We have no rules for
the commit linter for it yet, though.
2021-08-02 22:07:13 -04:00
Henrik Lissner
0ca34af323 feat(file-templates): improve diagnostic command
Emit a more helpful error message if a rule was found but yasnippet
can't find the associated snippet.
2021-08-02 15:00:44 -04:00
Ellis Kenyő
425f6a1264
fix(mu4e): remove autoload cookie
Autoload cookie was not working as expected

Close #5331
2021-08-02 03:55:13 -04:00
Henrik Lissner
130c6e90d5 fix(org): doom-module links opening private modules
A doom-module: link should only refer to built-in modules, not
user-provided ones in $DOOMDIR/modules.
2021-08-01 23:37:36 -04:00
Emin Umut Gerçek
ccd20847c7
fix(lispy): evil-escape keybind collision on j
* Remove evil-escape from lisp modes
* Use evil-escape-inhibit-functions hook

Close #5328
2021-08-01 18:15:19 -04:00
Joshua Suskalo
9dc0d10c09
fix(clojure,org): use cider for org-babel
More than a year ago a change was added to ob-clojure that prevented
evaluating a Clojure code block without setting
`org-babel-clojure-backend'. This change sets this to a default value of
CIDER, since that is the main tool used in Doom.

Without this change, manual configuration is required to use Clojure in
org babel documents.

Close #5233
2021-08-01 15:26:55 -04:00
Yoav Marco
eb3d645bde
fix(latex): bind TeX-view in LaTeX-mode-map too
Close #4945
2021-08-01 15:15:45 -04:00
Daanturo
65950f3e91
feat(vertico): enable smart case for +vertico-file-search
Vanilla Emacs, Ivy, and Helm do this by default. Should be upstreamed.

Close #5322
2021-08-01 14:58:25 -04:00
Sergey Nizovtsev
8257954d53
docs(go): update gore URL in README
The Gore repository was moved and `go get` won't handle redirects.

Close #5325
2021-08-01 14:56:54 -04:00
Ellis Kenyő
89bb96c304
fix(mu4e): allow mu4e to be started early
mu4e complains about missing file-notify-*-watch functions if loaded too early.

Close #5327
2021-08-01 14:54:35 -04:00
Henrik Lissner
426369b4d3 revert: feat(popup): switch-to-buffer-obey-display-actions = t
As suspected, there were edge cases. Lots of sporadic window misbehavior
since I turned this on, so I'm reverting this.

Revert df520dfd4
2021-07-31 19:41:17 -04:00
Henrik Lissner
11007f3997 feat(org): add kbd & doom-{module,package}} links
I make extensive use of these in our new in-repo Org documentation.
2021-07-31 19:40:58 -04:00
Henrik Lissner
bbd3122c2e
Merge pull request #5309 from daanturo/close-lsp-doc
Allow evil users to quickly close the LSP signature buffer
2021-07-31 05:03:34 -04:00
Henrik Lissner
858a0e44a3 feat(org): open help:* links with helpful-*
Rather than describe-*
2021-07-31 04:35:49 -04:00
Henrik Lissner
83171ac554 feat(org): add #+STARTUP inlinegifs playgifs
- #+STARTUP: inlinegifs = play inline gif previews when point is on
  them.
- #+STARTUP: playgifs = play all gifs in the visible buffer (super,
  super slow; use at your own risk).
- Add +org-startup-with-animated-gifs for changing the global
  default (nil). Can be set to 'at-point (inlinegifs) or t (playgifs)
2021-07-31 04:35:49 -04:00
Henrik Lissner
348ff3f65d fix(popup): overaggressive ignoring of popup rules
Would cause errors in some legitimate cases where we want
display-buffer-alist respected.
2021-07-31 04:35:49 -04:00
Henrik Lissner
443370b4d7 feat(crystal): add +lsp flag and support
Since lsp-crystal is provided by lsp-mode.
2021-07-31 04:35:49 -04:00
Henrik Lissner
3c66264656 fix(default): bind s-f to consult-line for macos users
Swiper is present if the ivy or helm backends are enabled, otherwise,
use consult-line.
2021-07-31 04:35:49 -04:00
Itai Y. Efrat
41772a80db bump: consult-lsp
gagbo/consult-lsp@c882749 -> gagbo/consult-lsp@e8a50f2

compatibility fix with new versions of consult
2021-07-31 11:20:43 +03:00
Itai Y. Efrat
3af07d2500 fix(vertico): +vertico/embark-preview bug
- replace obsolete `embark-default-action` with `embark-dwim`
- add `defvar` for `embark-quiet-after-action` to fix lexical var bug
2021-07-31 10:50:00 +03:00
Itai Y. Efrat
f7863f96f0 nit(vertico): sharpquote a quoted function 2021-07-31 10:49:00 +03:00
Itai Y. Efrat
19c40901f1 fix(vertico): +vertico/find-file-in...
- require `consult` (`consult--directory-prompt` isn't autoloaded)
- set category to `'file`
2021-07-31 10:48:00 +03:00
Itai Y. Efrat
a23cb1fddf fix(vertico): consult-recent-file previews
Turning on `recentf-mode` in a `cmd!` (introduced in 97048e2) means that
the `consult-customize` that turns off the previews doesn't work. This
is fixed by advising the function instead.
2021-07-31 10:47:00 +03:00
Itai Y. Efrat
859fc4e1b1 feat(vertico): improve marginalia annotations
- use `doom-project-root` in the annotation category
  `project-file` (marginalia uses `project.el`)
- annotate more functions, alphabetize list
2021-07-31 10:46:00 +03:00
Itai Y. Efrat
b7901231d4 feat(vertico): add <leader> s B binding 2021-07-31 10:45:00 +03:00
Itai Y. Efrat
9e31d0dac0 fix(vertico): <leader> c J binding
- needs to be `cmd!!` for the prefix argument
- use descriptive quoted symbol instead of `'(4)` for prefix arg
2021-07-31 10:44:00 +03:00
Itai Y. Efrat
4c3c027a96 feat(vertico): better crm interface 2021-07-31 10:43:00 +03:00
Itai Y. Efrat
099a4ac8ff bump: :ui doom
hlissner/emacs-doom-themes@5221b06 -> hlissner/emacs-doom-themes@9e2680b
2021-07-31 10:42:00 +03:00
Itai Y. Efrat
d6fba19586 bump: :completion vertico
minad/consult@28f9ba8 -> minad/consult@69bbd21
minad/marginalia@a3a8edb -> minad/marginalia@1123544
minad/vertico@4a90297 -> minad/vertico@9de6709
oantolin/embark@be03ce9 -> oantolin/embark@1a7e6b5
iyefrat/all-the-icons-completion@24cdb3b -> iyefrat/all-the-icons-completion@d1d4b2f

update embark indicator to new format
2021-07-31 10:41:00 +03:00
Henrik Lissner
7f8cba9ba0
Merge pull request #3971 from tecosaur/m4e4u
Mu4e Module Revamp
2021-07-31 00:24:45 -04:00
TEC
896f7dd3df
Mu4e: Select reply account when multiple addrs set
Modify +mu4e-set-from-address-h to account for messages with multiple
to/from headers by finding the intersection between the headers and
registered accounts.

While I'm at it, there was a rather silly typo in the when-let line
that's been corrected.
2021-07-31 01:32:57 +08:00
TEC
6b690547b0
Mu4e: Add myself (tecosaur) as module maintainer 2021-07-31 01:22:21 +08:00
TEC
3fd6b2df1d
Mu4e: Ensure composing buffers are writable
This should always be the case, yet it doesn't seem like it always is.
Just to be safe we will ensure that the buffer is not read-only.
2021-07-31 01:13:43 +08:00
TEC
6915490d21
Mu4e: Better adhere to Doom naming conventions 2021-07-31 01:10:54 +08:00
Liam Hupfer
ffaed9f5d7
Mu4e: Fix typos 2021-07-31 01:10:14 +08:00
Liam Hupfer
2fd89a7eca
Mu4e: More contextual +mu4e-set-from-address-h
This hook should only be used when users define email aliases, or no
contexts are defined (in which case the list of personal addresses
should be used). Otherwise, the `:match-func` contexts feature is
sufficient.
2021-07-31 01:07:52 +08:00
Liam Hupfer
a75dea6281
Mu4e: Ignore case when matching mu4e context
This allows users to have different casing in their mu4e context names
and the corresponding directories. Since mu4e's context switching
automatically selects the letter from the context name, this allows
users to set two contexts starting with the same letter to uppercase and
lowercase variants, while leaving the directories lowercase.
2021-07-30 23:44:59 +08:00
Liam Hupfer
3d54471b2a
Mu4e: Fix setting default context
The default-p argument to `set-email-account!` now works as intended.
mu4e checks the first context on startup to determine the default and
uses functions for that, so we can't really get around it by setting
the bare mu4e~context-current variable.
2021-07-30 23:44:56 +08:00
Liam Hupfer
95971d2dc7
Mu4e: Add xdg-user-dir directory finding method 2021-07-30 23:44:50 +08:00
andrewsuperlegit
b633e920cc
Fixed the keybind for fold/unfold all
The keybinding for fold all and unfold all was wrong (was missing a C-f)
2021-07-29 18:46:08 -05:00
TEC
2efeaa3bf2
Mu4e: re-indent advice.el and fix docstring typo 2021-07-30 01:56:54 +08:00
TEC
7e1f7915c0
Mu4e: use file when imagemagik not present
We will also use this as an opportunity to clean up the use of
+org-msg-img-scale-css.
2021-07-30 01:56:54 +08:00
TEC
fe5e410b74
Mu4e: thread folding is too buggy, remove for now
I bumped to get bugfixes and got more bugs. If the situation improves in
future maybe we could add this back in.
2021-07-30 01:56:53 +08:00
TEC
6fae5ea317
Mu4e: extend org-msg application to plaintext
Recently org-msg gained the capability to change which exports/mime
types are sent based on the email, and a new utf-8 type. We will make
use of both of these additions.
2021-07-30 01:56:53 +08:00
TEC
59178f2d71
Mu4e: Relocate min-frames-width statement 2021-07-30 01:56:53 +08:00
TEC
a39f7b0ced
Mu4e: Don't set gnus/message face, leave to themes 2021-07-30 01:56:53 +08:00
TEC
a4db56be2f
Mu4e: Confirm that lockfile pid is an emacs proc
Or else another app can be given the same PID and we'll be complaining
another Emacs process is using mu4e when that simply isn't true.
2021-07-30 01:56:53 +08:00
TEC
abe2ac28c0
Mu4e: Replace stray setq with defvar and docstring 2021-07-30 01:56:53 +08:00
TEC
b20b233986
Mu4e: Avoid making assumptions about defuns result
It's not guaranteed that `defun' will return the new function symbol,
but add-hook! works around this.
2021-07-30 01:56:53 +08:00
TEC
921157f8d7
Mu4e: Remove redundant check in cond statement
The `t' case is already handled in the preceding condition.
2021-07-30 01:56:53 +08:00