Henrik Lissner
d189132be1
fix(org): oversized org-todo popup
...
In the presence of multiple, horizontal splits, the org-todo popup
consumes ~50% of the vertical real-estate of its northern neighbor when
created. This is due to an edge case with some failsafe code somewhere
down org-fit-window-to-buffer's stack. This fix ensures the popup is
always a sane size.
And by enabling +popup-buffer-mode in it, we ensure it will be treated
as a popup (e.g. solaire-mode will be active in it, no modeline, etc).
2021-07-28 15:15:56 -04:00
Henrik Lissner
2400e8b275
fix(popup): prioritize local actions over popup rules
...
Otherwise, commands like switch-to-buffer-other-{tab,window,frame} don't
do as they promise and revert to our global popup rules.
Fix #5301
2021-07-28 15:12:37 -04:00
Henrik Lissner
823fb275a0
feat(org): expand parents for showNlevels option
...
#+STARTUP: showNlevels
This tells org to expand N levels at startup, but it only partially
unfolds headings, so show2levels gets you:
* A [...]
** X [...]
** Y [...]
** Z [...]
Instead of (what I think is expected):
* A
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
** X [...]
** Y [...]
** Z [...]
Perhaps this should be upstreamed?
2021-07-28 15:02:14 -04:00
Henrik Lissner
7b274c7dbe
feat(org): add native :async support
...
ob-comint (included with org) added native :async support. It only works
for python currently, but unlike ob-async supports :session for :async
python blocks. In fact, it *requires* :session, so we still fall back to
ob-async in its absence, failing that, it ultimately falls back to
synchronous execution.
2021-07-28 15:00:38 -04:00
Henrik Lissner
c48c01ebab
feat(org): set org-num-face & org-num-skip-tags
...
+ Perhaps a dedicated face would be better, but org-special-keyword will
do for now.
+ Don't number trees tagged :noexport: or :nonum:.
2021-07-28 14:06:35 -04:00
Henrik Lissner
a3e01fb4fe
fix(org): no mixed-pitch/spellcheck on org-footnote
2021-07-28 14:00:02 -04:00
Henrik Lissner
c2e6db27d0
tweak: adopt +vertico as our default backend
...
This has been a long time coming. Vertico et co turned out to be what I
wanted ivy to be and more.
2021-07-28 13:11:45 -04:00
Henrik Lissner
a6b6b6197b
fix(vertico): TAB bound to non-interactive function
2021-07-28 13:11:45 -04:00
Henrik Lissner
e0234dcab1
fix(pass): add vertico support
2021-07-28 13:11:45 -04:00
Henrik Lissner
9d7338d4b8
fix(vertico): add +ivy/jump-list analogue
...
Fix 'SPC s j' for consult users.
2021-07-28 13:11:36 -04:00
Henrik Lissner
33b646826b
fix(vertico): add counsel-file-jump analogue
...
Fix 'SPC f F' / 'C-c f F' for vertico users
2021-07-28 12:54:23 -04:00
Henrik Lissner
551e5adf81
fix(vertico): unreachable function in autoloads
...
+ Rename +vertico--embark-target-package to
+vertico-embark-target-package-fn to conform to naming conventions,
and because it's not a private function anymore.
+ Fix +vertico-embark-target-package-fn's indentation.
Fix #5208
2021-07-28 12:43:05 -04:00
Henrik Lissner
2d56dd73dc
fix(lookup): add vertico support to dash-docs
...
Close #5298
2021-07-28 12:42:58 -04:00
Henrik Lissner
93f6591faf
tweak: gcmh-idle-delay = 5 -> 0.5
...
Reduce the chance of memory leaks by being a little more aggressive
about idle GC. This *may* be too low; time will tell.
2021-07-28 12:42:46 -04:00
Henrik Lissner
cd87cc0cc8
refactor: remove redundant org code
...
org-collect-keywords does the job here. No need to reinvent the wheel.
2021-07-28 12:42:22 -04:00
Henrik Lissner
fd844ea18d
fix(vertico): escape perl syntax in selection
...
+ Escape any special regexp characters in the active selection.
+ Change the async split character (#) to the first of %, @, !, &, or /
that is absent in the active selection (falling back to %
otherwise) (since consult doesn't recognize escaping for these
characters).
2021-07-28 12:37:47 -04:00
Henrik Lissner
ffcfb6d8b3
tweak(vertico): tune consult async timers
...
For a more responsive UX.
2021-07-28 12:03:42 -04:00
Daanturo
5ed026e1c1
Add "SPC p &" binding
...
As projectile-run-async-shell-command-in-root
2021-07-27 22:05:32 +07:00
LuoZhipeng
bf488394e9
editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting.
2021-07-27 17:49:57 +08:00
Henrik Lissner
caf480e18a
Merge pull request #5300 from alexdesiqueira/patch-1
...
Adding new line on string on how to upgrade Emacs
2021-07-26 20:48:19 -04:00
Alexandre de Siqueira
44c8d3c8e4
Adding new line on string on how to upgrade Emacs
...
The current string presented breaks the address on how to upgrade Emacs:
```
❯ doom install
Detected Emacs 26.3 (at emacs).
Doom only supports Emacs 27.1 and newer. A guide to install a newer version
of Emacs can be found at:
https://doomemacs.org/docs/getting_started.org#on-linuxAborting ...
```
Just adding a `\n` at the end of the string would solve it.
2021-07-26 17:45:52 -07:00
Henrik Lissner
cf1fa4eeba
Fix #5297 : don't defer lv incrementally on magit
...
transient no longer depends on it.
2021-07-26 02:57:33 -04:00
Henrik Lissner
d7a223493e
completion/vertico: consult-async-min-input = 2
...
Legitimate two-letter searches are common enough in codebases that
consult-async-min-input's default value of 3 catches me up more often
than not.
2021-07-26 02:56:46 -04:00
Henrik Lissner
97048e2db4
completion/vertico: lazily activate recentf-mode
...
This'll do for now.
2021-07-25 18:03:12 -04:00
Henrik Lissner
cac9158b36
completion/vertico: use fd for counsel-find
...
If available.
2021-07-25 18:02:46 -04:00
Henrik Lissner
617fc7f1cc
Merge pull request #5296 from Wetlize/add-helpful-update-kbd
...
editor/evil: Add gr keybinding to refresh `helpful` buffers
2021-07-25 17:58:50 -04:00
Henrik Lissner
dd9657d90d
Fix SPC f F w/ vertico + consult
...
Not a perfect analogue to counsel-file-jump, but it's a start (and
better than the previous no-op).
2021-07-25 17:55:59 -04:00
Henrik Lissner
54a556c2fa
lang/emacs-lisp: add flycheck-package
2021-07-25 16:37:28 -04:00
Henrik Lissner
91e1eac024
Fix doom/delete-backward-word errors in minibuffer
...
The cause of the error is harmless, but the error itself was causing
breakage in the minibuffer.
2021-07-25 16:26:47 -04:00
Henrik Lissner
2f577482a0
Remove docs/CNAME
...
Was committed prematurely.
2021-07-25 15:47:58 -04:00
Henrik Lissner
b92caaa3c2
completion/vertico: reformatting
2021-07-25 15:47:58 -04:00
Henrik Lissner
cfcf7e0d03
Open embark grep buffers in popup
2021-07-25 15:47:58 -04:00
Henrik Lissner
ce905b9246
Expand latex snippets in org-mode fragments on TAB
2021-07-25 15:41:29 -04:00
Wetlize
e12519d250
editor/evil: Add gr keybinding to refresh helpful buffers
2021-07-25 22:36:01 +03:00
Henrik Lissner
017ada67c4
Merge pull request #5295 from iyefrat/vertico-export-fix
...
vertico: require embark in +vertico/embark-export-write
2021-07-25 12:26:11 -04:00
Itai Y. Efrat
c4a2b0bb26
vertico: require embark in +vertico/embark-export-write
...
needed now that embark is lazy loaded
2021-07-25 19:05:52 +03:00
Henrik Lissner
cb4e13e387
Merge pull request #5288 from iyefrat/vertico-file-search
...
vertico: remove +fuzzy check in +vertico-file-search
2021-07-25 04:58:56 -04:00
Itai Y. Efrat
83858fcaf9
vertico: remove +fuzzy check in +vertico-file-search
...
Doesn't do anything, it's a leftover from when the function was ported
from the ivy module.
2021-07-25 11:50:45 +03:00
Henrik Lissner
4ac5332a1d
Merge pull request #5271 from Wetlize/add-roam2
...
lang/org: Add `+roam2` flag for org-roam v2
2021-07-25 04:13:03 -04:00
Henrik Lissner
10a42a99f6
Merge pull request #4664 from Emiller88/selectrum
...
Add Vertico module
2021-07-25 04:12:19 -04:00
Henrik Lissner
5d956068a8
Create CNAME
2021-07-25 00:04:37 -04:00
Itai Y. Efrat
beb0b445d8
vertico: prepare for merge...
...
- move TODO.org to discourse (https://discourse.doomemacs.org/t/vertico-module-tasklist/1386 )
- update README date
- add @iyefrat as maintainer
2021-07-25 02:56:03 +03:00
Itai Y. Efrat
e2cd827f96
vertico: add variable to set company completion styles
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
aff25b132b
Bump :checkers spell
...
d12frosted/flyspell-correct@4042336 -> d12frosted/flyspell-correct@0035795
flyspell-correct got some completing-read improvements relevant to
completion/vertico
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
f94b985244
Bump :tools biblio
...
bdarcus/bibtex-actions@b1ddbb3 -> bdarcus/bibtex-actions@6e3a194
tmalsburg/helm-bibtex@9f6ea92 -> tmalsburg/helm-bibtex@a0d32ab
tmalsburg/helm-bibtex@9f6ea92 -> tmalsburg/helm-bibtex@a0d32ab
tmalsburg/helm-bibtex@9f6ea92 -> tmalsburg/helm-bibtex@a0d32ab
bibtex-actions is way out of date, and bibtex-completion has a new
org-cite improvement
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
a0e384fe8e
Bump :completion vertico
...
minad/consult@5fb6248 -> minad/consult@28f9ba8
minad/marginalia@d4c2028 -> minad/marginalia@a3a8edb
minad/vertico@e1faeb0 -> minad/vertico@4a90297
oantolin/embark@9d56be1 -> oantolin/embark@be03ce9
oantolin/orderless@2646dad -> oantolin/orderless@1e84120
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
a4093e90fe
vertico: fix unused lexical variable error
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
c12fb64c98
vertico: defer loading of embark and orderless
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
3f1016753d
vertico: various refactors...
...
- unify `map!` statements when possible
- rename `+vertico--embark-target-package!` to
`+vertico--embark-target-package` and autoload it
- set `completion-in-region-function` to a wrapper function instead of
changing it with a hook
- use `:override` advice instead of `fset` for `multi-occur`
- document what `vertico-directory-tidy` does
- move `:init` contents to `:config` when possible
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
770084fdda
vertico: use consult-line in +default/search-buffer
...
While it only gives one candidate per line, it's more important to have
something that uses the completion UI
2021-07-25 02:52:04 +03:00