Commit graph

16208 commits

Author SHA1 Message Date
Hynggyu Jang
1e1838d29b fix #4901: suppress strange behavior of org agenda commands
With current hacks involving `org-agenda-files`, one cannot use org agenda
commands like clock in or change the entry's state to done, etc.

Specifically, the mangled behavior observed at #4901. This commit fixes those
problems around `org-agenda` buffer specific commands.

For more details, please refer to https://github.com/hlissner/doom-emacs/issues/4759#issuecomment-822100632.
2021-04-24 10:53:29 +09:00
Hirofumi Wakasugi
65e9876c33
Bump :lang swift
swift-emacs/swift-mode@95ff004 -> swift-emacs/swift-mode@ad12a30
emacs-lsp/lsp-sourcekit@ff204ed -> emacs-lsp/lsp-sourcekit@aafa987

Adds support for sourcekit-lsp bundled with Xcode
2021-04-24 10:08:46 +09:00
Kalle Lindqvist
8e33ecf29a config/default: Fix C-return binding in GUI Emacs
The "C-RET" binding does only seem to work when running Emacs in a
terminal. "C-<return>" makes it work in the GUI.
2021-04-22 19:37:42 +02:00
Henrik Lissner
f621ff8047 lang/org: fix org-ditaa jar paths
Now also includes contrib/scripts in org-mode's build directory.
2021-04-21 21:45:04 -04:00
Henrik Lissner
bddb2b2a2d Refactor early-init.el 2021-04-21 21:45:04 -04:00
Henrik Lissner
bb67d3f346 readme: relink faq to discourse & polish badges 2021-04-21 21:45:04 -04:00
Henrik Lissner
cb4782b190 Bump :lang scheme
emacs-geiser/chez@4cb7f26 -> emacs-geiser/chez@03da1c1
emacs-geiser/chibi@54e7f38 -> emacs-geiser/chibi@6f59291
emacs-geiser/chicken@47be5b4 -> emacs-geiser/chicken@ceab39c
emacs-geiser/gambit@0ee4156 -> emacs-geiser/gambit@3294c94
emacs-geiser/geiser@c5a9aae -> emacs-geiser/geiser@2b45bd3
emacs-geiser/guile@93ef710 -> emacs-geiser/guile@700ac98
emacs-geiser/racket@a87fd44 -> emacs-geiser/racket@22e56ce

Also includes minor refactors.
2021-04-21 21:45:04 -04:00
Henrik Lissner
1d155d0c2f lang/org: reveal ancestors of point after saveplace
When opening an org file and the point is placed in a folded region (by
saveplace), it reveals the current subtree. Instead, it will reveal the
current subtree *and* its ancestors (and their siblings), which is more
intuitive.
2021-04-21 21:45:04 -04:00
Henrik Lissner
3e425ab2f2 tools/magit: reveal point if in invisible region
When visiting a file from magit.

Fix #4895
2021-04-21 21:45:04 -04:00
Henrik Lissner
86fd6c6214 Raise gcmh-high-cons-threshold to default (~1gb)
This could potentially cause stuttering for long lived sessions where
the user takes few breaks, but could yield great performance benefits in
the shorter term. We'll have to experiment.
2021-04-21 21:45:04 -04:00
Henrik Lissner
a25582f9a8 Raise global default of read-process-output-max
I was conservative before. I didn't want to change this globally in case
it had a negative performance impact on shy servers that don't talk
much, but this turned out to be too paranoid. Untalkative servers are
barely, if at all, affected, and chatty ones perform better across the
board.
2021-04-21 21:45:04 -04:00
Dave Lucia
211ef8c93c
Syntax highlight .sface files as html
[Phoenix.LiveView](https://hexdocs.pm/phoenix_live_view) has a project called [Surface](https://surface-ui.org/) that adds a `.sface` extension to files. These should be syntax highlighted as html.

First PR!
2021-04-21 15:53:34 -04:00
Henrik Lissner
a9072e9673
Merge pull request #4904 from slebedev/brew_cask_installations_fix
Use correct `brew install --cask` command
2021-04-21 15:24:13 -04:00
Sergey Lebedev
83bfe76b20 Use correct brew install --cask command
I've noticed that some docs are a bit outdated, as homebrew doesn't have
`brew cask` command now, all features regarding to casks were moved to
the option `--cask` instead.

This commit just introduce such changes to be up-to-date with homebrew instructions.
2021-04-21 22:21:02 +03:00
Hugo Nobrega
4f50d9a750 Doom style: add blank lines, align keys, change macro expansion keys 2021-04-19 21:08:02 -03:00
Henrik Lissner
cf98c0d8bb
Merge pull request #4891 from rgrinberg/fix-treemacs-lsp-doctor
Fix treemacs + lsp doctor check
2021-04-19 17:22:44 -04:00
Rudi Grinberg
0aaebe2ca1 Fix treemacs + lsp doctor check
The previous check was incorrect when eglot and treemacs without lsp was
on.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-04-18 21:17:52 -07:00
Henrik Lissner
473417a890 docs/faq: fix discourse notice 2021-04-18 22:25:45 -04:00
Henrik Lissner
065d06edbb Bump :editor evil
emacs-evil/evil@d998a81 -> emacs-evil/evil@1b3db63
cute-jumper/evil-embrace.el@4379ade -> cute-jumper/evil-embrace.el@464e8ec

cute-jumper/evil-embrace.el#7 was merged, so our hack is no longer
needed.
2021-04-18 22:25:45 -04:00
Hugo Nobrega
c2b40148b8 fix and add keybinds in :lang scheme, with descriptions
Some keys were bound to no-longer-existing commands, or commands which changed
name.

Others only made sense in the REPL, or /also/ in the REPL, so the keybinds are
now in `scheme-mode-map', `geiser-repl-mode-map', or both accordingly.
2021-04-18 22:01:17 -03:00
Henrik Lissner
f3748b2977 Fix #4559: wrong-type-arg error on RET in some comments
Some modes will set comment-line-break-function to an anonymous function
or advice (as octave-mode does), which will cause this fboundp check to
throw a type error when you press RET while on a commented line.
2021-04-18 13:07:18 -04:00
Henrik Lissner
a0de71dee8 Fix #4886: fix +ivy-buffer-preview for SPC b B 2021-04-18 12:43:00 -04:00
Henrik Lissner
1ebfa35b71 editor/evil: fix csw, csW, css, & csp text objects
Until cute-jumper/evil-embrace.el#7 is merged.
2021-04-18 01:21:41 -04:00
Henrik Lissner
363f27b58a
Merge pull request #4870 from gagbo/fix-4848/info-mode-bepo-ts
fix(input layout bepo): unmap t/s in Info-mode-map
2021-04-17 23:28:00 -04:00
Henrik Lissner
d7de9118e8 Fix #4882: ffap lookup handler triggers twice
Also, fall back to counsel-file-jump before ffap.
2021-04-17 23:26:27 -04:00
Henrik Lissner
6e49cb5ce2 Reduce false positive symlinks in doom/info {emacs,doom}dir 2021-04-17 23:26:27 -04:00
Henrik Lissner
233fd93b65 Add custom-file trait & custom-vars list to doom/info
So I can tell if users may have a custom.el where something may be
inadvertently saved.
2021-04-17 23:26:27 -04:00
Henrik Lissner
811a71e43f
Merge pull request #4878 from ivanbrennan/fix-obsolete-module-warning
Fix doom-module-mplist-map obsolete module warning
2021-04-17 15:46:29 -04:00
ivanbrennan
2e15f6ad1b
Fix doom-module-mplist-map obsolete module warning 2021-04-17 10:03:51 -04:00
Gerry Agbobada
165541cdae
fix(input layout bepo): unmap t/s in Info-mode-map
Fixes #4848
2021-04-17 09:59:09 +02:00
Henrik Lissner
8427af3247
Merge pull request #4875 from dsdshcym/fix-lookup-documentation-handler
Indicate that lsp-describe-thing-at-point is async
2021-04-17 00:35:56 -04:00
Henrik Lissner
bd36b8f59c
Merge pull request #4873 from jcf/bump-evil
Bump :editor evil
2021-04-17 00:33:54 -04:00
Henrik Lissner
c9056ddb53 Fix #4819: auto-update xterm title 2021-04-17 00:26:07 -04:00
Henrik Lissner
c339bb0929 Fix #4563: ob-c.elc failed to provide feature ob-c
Due to case shenanigans, ob-C.el's feature name is ob-C, not ob-c,
preventing folks from using 'c' (lowercase) as a language name for org
babel blocks.
2021-04-17 00:09:50 -04:00
Henrik Lissner
dec15832de Fix #4877: dired not sorting directories first
On macOS and Linux, because ls-lisp hasn't been loaded yet.
2021-04-17 00:04:45 -04:00
Yiming Chen
00de463d10 Indicate that lsp-find-implementation is async as well
- this fixes an issue that when there are multiple implementations, jump
  to one implementation that's in another file fails
2021-04-17 08:54:50 +08:00
Yiming Chen
6563e89bda Indicate that lsp-describe-thing-at-point is async
- otherwise, `+lookup-online-backend-fn` would be called as well
- lsp-describe-thing-at-point was marked as not async in
  d4eb7e31ac
- but `lsp-describe-thing-at-point` calls `lsp--make-request`
  internally (which is async I assume):
  eda51c2166/lsp-mode.el (L4677)
2021-04-17 07:58:50 +08:00
James Conroy-Finn
2acfbcb79d
Bump :editor evil
emacs-evil/evil-collection@b45ec5bemacs-evil/evil-collection@b6025cf
emacs-evil/evil@7eace67 -> emacs-evil/evil@d998a81

The register system has been rejigged in the last week, and some
packages in the Evil ecosystem are already making use of the new vars.

229ebb4ea1
https://github.com/mamapanda/evil-owl/issues/10
2021-04-16 21:53:01 +01:00
Henrik Lissner
06089340f8
Merge pull request #4872 from ymarco/latex
:lang latex improvments
2021-04-16 15:00:12 -04:00
yoavm448
68d1a45034 Key bindings for latex preview 2021-04-16 21:23:43 +03:00
yoavm448
2ee9e3759c More sane defaults for latex 2021-04-16 21:23:42 +03:00
Henrik Lissner
c370a0ba82 Bump :lang scheme
emacs-geiser/geiser@aa26163 -> emacs-geiser/geiser@c5a9aae

With emacs-geiser/geiser@c5a9aae, geiser-impl--add-to-alist is now
autoloaded. This fixes #4863 by preventing void-function errors at
startup or 'doom sync'-time.

But this presents a new problem: geiser-impl is guaranteed to be
needlessly loaded at startup, the first time geiser-impl--add-to-list is
called among, say, geiser-chez's package autoloads. To get around this I
forcibly redefine it as an inline-able function (with defsubst) and
shove this new definition into Doom's autoloads file (where it will
appear before package autoloads).

Since Doom byte-compiles its autoloads file (containing concatenated
autoloads from all doom modules and packages), geiser-impl--add-to-alist
calls (and geiser-activate-implementation calls too, which is already
inline-able) will be inlined, fixing the issue.

Fixes #4863
2021-04-16 12:42:22 -04:00
Henrik Lissner
85d4f96238
Merge pull request #4874 from daanturo/rename-groovy-repl
Fix Groovy REPL's command name
2021-04-16 12:42:01 -04:00
daanturo
a7753dd058 Rename Groovy REPL command
+java/groovy-open-repl -> +java/open-groovy-repl: the old name's format
can't be found via `+eval-open-repl`
2021-04-16 23:22:30 +07:00
Henrik Lissner
193382e2e3 Fix TAB keybind fallthrough 2021-04-15 18:59:38 -04:00
Henrik Lissner
9218473c7c Fix #4865: fix deprecation notice on define-minor-mode 2021-04-15 18:59:31 -04:00
Henrik Lissner
65bc279e59 Fix void-function geiser-impl--add-to-alist errors
Fixes #4869, #4863
2021-04-15 18:59:05 -04:00
Henrik Lissner
bd24be7236 Reticulating splines
Fixes @tecosaur's tears. Or creates more.
2021-04-15 18:58:54 -04:00
Henrik Lissner
ebc5a5ff1e lang/beancount: fix config & more electricity
+ Adds electric alignment of amounts on RET
+ Fixes all of beancount's config (which was running because the package
  is called beancount, not beancount-mode)
+ Fixes flood of "invalid face org-level-N" warnings
+ Fixes beancount-electric-currency for appending currency to unlabelled
  amounts. Also enables this to fall back to first operating_currency in
  document, in available
+ Binds TAB to beancount-outline-cycle on outline heading, otherwise
  indent-according-to-mode. No need for completion popup when company
  already provides this.
2021-04-15 14:19:18 -04:00
Henrik Lissner
437f122969 tools/pdf: suppress "file is large" prompts for pdfs 2021-04-15 14:19:18 -04:00