Commit graph

10828 commits

Author SHA1 Message Date
Benjamin Picardat
e33b21dc46 Fix #4770: New window is focused after split
According to the documentation of `evil-window-split` the variable
`evil-split-window-below` needs to be non-nil for the new window to be
created below; and for `evil-window-vsplit` it is the variable
`evil-vsplit-window-right` that needs to be non-nil for the window to be
created on the right.
2021-03-10 15:48:31 +01:00
Henrik Lissner
4a08acd234 Bump :ui doom
hlissner/emacs-doom-themes@e82b6b5 -> hlissner/emacs-doom-themes@55f01ed
hlissner/emacs-solaire-mode@c697925 -> hlissner/emacs-solaire-mode@a8fe09d

Fixes #4729
2021-03-09 16:22:25 -05:00
Henrik Lissner
de781f7a0b ui/zen: enable mixed-pitch-mode in adoc-mode & rst-mode
org-journal-mode is derived from org-mode, so it's not needed in this
list.
2021-03-09 16:20:50 -05:00
Henrik Lissner
14eb254b4b Bump :tools magit
magit/magit@1c60edc -> magit/magit@4735b92
magit/forge@fa80a87 -> magit/forge@8382fd3

The same predicates are now specified in upstream magit, so there is no need to
override `safe-local-variable'.

Closes #4760

Co-authored-by: Nikita Bloshchanevich <nbfalcon@users.noreply.github.com>
2021-03-09 14:38:09 -05:00
Valentin Herrmann
79c61629a5
Better defaults for dired 2021-03-09 16:43:22 +01:00
Henrik Lissner
fe6981b245 Bump :tools pdf
flatwhatson/pdf-tools@eb6d406 -> vedang/pdf-tools@35e12b0

The original politza/pdf-tools is no longer maintained (?), and the PR
we were pullin from has been merged into a new, maintained fork at
vedang/pdf-tools.

Might address #4750
2021-03-08 10:25:09 -05:00
Henrik Lissner
a863fe89d0 Bump :lang python
pythonic-emacs/anaconda-mode@081f9d8 -> pythonic-emacs/anaconda-mode@344727c

Closes #786
2021-03-08 10:25:09 -05:00
Henrik Lissner
7e1f5da169 lang/emacs-lisp: respect lexical-binding in eval handler 2021-03-08 10:25:09 -05:00
Sævar Berg
12cf59cf73
Prioritize company-capf over company-yasnippet
This ensures that when doing things like completing on `this.` inside classes, the class fields and methods are shown before the yasnippet snippets.
2021-03-08 13:29:28 +01:00
Henrik Lissner
f0d601d2ac ui/nav-flash: refactor
+ Avoid generating unneeded markers (relatively expensive in the long
  run).
+ Extract excluded major modes into a variable.
2021-03-07 14:30:42 -05:00
Ellis Kenyő
ff58823d48
Fix 'wrong type arg: overlayp' error from ivy+nav-flash (#4749)
* Fix for missing overlay

Overlay might be nil before being used, so replicate what the package does

* Neater for for nav-flash issue

* Properly check for the value
2021-03-07 14:29:01 -05:00
Henrik Lissner
5069d95b42 Fix #4745: defining as dynamic an already lexical var
If a dynamic variable is first defined in the same scope where it is
lexically bound, you get this error.
2021-03-07 13:04:24 -05:00
Henrik Lissner
f6de662011 Keep treemacs-mode in aw-ignored-buffers
This was an arbitrary default. It's easier to remove than to add
back (see #4746). I'd rather be faithful to treemacs' author's vision.

Closes #4746

Co-authored-by: daanturo <daanturo@users.noreply.github.com>
2021-03-07 12:46:14 -05:00
Henrik Lissner
1c9184504a
Merge pull request #4748 from nbfalcon/bugfix-security/git-commit-locals-predicates
`git-commit`: fix variable predicates
2021-03-07 12:33:44 -05:00
Nikita Bloshchanevich
973f23b1df `git-commit': fix variable predicates
`git-commit-summary-max-length' should be a number, not a symbol.

`git-commit-major-mode' should be checked more carefully, as otherwise
exploits are possible (e.g. if it is `erase-buffer' or some more
dangerous function of the user's environment).
2021-03-07 18:25:01 +01:00
Henrik Lissner
302a76a06e app/everywhere: use MELPA recipe 2021-03-06 23:45:07 -05:00
Henrik Lissner
f0eb0151f6 evil-respect-visual-line-mode = t
Reverts c733a6a

The previously reported issues seem to be resolved? Just have to wait
and see...

Closes #2447
2021-03-06 14:00:48 -05:00
Henrik Lissner
638c980163 Revert 27d3e73
Some users may not be using a theme (*shudder*), in which case
ns-auto-titlebar-mode never kicks in.

That said, this "fix" didn't fix the targeted issue anyhow.
2021-03-06 12:12:01 -05:00
Henrik Lissner
04a70e23c4 ui/zen: proofread & expand readme 2021-03-06 12:12:01 -05:00
Henrik Lissner
210b3bb059 ui/zen: remove redundant mixed-pitch faces for org
These were already in `mixed-pitch-fixed-pitch-faces`, upstream.
2021-03-06 12:07:10 -05:00
Henrik Lissner
d807657ba7 s/prereqisites/prerequisites
Silly typo is silly.
2021-03-06 12:05:55 -05:00
Henrik Lissner
4c7c9cacd3 os/tty: proofread readme 2021-03-06 11:23:00 -05:00
Henrik Lissner
01b447a12c
Merge pull request #4743 from nbfalcon/bugfix/eldoc-variable-value-not-displayed
Emacs lisp: fix variable value display in eldoc
2021-03-06 10:36:33 -05:00
Henrik Lissner
2a4509c42a editor/evil: fix typo in +evil-window-split-and-follow
And conform these commands to naming conventions.
2021-03-06 10:31:10 -05:00
Nikita Bloshchanevich
169d0b2ed5 Emacs lisp: fix variable value display in eldoc
`fboundp' does not check if a variable is bound, but rather a function.
Use `boundp'.
2021-03-06 16:29:07 +01:00
Henrik Lissner
27d3e73fb7 os/macos: activate ns-auto-titlebar-mode later
If triggered too early, it may read the wrong frame background mode and
you'll get dark text on a dark titlebar in MacOS dark mode (or light
text on a light titlebar in light mode).
2021-03-06 10:24:38 -05:00
Henrik Lissner
e4539bb56c ui/ligatures: fix over-eager activation
Users (or packages) may add entries directly to prettify-symbols-alist.
The module would mistaken that as a green light to activate
prettify-symbols-mode. Instead, only activate the mode if this module's
ligatures (or extra symbols) are specifically asked for.
2021-03-06 10:04:54 -05:00
Henrik Lissner
0917187f20 editor/evil: bind C-w {S,V} to split-and-follow 2021-03-06 09:59:50 -05:00
Henrik Lissner
08de1856fa Fix #4733: aggressive saving of org capture buffers 2021-03-06 00:53:18 -05:00
Henrik Lissner
87e209badc Remove vestigial mentions of the :feature category
It was removed long, long ago.
2021-03-06 00:49:36 -05:00
tJ2ow
7b07e612b4
Added emms as doom module { :app emms } (#3581)
* Added emms dir to gitignore.

* Added emms module.

* Added emms module.

* Added emms module.

* I had a weird bug fixed it.

* I suck.

* Made the changer lissner requested.

* Made a restart music daemon func.

* Simplify config and bump package

* Proofread readme

Co-authored-by: Takoda J Horton <takodajhorton@protonmail.com>
Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-06 00:44:04 -05:00
Henrik Lissner
287e3e83b2 Bump :ui treemacs
Alexander-Miller/treemacs@a7e2e43 -> Alexander-Miller/treemacs@6857816

Include a fix for Treemacs + TRAMP (broken by
Alexander-Miller/treemacs@6c43117)

Closes #4735
2021-03-06 00:23:12 -05:00
Henrik Lissner
f272137e12 app/calendar: fix C-{l,j,k} in details buffer 2021-03-06 00:15:21 -05:00
Henrik Lissner
cf31d2605f app/calendar: fix edge case with +calendar/quit
The user can open the calendar directly, with `M-x
cfw:open-calendar-buffer`, which sidesteps the workspace init logic in
=calendar. This fixes +calendar/quit so it can deal with this use case.

Mentioned in #4019
2021-03-06 00:10:55 -05:00
Henrik Lissner
7399138736 app/calendar: minor refactor & reformatting 2021-03-06 00:10:55 -05:00
Henrik Lissner
b5f258914d app/calendar: add evil keybind scheme
This should probably be upstreamed to evil-collection.

Fixes #4019
2021-03-06 00:10:55 -05:00
Henrik Lissner
4003d1fdea app/calendar: add cfw:details* popup rule 2021-03-06 00:10:55 -05:00
Henrik Lissner
55cfe0cca4 Fix TAB fallthrough for evil keybinds
If TAB was bound on the current keymap, our TAB dispatcher would fall
back on it, but it wouldn't see TAB keybinds on evil auxiliary keymaps
on the current keymaps (e.g. in cfw:calendar-mode).
2021-03-06 00:10:55 -05:00
Henrik Lissner
cb194a31b1
Merge pull request #4512 from jsravn/enable-yasnippet-in-lsp-completion
Include snippets in lsp completion
2021-03-05 23:21:07 -05:00
Henrik Lissner
a405735c10 tools/editorconfig: proofread readme
+ Added Hacks section.
+ Expanded on configuration guide.
2021-03-05 23:10:47 -05:00
Jeetaditya Chatterjee
2fa0dca041
doc/adding editorconfig and hl-column-fill documentation (#3815)
* doc/adding editor config and hl-column-fill docs

* Adding inaugural versons to the modules

* Making the requested edits

* adding in some more spaces

* redoing the review

* ui/fill-column: correct & expand readme

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-05 22:35:06 -05:00
Henrik Lissner
494d87d0b4 email/notmuch: update readme
Closes #3933

Co-authored-by: Will Vaughn <nackjicholson@users.noreply.github.com>
2021-03-05 22:17:47 -05:00
Henrik Lissner
4e90bbaf75
Merge pull request #3932 from nackjicholson/rm-notmuch-hello-customizations
Notmuch module remove `*notmuch-hello*` buffer customizations + add some documentation
2021-03-05 20:58:53 -05:00
Henrik Lissner
1b81337d8d email/notmuch: correct & reformat readme 2021-03-05 20:57:41 -05:00
Henrik Lissner
a724771d1e
Merge pull request #4708 from he-la/develop
Fix +debug/start for dap-based debuggers.
2021-03-05 20:14:11 -05:00
Henrik Lissner
fa29a3cf1d Ensure associated workspace is deleted on server-done too
Should catch more corner cases where workspaces are surviving their
emacsclient-spawned frames.
2021-03-05 20:09:22 -05:00
Henrik Lissner
d9dac055a6 ui/vc-gutter: minor refactor 2021-03-05 20:09:22 -05:00
Henrik Lissner
a912a6c313 ui/zen: prevent type error in writeroom-mode
In case a user is testing writeroom-mode, experiences an error, and this
internal variable isn't set.
2021-03-05 20:09:22 -05:00
Henrik Lissner
6127d15cea tools/debugger: use realgud:trepanpl for raku-mode 2021-03-05 20:09:22 -05:00
Henrik Lissner
7afe5dc5c3 tools/lsp: fix void-function lsp--require-packages error 2021-03-05 20:09:22 -05:00