Commit Graph

3672 Commits

Author SHA1 Message Date
b771425f45 [:lang rust] Expand Prerequisites
And fix some minor spelling/grammar issues.
2021-05-17 07:24:55 -07:00
bd94ef8f84 Optimize reading org-agenda buffers in the bg
Less init work when opening org-agenda buffers = faster org-agenda.
2021-05-16 21:18:26 -04:00
de589e21a2 org-tree-slide-skip-outline-level = 0
Back to default, since it appears to be what people expect.
2021-05-16 21:17:45 -04:00
eaa32572b9 lang/rust: fix void-variable flycheck-checkers error
In case flycheck hasn't loaded yet.
2021-05-16 14:27:51 -04:00
f368745406 Fix eval on modeline 2021-05-15 18:35:19 -03:00
c224e2e771 Move to global-mode-string 2021-05-15 18:30:59 -03:00
4d0ac5f46c Merge pull request #5034 from fosskers/colin/racket-typos
:lang racket: Fix README typos
2021-05-15 17:00:49 -04:00
f3b71b0495 fix regex in lsp-file-watch-ignored-directories in elixir module 2021-05-14 21:31:41 +02:00
2dbeb0d161 Fix org-tree-slide-after-narrow-hook reference 2021-05-11 23:15:28 -04:00
5fca440beb lang/beancount: add beancount-langserver support
Mentioned in #5035.
Remove when emacs-lsp/lsp-mode#2863 is resolved.
2021-05-11 17:57:21 -04:00
b0e59ccdcc Fix #5030: leave rustfmt to :editor format 2021-05-11 17:00:11 -04:00
980b3730f1 lang/beancount: fix beancount-mode+lsp support
Mentioned in #5035
2021-05-11 17:00:11 -04:00
febe4a7403 Fix #5035: assocate *.beancount with beancount-mode
Otherwise, use-package implicitly associates *.beancount with
a function called `beancount`, which does not exist.
2021-05-11 16:22:00 -04:00
a1ab5e8066 Merge pull request #4915 from HyunggyuJang/fix/org-agenda-restart
fix #4901: suppress strange behavior involving org agenda commands
2021-05-11 15:53:50 -04:00
b66a0520b4 [:lang racket] Mention Arch packages 2021-05-11 08:01:37 -07:00
116fb4fc64 [:lang racket] Fix typos 2021-05-11 08:01:26 -07:00
b98b6fdeed lang/julia: auto-detect default environment 2021-05-10 21:56:02 -04:00
6584aa866f lang/julia: lsp-enable-folding = 1
To address non-Jedi/lsp-julia#35
2021-05-10 21:21:08 -04:00
c8ae5395a1 Merge pull request #5014 from Grazfather/patch-1
:lang clojure: Add some links and details
2021-05-10 04:55:41 -04:00
8882f4a994 Merge pull request #4980 from rushsteve1/elixir-improvments
Improve Elixir module keymaps
2021-05-10 04:54:27 -04:00
a1fdc77dc1 lang/org: fail gracefully on org-roam-mode failure
Otherwise throws an error immediately when opening any org file, if
org-roam isn't properly set up from the get go.
2021-05-09 20:50:23 -04:00
efb8943568 :lang clojure: Add some links and details 2021-05-08 16:52:27 -04:00
0a2ed4d346 lang/emacs-lisp: Replace sym with var in +emacs-lisp-log-unsafe-local-variables-a
Otherwise it will make Emacs to error with (void-variable sym) error when
checking the variable.
2021-05-06 13:04:15 +03:00
b63441387b lang/emacs-lisp: don't use risky-local-variable-p
It's hardcoded to return t for symbols that end in any of '-command',
'-frame-alist', '-function', '-functions', '-hook', '-hooks', '-form',
'-forms', '-map', '-map-alist', '-mode-alist', '-program', or
'-predicate' -- which I think is excessive next to a safety check.

I'll trust that: if the user marks X as safe, and it isn't *explicitly*
marked risky, and it destroys the universe, then it's their fault, not
mine, not Emacs'.
2021-05-06 04:27:33 -04:00
464ce5ec02 Bump :lang java
emacs-lsp/lsp-java@542aaf1 -> emacs-lsp/lsp-java@9685334
mopemope/meghanada-emacs@1e41f7f -> mopemope/meghanada-emacs@6c57e8a

Fixes #4979: corrected download url in mopemope/meghanada-emacs#177
2021-05-06 04:27:33 -04:00
29059bacbe Remove :shadow keyword from package!
Is redundant with the :includes keyword in straight.el recipes.
2021-05-06 04:27:32 -04:00
1197d640f1 Defer adding to LSP ignore list
It was attempting to add to the LSP list too early and erroring,
this adds an after! call to make it wait
2021-05-05 12:33:33 -04:00
7955234308 Improve Elixir module keymaps
Added more major-mode keymappings to expose more of the functionality of
Alchemist.el to the user and generally make the Elixir mode a lot more
useful feeling.
2021-05-04 18:15:42 -04:00
e68c83fd4e Remove unneeded entry in org-babel-tangle-lang-exts
Also the source of a regression (causing void-variable
org-babel-tangle-lang-exts errors).

Fixes #4970
Closes #4971
2021-05-03 13:27:20 -04:00
a7df1f76a4 Bump :lang rust
brotzeit/rustic@d97ec86 -> brotzeit/rustic@ed68fd3

Includes minor refactors
2021-05-03 00:17:16 -04:00
275f1a33f3 Prevent okular from stealing focus
Pass the "noraise" flag to okular if it is used as a Latex viewer. If an
okular instance is already displaying the Latex compilation result,
subsequent invocations won't make okular steal focus from Emacs.
2021-05-02 21:33:20 +02:00
8bb54a95f6 Add +org-present-hide-first-heading option
Gives the user the option to hide the top-level heading when presenting,
and defaults it to nil, since that is org-tree-slide-mode's default
behavior.

Also reduces the default text-scale for org-tree-slide-mode from 6 -> 5.

Fixes #2182
Closes #4907
2021-05-01 03:02:52 -04:00
a80f13f626 Prevent extra window after +org/export-to-clipboard
org-export-to-buffer opens a preview window. This command doesn't need
that, so we inhibit it.

Closes #4911
2021-05-01 02:28:44 -04:00
0b2415e8bf Merge pull request #4890 from hugonobrega/develop
fix and add keybinds in :lang scheme, with descriptions
2021-05-01 02:02:32 -04:00
4ad1c6a494 Merge pull request #4926 from Janfel/fix-emacs-lisp-module-at-point
Reimplement +emacs-lisp--module-at-point to fix #4896
2021-05-01 01:42:38 -04:00
a974a7c89d Merge pull request #4938 from jmhammond/develop
lang/latex: Remove the -g background flag on Skim.app to foreground the viewer
2021-05-01 01:41:10 -04:00
a7e01e0574 Merge pull request #4941 from HyunggyuJang/fix/org-pretty-cookie
lang/org: cleanup `+pretty` feature, mostly just adding `if` cookie
2021-05-01 01:40:26 -04:00
1b132d2e50 lang/org: add ob-elixir 2021-04-29 18:18:17 -04:00
3a4024e790 Merge pull request #4943 from mangkoran/develop
Bump :lang markdown
2021-04-29 13:48:27 -04:00
e8319e4f61 Merge pull request #4912 from 5t111111/bump-lsp-sourcekit
Bump :lang swift
2021-04-29 13:46:00 -04:00
ccf6f0b53d Log unsafe eval forms in file/dir local variables 2021-04-29 13:25:48 -04:00
9d643b14ed Revise comments 2021-04-29 13:25:48 -04:00
90c41564c4 Bump :lang markdown
051734091a -> ac9ea26b94
98d566db76 -> 28552059c4
2021-04-29 00:07:22 +08:00
ec3132bbc4 lang/org: cleanup +pretty feature, mostly about if cookie
Add `if` cookie so that it doesn't get compiled by `doom compile`.
2021-04-28 09:56:14 +09:00
86f5dd842e Remove the -g background flag on Skim.app
The Skim.app `displayline` command takes the flag `-g` which is "Do not bring Skim to the foreground"

when viewing the pdf results of the latex build, bringing skim to the foreground saves an `Alt+Tab` to open the app that I was intending to lauch by the auctex View command.
2021-04-27 09:38:54 -05:00
acb0399424 Reimplement +emacs-lisp--module-at-point 2021-04-26 00:39:55 +02:00
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
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
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
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