Commit graph

4514 commits

Author SHA1 Message Date
Henrik Lissner
e24b8cd1d1
Slim down from lang/data
+ Removes jsonnet, graphql, dhall & protobuf packages from the module.
+ Removes +data-vagrant-mode project minor mode (unused).

I'm phasing out the lang/data module. Its original purpose was to be for
data interchange formats, like JSON, but over time it became the dumping
ground for languages with no clear defining feature.

These packages are being removed first because their configs are
non-existent or so trivial that it offers nothing a user couldn't set up
themselves.

graphql and jsonnet might get heir own modules (or jsonnet might be
gated behind a flag in the :lang json module), but for now they gotta
go.

fixup! Remove jsonnet, graphql, dhall & protobuf modes from lang/data
2020-04-23 23:56:17 -04:00
Henrik Lissner
2d766cfa0c
Remove :lang assembly
This module is too trivial, and provides nothing that the user couldn't
install themselves.
2020-04-23 23:28:50 -04:00
Henrik Lissner
0837c56430
Fix loading new themes from face-remapped buffers
E.g. If mixed-pitch-mode is enabled and you change themes, then open a
new frame, the theme is messed up.

Also refactor load-theme advice into one.
2020-04-23 03:33:08 -04:00
Henrik Lissner
0c3e11766c
Fix #2949: swap TLS 1.3 & 1.2 in gnutls-algorithm-priority 2020-04-21 17:08:34 -04:00
Henrik Lissner
a36afa5136
Remove redundant dtrt-indent mapping
It was upstreamed in jscheid/dtrt-indent#51
2020-04-19 20:34:47 -04:00
Henrik Lissner
c963038308
Use straight master branch by default
raxod502/straight.el@d28fd41930 causes breakage; preventing users from
installing Doom. It's about time we stop living dangerously and use
straight's master branch instead.

Addresses #2937
2020-04-19 14:47:05 -04:00
Henrik Lissner
6e4ec07ad5
Fix void-variable global-whitespace-mode
In case whitespace-mode hasn't been loaded yet.
2020-04-17 21:50:05 -04:00
Henrik Lissner
8ba2c8e4ad
Merge pull request #2915 from Keating950/develop
Respect global whitespace mode config if set
2020-04-17 21:49:07 -04:00
Keating950
54041ad827 simplifying boolean expression 2020-04-17 21:33:45 -04:00
Keating950
1a07ee8269 simplified expression; fixed typo 2020-04-17 19:59:54 -04:00
Henrik Lissner
d3c2e4829b
Disable byte-compile-dynamic for autoloads files
Its deprecated and more trouble than its worth.
2020-04-17 15:47:05 -04:00
Steven vanZyl
5c340a670c doom/upgrade use -y CLI flag
When using the internal doom/upgrade command to upgrade using the CLI
tool, do so with the -y flag.

This is admittedly a temporary solution, but without it the CLI tool
will prompt for confirmation, which cannot easily or obviously be given
while inside Emacs.
A better solution would be to somehow integrate the prompt so that it
appears in the minibuffer as normal Emacs prompts do. But for now this
at least fixes doom/upgrade.
2020-04-17 13:16:53 -04:00
Henrik Lissner
778652bfd6
Fix void-function doom-try-hook
This snuck into a recent commit, but the function hasn't been renamed
yet.
2020-04-17 03:20:38 -04:00
Henrik Lissner
dbada02e14
Bump :core
bbatsov/projectile@56e18fc -> bbatsov/projectile@eec569d
domtronn/all-the-icons.el@f6cbb51 -> domtronn/all-the-icons.el@0b74fc3
jscheid/dtrt-indent@1569b71 -> jscheid/dtrt-indent@9163cd9

Fixes #2860
2020-04-16 20:13:43 -04:00
Keating950
8535318cf4 Update docstring 2020-04-16 19:05:23 -04:00
Keating950
3be5692c77 Respect global whitespace mode config, if set 2020-04-16 19:00:23 -04:00
Henrik Lissner
f532019b1f
Restore file-name-handler-alist non-destructively
And in reverse order, so new rules correctly shadow old ones.
2020-04-16 18:17:36 -04:00
Henrik Lissner
07350731ad
Update comment re:soft line wrapping 2020-04-15 18:22:59 -04:00
Henrik Lissner
9e5dd51ca4
doom env: ignore SSH_TTY 2020-04-15 14:20:00 -04:00
Henrik Lissner
7a4ad7d343
Disable blink-cursor-mode again #2903
New issues with blinking cursors surfaced (see comments), so I am
reverting the second half of be412c8630.
2020-04-15 14:20:00 -04:00
Henrik Lissner
46b99567de
Make soft-wrapping the default in text modes 2020-04-15 13:12:10 -04:00
Henrik Lissner
e4110e01b9
confirm-nonexistent-file-or-buffer = nil 2020-04-15 00:17:16 -04:00
Henrik Lissner
c095e7279a
Update 'doom env' docs #2835 2020-04-15 00:14:08 -04:00
Henrik Lissner
ce333dd178
visible-cursor = nil
Half reverts be412c8630, now that I better understand what it was
for (and have, through some tinkering, managed to reproduce its effect).
2020-04-15 00:13:35 -04:00
Henrik Lissner
b78c862e98
Refactor compile macro in doom/reload-* commands 2020-04-14 19:49:20 -04:00
Henrik Lissner
1cb753cbb1
lang/haskell: remove intero support
The package was deprecated and abandoned upstream since November 2019.

Closes #2121
2020-04-14 19:27:33 -04:00
Henrik Lissner
93ff95c06e
Refactor sudo commands 2020-04-14 19:13:56 -04:00
Henrik Lissner
61b3cd8818
Fix doom/sudo-save-buffer not writing changes 2020-04-14 19:12:52 -04:00
Henrik Lissner
8f3045b147
Load incrementally deferred packages on doom/reload 2020-04-14 01:47:20 -04:00
Henrik Lissner
be412c8630
Restore blinking cursor default
Sure it's distracting, but it's also a good indicator that Emacs hasn't
frozen. Not that Emacs has every frozen on me, but my computer has,
so...

Plus, visible-cursor doesn't do anything on any of the systems,
terminals and shells I've tested, so I'll just leave it to its default.
2020-04-13 22:37:43 -04:00
Henrik Lissner
3e340ab415
Add :emacs undo module
Moves undo-fu/undo-tree out of core and allows uses to choose one or the
other.

Relevant to #2339
2020-04-13 18:45:40 -04:00
Henrik Lissner
ffb37f8fed
Fix #2894: disable tty init deferral in daemon 2020-04-13 02:07:05 -04:00
Henrik Lissner
99c5bac359
Correct projectile comment 2020-04-11 14:51:15 -04:00
Henrik Lissner
4cc631aaa7
Fix #2816: disable TLS 1.3 on windows
Windows is a lost cause.
2020-04-10 23:41:27 -04:00
Henrik Lissner
15ab86848e
Fix load-order issue for undo-fu-session
Which made it much more difficult to customize undo-fu-session with
merely an `after!` block. See jwiegley/use-package#829 for why this
happens.
2020-04-09 18:19:11 -04:00
Henrik Lissner
b950e31ee8
Bump :core
bbatsov/projectile@588692a -> bbatsov/projectile@56e18fc
ideasman42/emacs-undo-fu-session@35d4cf3 -> ideasman42/emacs-undo-fu-session@b808ef0
ideasman42/emacs-undo-fu@8c461a0 -> ideasman42/emacs-undo-fu@0c34b67
koral/gcmh@9e241e0 -> koral/gcmh@b1bde50
spudlyo/clipetty@fda5a80 -> spudlyo/clipetty@7ee3f9c
2020-04-09 15:37:34 -04:00
Henrik Lissner
aa2096e00c
Add typescript-mode support to dtrt-indent #2860
Until jscheid/dtrt-indent#51 is merged.
2020-04-09 15:35:41 -04:00
Henrik Lissner
09652762a2
Remove undo-tree command remaps 2020-04-09 14:46:42 -04:00
Henrik Lissner
a732875ce6
More aggressively deprecate def-package!
It'll be gone soon!
2020-04-08 23:51:40 -04:00
Henrik Lissner
f8c808d785
Remove xclip 2020-04-08 22:06:38 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
Henrik Lissner
63a71ec90f
Discourage unpinning all packages 2020-04-08 15:30:04 -04:00
Henrik Lissner
011bbff7af
Clarify how projectile resolves project roots 2020-04-07 22:32:52 -04:00
Henrik Lissner
8ab0cd66a7
Replace undo-tree with undo-fu + undo-fu-session
Despite the recent patches to fix undo history corruption, its history
would still get unpredictably truncated due to non-linear memory
expansion.

Relevant to #2339
2020-04-07 20:15:53 -04:00
Henrik Lissner
6bc0fcf714
Remove 'generated from X shell' from envvar file #2835
`doom env` no longer uses a sub-shell to scrape the environment.
2020-04-07 19:56:56 -04:00
Henrik Lissner
3264e73a66
Merge pull request #2734 from Shooooooooo/develop
Add clipetty for TTY users.
2020-04-07 17:58:25 -04:00
James Ravn
68eb41faa3
Change projectile dirconfig file to .project (#2829)
* Change projectile dirconfig file to .project

So it matches the doom project marker `.project`. Otherwise you need to
create both a `.project` and then a `.projectile` with the project
configuration.

To maintain backwards compatibility, it will prefer a `.projectile` file for
dirconfig if found.
2020-04-07 17:31:44 -04:00
Henrik Lissner
c17bf49ea3
Bump to hlissner/ws-butler@2bb49d3
From hlissner/ws-butler@e4430d3

Fixes #2470
2020-04-03 01:09:08 -04:00
Henrik Lissner
d1c2e7b234
Slightly faster incremental loading 2020-03-31 01:01:13 -04:00
Henrik Lissner
58f52de912
inhibit-compacting-font-caches = t 2020-03-31 01:01:13 -04:00