Commit graph

3488 commits

Author SHA1 Message Date
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
1b132d2e50 lang/org: add ob-elixir 2021-04-29 18:18:17 -04:00
Henrik Lissner
3a4024e790
Merge pull request #4943 from mangkoran/develop
Bump :lang markdown
2021-04-29 13:48:27 -04:00
Henrik Lissner
e8319e4f61
Merge pull request #4912 from 5t111111/bump-lsp-sourcekit
Bump :lang swift
2021-04-29 13:46:00 -04:00
Henrik Lissner
ccf6f0b53d Log unsafe eval forms in file/dir local variables 2021-04-29 13:25:48 -04:00
Henrik Lissner
9d643b14ed Revise comments 2021-04-29 13:25:48 -04:00
Afiq Nazrie
90c41564c4 Bump :lang markdown
051734091a -> ac9ea26b94
98d566db76 -> 28552059c4
2021-04-29 00:07:22 +08:00
Hynggyu Jang
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
John Hammond
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
Jan Felix Langenbach
acb0399424 Reimplement +emacs-lisp--module-at-point 2021-04-26 00:39:55 +02: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
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
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
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
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
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
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
65bc279e59 Fix void-function geiser-impl--add-to-alist errors
Fixes #4869, #4863
2021-04-15 18:59:05 -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
b158215587 lang/java: fail meghanada-mode gracefully if java is absent 2021-04-15 14:19:18 -04:00
Henrik Lissner
c0c42ad0b0 Fix void-variable geiser-implementations-alist at startup
Relevant to #4863
2021-04-15 00:39:21 -04:00
Henrik Lissner
40ef70d3ca
Merge pull request #4855 from daanturo/python-repl-docsets
Extend Python's docsets to Python REPL
2021-04-15 00:27:16 -04:00
Henrik Lissner
09fc756f0d
Merge pull request #4827 from bnjmnt4n/module/lang/zig
Add `:lang zig` module
2021-04-15 00:26:31 -04:00
Henrik Lissner
dab0ec25c1 Bump :lang latex
emacs-straight/auctex@0f3639a -> emacs-straight/auctex@1472d1d

Hopefully fixes "'replace-highlight' is not advised" errors.
2021-04-14 23:56:04 -04:00
Henrik Lissner
ee1885eb9b Bump :lang ocaml
diml/utop@a5ff52b -> diml/utop@711c246
ocaml-ppx/ocamlformat@448ac7c -> ocaml-ppx/ocamlformat@0ad8d0a
ocaml/dune@a88ce5b -> ocaml/dune@65e04ba
ocaml/merlin@cc17ed6 -> ocaml/merlin@635923d

Fixes #4864 -- merlin-company was moved to its own package.
2021-04-14 23:44:01 -04:00
Henrik Lissner
71d4748bcf Fix #4586: evilifiy org-brain
THese should be upstreamed to evil-collection in some form or another.
2021-04-14 23:43:45 -04:00
Henrik Lissner
0683861f3f Make doom-first-*-hooks trigger less aggressively
This fixes a class of issues where doom-first-file-hook would fire even
for files not opened interactively (e.g. via org-agenda reading agenda
files or helpful scraping definitions from source files).

In instances like these, hooks like find-file-hook or pre-command-hook
are set to nil to speed up this process and reduce noise, but many
packages add to these hooks when they are loaded; these are lost when
their lexical values fall out of scope, leading to odd errors (like the
one in #4759).

Fixes #4759 (again)
First brought up in hlissner/doom-emacs@9f08db8
2021-04-14 23:43:45 -04:00
Henrik Lissner
32cf114dc7 lang/scheme: fix support for scheme implementations
Adds the following flags:

  +chez
  +chibi
  +chicken
  +gambit
  +gauche
  +guile
  +kawa
  +mit
  +racket

Fixes #4863
2021-04-14 23:43:45 -04:00
Henrik Lissner
8a083d1370 Add :lang beancount module 2021-04-14 23:31:13 -04:00
Benjamin Tan
41c0b0b5c1
Bump :lang zig
ziglang/zig-mode@6f10653 -> ziglang/zig-mode@2d0eb23
2021-04-15 11:23:16 +08:00
Henrik Lissner
2cecf3bf84
Minor refactors 2021-04-14 13:30:13 -04:00
Henrik Lissner
82dfa22e77
Merge pull request #4851 from daanturo/pyenv-fails-friendly
Active pyenv-mode only when pyenv exe is found
2021-04-14 12:46:43 -04:00
Henrik Lissner
2af1dbb676
Merge pull request #4853 from daanturo/2021-03-30
Change poetry-tracking-strategy for performance
2021-04-14 12:46:33 -04:00
Rudi Grinberg
39ffc27ac8 Improve factor configuration
* Add bindings to fuel-help-mode
* Add more bindings to factor mode
* Add more bindings to fuel-listener mode

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-04-13 16:36:04 -07:00
Grazfather
0141ad55f1
go: README: Specify req of (format +onsave) for gofmt (#4812)
* go: README: Specify req of (format +onsave) for gofmt

* Update README.org

* Correct module flag reference

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-04-13 19:28:30 -04:00
Jason Axelson
027b303e33
Update Elixir Installation instructions (#4835)
* Update Elixir Installation instructions

Link to official installation guide
Mark asdf as recommended for easier switching of versions

* Remove recommended tag on asdf

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-04-13 19:20:46 -04:00
Henrik Lissner
876bdb523c
Merge pull request #4842 from rgrinberg/fix-ocamlformat
ocamlforamt hook: buffers without a file name
2021-04-13 19:15:59 -04:00
Henrik Lissner
60207a8028 Bump :lang scheme
jaor/geiser@8e61c27 -> emacs-geiser/geiser@aa26163

The upstream repo was moved. MELPA has since been updated so an explicit
:recipe isn't strictly necessary, but I'll use it for the time being
just to be sure (in case of outdated local melpa recipe repos).
2021-04-13 18:54:48 -04:00
Rudi Grinberg
47d9f52b6f ocamlforamt hook: buffers without a file name
The behavior before this PR would cause an error if a buffer not backed
by a file was opened. This can be trivially reproduced by opening a
merge/rebase conflict using ediff inside an .ml file.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-04-12 20:18:49 -07:00