Commit graph

9848 commits

Author SHA1 Message Date
Henrik Lissner
2b3dd9df4b Fix #4815: respect git-gutter:disabled-modes 2021-03-21 00:42:49 -04:00
daanturo
0e9fd716d2 Extend Python's docsets to Python REPL. 2021-03-19 20:41:20 +07:00
Tomasz Andrzejak
704aa4ebde Remove double underscore from c header templates
Using double underscore for an identifier in C/C++ invokes undefined
behavior.

From https://eel.is/c++draft/lex.name:

Each identifier that contains a double underscore __ or begins with an
underscore followed by an uppercase letter is reserved to the
implementation for any use.
2021-03-16 10:16:33 +01:00
Henrik Lissner
46dedb3e33
Merge pull request #4796 from mk0417/julia-doc-fix
fix julia README
2021-03-13 16:35:21 -05:00
Henrik Lissner
11cbd41b1b Fix process X is not a subprocess errors
When killing repl popups with special processes (e.g. for cider).
2021-03-13 16:33:18 -05:00
Henrik Lissner
ca1496f297 Load package before using browse-at-remote-prefer-symbolic
Fixes a void-variable error if used too early in a session.
2021-03-13 16:33:18 -05:00
“mk0417”
3a09dc0d9e fix README 2021-03-13 20:11:58 +00:00
Henrik Lissner
2391328d8c
Merge pull request #4794 from daanturo/Pandas-to-Python-docsets
Add "Pandas" to python-mode's docsets.
2021-03-13 11:49:00 -05:00
daanturo
dad58cb31d Add "Pandas" to python-mode's docsets. 2021-03-13 22:41:48 +07:00
Henrik Lissner
fb3fc19705
Merge pull request #4792 from daanturo/fix-prompt-for-repl
Fix non-default REPL's format of command name.
2021-03-13 10:20:27 -05:00
daanturo
bac1ff173d Fix non-default REPL's format of command name. 2021-03-13 12:17:42 +07:00
Henrik Lissner
ec225ac4b5 tools/lookup: remove mention of +lookup/install-docset
It was removed some time ago (replaced upstream by
dash-docset-install-docset).
2021-03-12 22:58:15 -05:00
Henrik Lissner
cf31b91858 Add default popup rule for *Apropos* buffers 2021-03-12 17:40:47 -05:00
Henrik Lissner
fa4f03de22 Fix #4784: browse-at-remote-prefer-symbolic = nil
+ Default browse-at-remote-prefer-symbolic to nil because a permanent
  URL is generally more desirable for developers sharing links.
+ 'SPC g y' and 'SPC o o' now support the prefix arg, which will negate
  the default value of browse-at-remote-prefer-symbolic for that call.
2021-03-11 13:41:16 -05:00
Nathan Tran
cdcdde3354
Fix +debugger/start not working (#4782)
* Fix `+debugger/start` not working

* Correct indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-11 10:24:44 -05:00
Henrik Lissner
9f08db8e33 Fix #4759: suppressed doom-first-file-hook side-effects
An optimization that minimizes how much work is done when grabbing org
agenda files in the background prevented side-effects in
doom-first-file-hook. This had the indirect effect of preventing
save-place-mode from adding its hook to find-file-hook IF org-agenda was
the first thing you ran at startup.
2021-03-10 20:33:37 -05:00
Henrik Lissner
377608c54b Fix #4651: don't trigger formatters on org tangle 2021-03-10 13:03:29 -05:00
Henrik Lissner
7c38eee96c Fix #4727: wrong-type-arg error on async org export
Because org-export-async-init-file will have a different value in the
temp buffer created for the temp file.
2021-03-10 13:03:29 -05:00
Jeetaditya Chatterjee
a2eac47a75
doc: add crystal README (#4764)
* doc: add crystal README

* adding some punctuation

* adding the version tag

* removing tree/<hash> links and placeholder comments

* adding in the required metadata
2021-03-10 11:53:55 -05:00
Henrik Lissner
62df2c386a Fix #4766: workaround for ivy-prescient wrong-type-arg error
ivy-resume + prefix arg = resume named session, but throws an error when
ivy-prescient is present.
2021-03-10 10:48:57 -05:00
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