Commit Graph

15893 Commits

Author SHA1 Message Date
mjkalyan
2d53f12f1c
getting_started.org: Gentoo xft and gui flags
As suggested by @TheGreatMcPain here: https://github.com/hlissner/doom-emacs/pull/5165#issuecomment-863747913
2021-06-24 05:41:38 -06:00
mjkalyan
cdf7846e3c
getting_started.org: Gentoo Linux install guide 2021-06-09 21:00:56 -06:00
Henrik Lissner
2731685095
Merge pull request #5152 from cnr/org-tree-slide-hide-blocks
Use org-tree-slide-play-hook to hide blocks
2021-06-07 21:16:29 -04:00
Henrik Lissner
c70478e512
Merge pull request #5153 from daanturo/web-for-ejs
:lang web: Recognize .ejs files as web-mode
2021-06-07 21:16:04 -04:00
Henrik Lissner
9bbc0699ae app/calendar: remove non-existent autoload
my-open-calendar is in the README, but isn't actually defined.
2021-06-07 21:06:17 -04:00
Henrik Lissner
335b6f9abb Bump :ui doom
hlissner/emacs-doom-themes@13d2377 -> hlissner/emacs-doom-themes@b2c0ea0
hlissner/emacs-solaire-mode@186f97d -> hlissner/emacs-solaire-mode@2298fd8
2021-06-07 21:05:25 -04:00
Henrik Lissner
cb574f5d42 cli: show Emacs version at the start of output 2021-06-07 21:04:46 -04:00
Henrik Lissner
c34ed0d194 Fix #5146: errors when adjusting font size live 2021-06-07 21:03:37 -04:00
Daanturo
3ebda88aec :lang web: Recognize .ejs files as web-mode 2021-06-08 02:59:30 +07:00
Connor James
87abb63dd2 Use org-tree-slide-play-hook to hide blocks 2021-06-07 09:56:37 -07:00
Henrik Lissner
b2376a847f Fix "Unrecognized switch -E" from doom/reload
The -E switch snuck in in c92f48675, but hasn't been introduced yet.
2021-06-06 20:36:55 -04:00
Henrik Lissner
751569f545 Fix +tabs:previous-or-goto typo 2021-06-06 17:49:26 -04:00
Henrik Lissner
50e71ce765 Revert 54067455e: fix ligatures
To fix ligatures, at least until I get around to merging #5082
2021-06-06 17:36:23 -04:00
Henrik Lissner
c92f486750 Don't reload envvar file on doom/reload
Might address 'Device 1 not a termcap terminal device' errors
2021-06-06 11:52:49 -04:00
Henrik Lissner
47bce8856d Fix gr in compilation buffers (for evil users) 2021-06-06 01:19:49 -04:00
Henrik Lissner
ea80826fd2 gt/gT = add goto Nth tab behavior
As it does in vim.
2021-06-05 14:24:17 -04:00
Henrik Lissner
a2871e68ed Warn about :size in doom-unicode-font docstring 2021-06-05 13:12:00 -04:00
Henrik Lissner
60b595321e Lazy-load yasnippet harder for faster first-file load time
+ Rather than waiting for the first "interactive" major mode to be
  visited to activate yas-minor-mode, we wait until the first time the
  user invokes a snippet command to activate yas-global-mode.
+ yas-reload-all is one of the bottlenecks when loading a file for the
  first time. Deferring it further should help with this.
+ yas-global-mode reaches more major modes than our former list of
  hooks (fixes #5140).

Closes #5140
2021-06-05 13:12:00 -04:00
Henrik Lissner
5038ba9826
Merge pull request #5142 from sei40kr/java-file-templates
lang/java: Add file templates
2021-06-05 12:33:08 -04:00
Seong Yong-ju
63cc08be98 lang/java: Add file templates
- `__annotation-type`
- `__enum`
- `__interface`
- `__record`
- `__` → `__class` (rename)
2021-06-05 23:21:53 +09:00
Henrik Lissner
9fb96f9eeb Fix 'setting-constant enable-multibyte-characters' error
Regression caused by 78dde6efd.

Mentioned in #5133
2021-06-04 22:45:36 -04:00
Henrik Lissner
78dde6efdd Fix #5133: don't kill LSP after reformatting
This happened because LSP hooks on kill-buffer-hook (and possibly
others) caused our temporary formatting buffer to talk to LSP as if it
were the original buffer. When the temp buffer was cleaned up, LSP
assumed the original buffer had been closed. No more!

In fact, to avoid similar issues, let's avoid any complex functionality
in hooks in this temp buffer.
2021-06-04 22:22:57 -04:00
Henrik Lissner
2d76bdceb8 Bump straight
raxod502/straight.el@0d9813a -> raxod502/straight.el@915707f

Includes hotfix for raxod502/straight.el#782
2021-06-04 18:39:56 -04:00
Henrik Lissner
68b422c786 editor/format: redesign
This isn't the apheleia rewrite, just a redesign to fix the module's
current issues with its +onsave feature.

+ Rethinks how the formatter dispatches to lsp/eglot's formatter.
+ Stops format-all from being too imposing with its warnings.
+ Relies more on format-all-mode to control formatting-on-save.
+ Sidestep +format-buffer-a hackery when using lsp/eglot formatters.

Fixes #5121
Fixes #5128
Fixes #5133
2021-06-04 16:15:29 -04:00
Henrik Lissner
99fbdb1092 lang/sh: make shfmt indent-style aware
Fixes #2905
2021-06-04 16:15:17 -04:00
Henrik Lissner
883a109a7a Fix "Couldn't find project root" error on +ivy/compile 2021-06-04 14:50:45 -04:00
Henrik Lissner
14326d6704
Merge pull request #5110 from fosskers/colin/irc-libera
app/irc: Libera.Chat
2021-06-04 14:21:34 -04:00
Henrik Lissner
db020f67c6
Merge pull request #5111 from destroyer449/flycheck_documentation
Added Flycheck documentation
2021-06-04 14:21:15 -04:00
Henrik Lissner
8cfe38ebb6
Merge pull request #5115 from jmorag/gitignore-haskell
Add haskell gitignore template
2021-06-04 14:20:45 -04:00
Henrik Lissner
8f5d729df9
Merge pull request #5122 from RBckmnn/sharper_keybinds
Add evil-keybindings for various sharper commands
2021-06-04 14:19:57 -04:00
Henrik Lissner
f51968037a
Merge pull request #5127 from brorbw/develop
Fix typo doom update and replace with doom sync -u
2021-06-04 14:18:56 -04:00
Henrik Lissner
2fa1fb136d
Merge pull request #5132 from iyefrat/sync-u
cli/packages fixes
2021-06-04 14:18:29 -04:00
Henrik Lissner
027dec3b5f editor/format: use unabbreviated commit
Fix #5136
2021-06-04 14:08:42 -04:00
Henrik Lissner
26aeb72e63 org-clock-out-remove-zero-time-clocks = t
Reverts 334c309; the original issue was reportedly fixed upstream at
some point.
2021-06-04 14:08:42 -04:00
Itai Y. Efrat
f9a1d80936 cli/packages: fix update output on unpinned packages
- don't print output of git command
- count commits and output log
2021-06-04 15:23:25 +03:00
Itai Y. Efrat
46c89d350e cli/packages: fix commit between pins counting
the commit counting introduced in a3df5bf prints `nil` instead of the
empty string when the repo moves from commit A to commit B where A isn't
reachable from B
2021-06-04 15:23:15 +03:00
Henrik Lissner
f408016c6f Rewrite how Doom scales font-size
The previous approach only resized `doom-font`. Now it resizes
`doom-variable-pitch-font` and `doom-serif-font` too, so variable-pitch,
mixed-pitch, and fixed-serif users can enjoy dynamic font scaling.
2021-06-04 02:16:31 -04:00
Henrik Lissner
ffeca3c7fd Bump :core
domtronn/all-the-icons.el@d3f9949 -> domtronn/all-the-icons.el@facbde4
raxod502/straight.el@7ca94a7 -> raxod502/straight.el@0d9813a

Fixes 'fatal: dumb http transport does not support shallow capabilities'
error when cloning certain packages from certain git servers (like nov
and paredit).
2021-06-04 01:44:41 -04:00
Henrik Lissner
19203a91a3 Unset :weight, :slant, :width on font faces
Setting a face's `:font` attribute implicitly sets a host of other faces
attributes (:family, :foundry, :width, :weight, :height, and :slant),
which is problematic in places where these faces are used in tandem with
other faces, like how EWW renders bold elements with both
variable-pitch+bold faces, with the expectation that their attributes
would cascade properly, but not so if variable-pitch sets :weight or
:slant.
2021-06-04 01:35:59 -04:00
Henrik Lissner
9da4ac05ad Fix #4894: +lookup/references not following references 2021-06-04 01:30:34 -04:00
Bror Bisgaard Winther
3759de8b00
Remove doom update and replace with doom sync -u 2021-06-03 16:17:17 +02:00
Henrik Lissner
72c3a79132 Ensure *-local-vars-hook runs on hack-local-variables-hook
Not sure why I removed this in cd88f65, but it ruins the original
purpose of these hooks -- to run after local variables have been set.
2021-06-02 23:12:38 -04:00
Henrik Lissner
617ab847c6 Revert ed5c7a21d
Because straight don't read a package's original recipe when installed
through emacsmirror.
2021-06-02 19:37:09 -04:00
Henrik Lissner
ed5c7a21d7 Prioritize emacs-mirror over melpa/elpa/etc
We can't be certain where MELPA/ELPA packages come from, but
occasionally, their hosted on unstable servers (savannah) or git servers
with certain features disabled (as is the case for paredit's not
allowing shallow clones).

Trust in emacsmirror, and we can be more certain the package is coming
from github.

This may trigger a rebuild of your packages!
2021-06-02 18:31:55 -04:00
Henrik Lissner
4dceae1826 lang/org: hl dead links in warning + org-link faces 2021-06-01 21:24:32 -04:00
Henrik Lissner
1a5f4afd0d Reduce minimum required git to 2.23
Thanks to raxod502/straight.el@7ca94a7, which was included in 3329448bd.
This in particular reduces the burden for Ubuntu users.

Relevant to #5088, #5096
2021-06-01 16:08:17 -04:00
Henrik Lissner
3329448bd5 Bump :core
Fuco1/smartparens@25f4d6d -> Fuco1/smartparens@911cc89
bbatsov/projectile@35c6f98 -> bbatsov/projectile@5e6fdab
domtronn/all-the-icons.el@d711dc1 -> domtronn/all-the-icons.el@d3f9949
emacs-straight/project@ef2d487 -> emacs-straight/project@4072f35
justbur/emacs-which-key@5fb3030 -> justbur/emacs-which-key@fc29864
raxod502/straight.el@e46292d -> raxod502/straight.el@7ca94a7
2021-06-01 16:07:46 -04:00
Ralf Beckmann
70967a1702 Add evil-keybindings for various sharper commands 2021-06-01 17:40:40 +02:00
Henrik Lissner
805810b95f lang/org: tab = cycle folds if in emacs state
Tab should only be changed for evil users in insert mode, since they
have fold cycling functionality available in normal mode and vanilla
users do not.
2021-05-31 14:22:54 -04:00
Henrik Lissner
9ff0bf8851 Add "how-to/config questions" warning to feature-request form
(And enboldens them in both forms)

I didn't think anyone would use this form to ask for how-to/config help,
but the internet proved me wrong.

Oh god. Does the bump request form need one too?
2021-05-31 11:19:21 -04:00