Commit graph

3410 commits

Author SHA1 Message Date
Henrik Lissner
a863fe89d0 Bump :lang python
pythonic-emacs/anaconda-mode@081f9d8 -> pythonic-emacs/anaconda-mode@344727c

Closes #786
2021-03-08 10:25:09 -05:00
Henrik Lissner
7e1f5da169 lang/emacs-lisp: respect lexical-binding in eval handler 2021-03-08 10:25:09 -05:00
Henrik Lissner
5069d95b42 Fix #4745: defining as dynamic an already lexical var
If a dynamic variable is first defined in the same scope where it is
lexically bound, you get this error.
2021-03-07 13:04:24 -05:00
Henrik Lissner
d807657ba7 s/prereqisites/prerequisites
Silly typo is silly.
2021-03-06 12:05:55 -05:00
Henrik Lissner
01b447a12c
Merge pull request #4743 from nbfalcon/bugfix/eldoc-variable-value-not-displayed
Emacs lisp: fix variable value display in eldoc
2021-03-06 10:36:33 -05:00
Nikita Bloshchanevich
169d0b2ed5 Emacs lisp: fix variable value display in eldoc
`fboundp' does not check if a variable is bound, but rather a function.
Use `boundp'.
2021-03-06 16:29:07 +01:00
Henrik Lissner
08de1856fa Fix #4733: aggressive saving of org capture buffers 2021-03-06 00:53:18 -05:00
Henrik Lissner
e8bd115307
Merge pull request #3853 from NoxPardalis/develop
Rust module: Modify command for executing `cargo audit`
2021-03-05 17:28:57 -05:00
Henrik Lissner
f8ed309b50 lang/julia: include submodules for lsp-julia
Mentioned in #4012
2021-03-04 13:00:47 -05:00
Henrik Lissner
2ab8800bb4 Fix #4726: void-variable org-babel-async-language-blacklist
Supposed to be ob-async-no-async-languages-alist
2021-03-03 15:26:25 -05:00
Henrik Lissner
d5019f0b57 Add docstring to +org/refile* commands 2021-03-02 23:48:54 -05:00
Rick Lupton
468f308114
Fix +org/refile-to-other-window in indirect buffer (#4721)
* Fix +org/refile-to-other-window in indirect buffer

* Extend fix to other refile commands

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-02 23:48:42 -05:00
Henrik Lissner
9a5f860cd0
Merge pull request #4720 from daanturo/sh-docsets
Set sh-mode's docsets to '("Bash").
2021-03-02 12:15:48 -05:00
Henrik Lissner
19563de316 Restore fallback warning removed by ce1105b46
Shoulds till warn when the language isn't blacklisted.
2021-03-02 12:07:45 -05:00
Henrik Lissner
ce1105b463 lang/org: suppress :async+:session warnings for blacklisted langs
If they're blacklisted, they may have their own :async implementation,
like jupyter does. The warning isn't useful or true for them.
2021-03-02 12:05:36 -05:00
daanturo
f3e527cd3d Set sh-mode's docsets to '("Bash"). 2021-03-02 18:24:31 +07:00
Thomas Sanchez
0026404b34 Use new CPU counter function in cc module
Broken since commit c5e3f4d6.
2021-03-02 10:02:12 +01:00
Thomas Moulia
ee26c02e1c
Add org-agenda-priority keybindings to org config (#4521)
* Add org-agenda-priority keybindings to org config

Summary: This diff adds evil-esque keybindings for the org-agenda-priority
functions. These functions allow the org subtree priority to be set from
the agenda view.

* Correct org priority keybinds

These keys were meant to be on <localleader> p, but were mistakenly
bound on <localleader> s p.

Also mirrors these keybinds to org-agenda-mode-map.

* Use non-agenda org-priority commands

Also make casing in which-key labels more consistent.

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-01 23:04:41 -05:00
Henrik Lissner
49c3c84d7f lang/org: disable ob-async on export or :session
Refactors advice to disable ob-async when exporting org documents or
when the :session parameter is present (ob-async does not support it).
Execution is degraded to synchronous execution and a warning logged.
2021-03-01 22:27:17 -05:00
Henrik Lissner
2ebc4be111 lang/org: reformat keybinds 2021-03-01 22:27:17 -05:00
Han
ba0f791b05
lang/julia: improve lsp support (#4012)
* lang/julia: include lsp-julia w/o language server

Use nonrecursive clone to get lsp-julia without bundled
LanguageServer.jl (plus dependencies) and include instructions in the
README on how to install the language server (bundled or otherwise).

* lang/julia: add checks for julia +lsp in doctor

Add two checks, both only for when the +lsp feature is enabled:
- Check if (:tools lsp) is selected
- Check if LanguageServer.jl is installed

* lang/julia: indicate SymbolServer.jl as dependency

It is itself a dependency of LanguageServer.jl, but it's necessary to
add it separately in order to do `using SymbolServer`.

* tools/lsp: add julia language server to list

* lang/julia: add eglot support using eglot-jl

Forcing eglot-jl to not install its own LanguageServer.jl is a bit of a
hack though.

* lang/julia: make timeout increase buffer-local

Suggestion by @benneti to use `setq-local` instead of `setq` to prevent
a timeout increase in non-Julia eglot buffers.

* Fix issues

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-01 22:25:35 -05:00
Henrik Lissner
9c67bf0044 lang/org: revert org-footnote-auto-label to default
'plain is no longer an accepted value.
2021-02-27 10:31:49 -05:00
HyunggyuJang
5d8cbb9541
evil-org-mode-map's CSright conflict with Cright
I understand that what you tried to accomplish via CSright was; however, it doesn't make any difference from Cright, and so for other navigation keys -- h,j,k,l.
I fixed this discrepancy.
2021-02-27 12:07:31 +09:00
Henrik Lissner
b3753da45a
Merge pull request #4261 from otavioschwanck/fix-rails-command
Revert Rails command change
2021-02-26 21:34:09 -05:00
Henrik Lissner
f26161410c lang/org: add TODO keywords & fontification
+ Adds LOOP and IDEA to primary todo keywords.
+ Adds OKAY, YES, and NO sequence.
+ Specially fontifies NO and KILL with special "cancelled" face to
  indicate an aborted/rejected task.
+ Specially fontifies PROJ to set it apart.
2021-02-26 21:33:00 -05:00
Henrik Lissner
ed86f99655 lang/org: open org links to remote paths in emacs 2021-02-26 21:33:00 -05:00
Henrik Lissner
7e491ce1c0 lang/lean: minor reformatting 2021-02-26 21:33:00 -05:00
Henrik Lissner
bd62f06002
Merge pull request #4436 from nbfalcon/resolve-fixme-#4415 2021-02-26 16:50:02 -05:00
Nikita Bloshchanevich
e05d804f1f Restore the old buffer when using `ivy-call'
Without `deferred', the file selected in the `counsel-find-file' will
only remain the current buffer afterwards when pressing RET on an item,
not just `ivy-call'.
2021-02-26 22:06:41 +01:00
Henrik Lissner
e1683dc763
Merge pull request #4403 from gagbo/fix/bepo-exhaustive-remaps
Fix/bepo exhaustive remaps
2021-02-25 14:21:57 -05:00
Henrik Lissner
2ce726b318 Force async babel blocks to export synchronously 2021-02-25 13:16:21 -05:00
Henrik Lissner
1490c4e5b2 lang/ruby: remove commit hashes in package links
And alphabetize package list.
2021-02-25 12:33:23 -05:00
Henrik Lissner
2e7077d3df
Merge pull request #4389 from samwdp/develop
Added new package to csharp lang module
2021-02-25 12:30:42 -05:00
Henrik Lissner
9d12761c39
Reformat for consistency and s/:bind/:general 2021-02-25 12:30:13 -05:00
Henrik Lissner
a79275a476 Bump :lang
200ok-ch/counsel-jq@f5bfed8 -> 200ok-ch/counsel-jq@153d70b
Andersbakken/rtags@63a7d9b -> Andersbakken/rtags@aa4c827
MatthewFluet/company-mlton@b87e363 -> MatthewFluet/company-mlton@9b09d20
NixOS/nix-mode@e32c6bf -> NixOS/nix-mode@0023fc5
OmniSharp/omnisharp-emacs@e26ff8b -> OmniSharp/omnisharp-emacs@8ec5929
ProofGeneral/PG@702f5b9 -> ProofGeneral/PG@bdb6782
Wilfred/elisp-def@da1f763 -> Wilfred/elisp-def@dfca043
agda/agda@5070bd8 -> agda/agda@9d08edb
ananthakumaran/exunit.el@c77b039 -> ananthakumaran/exunit.el@5bb115f
ananthakumaran/tide@a43a37b -> ananthakumaran/tide@7f7334b
asok/projectile-rails@7a256b1 -> asok/projectile-rails@8d6b373
brotzeit/rustic@f7d5ac0 -> brotzeit/rustic@61d600e
clojure-emacs/cider@1a34f89 -> clojure-emacs/cider@815204f
clojure-emacs/clj-refactor.el@9dcc50d -> clojure-emacs/clj-refactor.el@b24ce76
clojure-emacs/clojure-mode@53ef8ac -> clojure-emacs/clojure-mode@f26379b
crystal-lang-tools/emacs-crystal-mode@f9e4db1 -> crystal-lang-tools/emacs-crystal-mode@1599814
cython/cython@17e03b8 -> cython/cython@9a761a6
dgutov/robe@f04dcc7 -> dgutov/robe@3ef165c
diml/utop@7bc5117) -> diml/utop@a5ff52b)
dominikh/go-mode.el@fdf46fe -> dominikh/go-mode.el@49a5380
elixir-editors/emacs-elixir@b78e7f7 -> elixir-editors/emacs-elixir@9de08c1
emacs-csharp/csharp-mode@4916829 -> emacs-csharp/csharp-mode@09b4d57
emacs-ess/ESS@d013616 -> emacs-ess/ESS@5169b0d
emacs-lsp/lsp-dart@b81b1ec -> emacs-lsp/lsp-dart@71902ca
emacs-lsp/lsp-haskell@4d85cb3 -> emacs-lsp/lsp-haskell@7efbef3
emacs-lsp/lsp-java@f43b00a -> emacs-lsp/lsp-java@5f6d357
emacs-lsp/lsp-metals@31dafff -> emacs-lsp/lsp-metals@c76eeb6
emacs-lsp/lsp-pyright@71ff088 -> emacs-lsp/lsp-pyright@65fb141
emacs-lsp/lsp-python-ms@5470ada -> emacs-lsp/lsp-python-ms@689f6cf
emacs-lsp/lsp-sourcekit@948c3a3 -> emacs-lsp/lsp-sourcekit@ff204ed
emacs-php/php-mode@7e5722c -> emacs-php/php-mode@8cdc727
emacs-straight/auctex@fb062a3 -> emacs-straight/auctex@384c4b9
emacs-straight/csv-mode@eb3ec00 -> emacs-straight/csv-mode@8da54e8
emacs-straight/org-mode@9e98e9a -> emacs-straight/org-mode@0b117f7
emacs-typescript/typescript.el@54f14c4 -> emacs-typescript/typescript.el@1043025
emacsmirror/cmake-mode@e58c411 -> emacsmirror/cmake-mode@d5d77de
ericdallo/hover.el@3f07a18 -> ericdallo/hover.el@c9c0593
erlang/otp@8fc0641 -> erlang/otp@af06b43
eschulte/jump.el@e4f1372 -> eschulte/jump.el@55caa66
ethereum/emacs-solidity@d166a86 -> ethereum/emacs-solidity@b4fd719
factor/factor@94a922a -> factor/factor@1928e60
fsharp/emacs-fsharp-mode@13fbf4c -> fsharp/emacs-fsharp-mode@78898a1
fxbois/web-mode@890e837 -> fxbois/web-mode@8ef4793
godotengine/emacs-gdscript-mode@75fe658 -> godotengine/emacs-gdscript-mode@16c631c
greghendershott/racket-mode@3563081 -> greghendershott/racket-mode@75ea8f6
haskell/haskell-mode@0d39c84 -> haskell/haskell-mode@3a019e6
hhvm/hack-mode@9079bc3) -> hhvm/hack-mode@847fd91)
hvesalai/emacs-scala-mode@9d3b56e -> hvesalai/emacs-scala-mode@402d6df
idris-hackers/idris-mode@b77eadd -> idris-hackers/idris-mode@80aabd2
immerrr/lua-mode@d2ff304 -> immerrr/lua-mode@2d9a468
iyefrat/evil-tex@ac313ef -> iyefrat/evil-tex@5f0d6fb
jaor/geiser@cd00be6 -> jaor/geiser@26dd2f4
jcollard/elm-mode@363da4b -> jcollard/elm-mode@188b9c7
joaotavora/sly@3278819 -> joaotavora/sly@fb84318
jorgenschaefer/emacs-buttercup@2f24a44 -> jorgenschaefer/emacs-buttercup@1de6be4
jrblevin/markdown-mode@dcad557 -> jrblevin/markdown-mode@0517340
jwiegley/emacs-async@14f48de -> jwiegley/emacs-async@d7e7f79
jyp/attrap@9c88154 -> jyp/attrap@778382e
jyp/dante@e2acbf6 -> jyp/dante@7b1ab64
kaushalmodi/ox-hugo@04f41ca -> kaushalmodi/ox-hugo@a05667e
leanprover/lean-mode@cc1f5fa -> leanprover/lean-mode@15bee87
ledger/ledger-mode@805507f -> ledger/ledger-mode@3495d12
mooz/js2-mode@f7816bd -> mooz/js2-mode@29979e5
nonsequitur/inf-ruby@b012457 -> nonsequitur/inf-ruby@1fc972e
ocaml-ppx/ocamlformat@860266b -> ocaml-ppx/ocamlformat@7db8d13
ocaml/dune@4d097cd -> ocaml/dune@f839fc1
ocaml/merlin@28193d5 -> ocaml/merlin@36d0aef
pezra/rspec-mode@f1029ca -> pezra/rspec-mode@92ef785
polymode/poly-R@51ffeb6 -> polymode/poly-R@c42ff3a
polymode/polymode@3284ff1 -> polymode/polymode@b3871e9
purescript-emacs/psc-ide-emacs@663f4e2 -> purescript-emacs/psc-ide-emacs@ce97d71
purescript-emacs/purescript-mode@154ad16 -> purescript-emacs/purescript-mode@8410baf
pwalsh/pipenv.el@f516a1a -> pwalsh/pipenv.el@8f50c68
pythonic-emacs/anaconda-mode@b1875a5 -> pythonic-emacs/anaconda-mode@081f9d8
racer-rust/emacs-racer@a0bdf77 -> racer-rust/emacs-racer@f17f9d7
rubocop-hq/rubocop-emacs@03bf155 -> rubocop-hq/rubocop-emacs@1372ee3
seagle0128/grip-mode@91da46f -> seagle0128/grip-mode@1aebf9c
senny/rvm.el@b2498a4 -> senny/rvm.el@c1f2642
swift-emacs/swift-mode@0bc8d8d -> swift-emacs/swift-mode@95ff004
takaxp/org-tree-slide@04b5a9d -> takaxp/org-tree-slide@c9487e5
technomancy/fennel-mode@fa56106 -> technomancy/fennel-mode@bebc9dd
tpapp/julia-repl@d073acb -> tpapp/julia-repl@7ce38a9
wbolster/emacs-python-pytest@3fadf1f -> wbolster/emacs-python-pytest@31ae5e0
wwwjfy/emacs-fish@db257db -> wwwjfy/emacs-fish@a7c953b

Fix #4695
Close #4529
Close #4576
2021-02-25 10:46:46 -05:00
Henrik Lissner
71281bb52e
Merge pull request #4675 from samspills/scala-open-repl
+scala/open-repl don't kill non-existant sbt buffer
2021-02-24 11:00:17 -05:00
Rudi Grinberg
ae75b1e6a8
Purescript mode improvements (#4683)
* Purescript mode improvements

- Add keybindings
- Enable flycheck
- Add psci based repl

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

* address review

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

* address review

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-02-24 01:22:24 -05:00
Henrik Lissner
f7538710d8 Bump :lang org
Kungsgeten/org-brain@f7939ef -> Kungsgeten/org-brain@e9b9b3e
abo-abo/org-download@97bec74 -> abo-abo/org-download@947ca22
bastibe/org-journal@c083648 -> bastibe/org-journal@f4b1549
emacs-straight/org-mode@d21d200 -> emacs-straight/org-mode@9e98e9a7
fuxialexander/org-pdftools@bcf0084 -> fuxialexander/org-pdftools@a5b61bc
integral-dw/org-superstar-mode@7f83636 -> integral-dw/org-superstar-mode@9d64c42
jkitchin/ox-clip@f5eac28 -> jkitchin/ox-clip@38b83ac
kaushalmodi/ox-hugo@6bc8ee0 -> kaushalmodi/ox-hugo@04f41ca
nnicandro/emacs-jupyter@360cae2 -> nnicandro/emacs-jupyter@6ce8d01
oer/org-re-reveal@47339ef -> oer/org-re-reveal@18a245
org-roam/org-roam@15d864a -> org-roam/org-roam@b0fd126
takaxp/org-tree-slide@d6e8e91 -> takaxp/org-tree-slide@04b5a9d

Closes #4540
Closes #4556
2021-02-24 01:12:53 -05:00
Henrik Lissner
813f5da263 lang/sh: use (wo)man for docs lookup handler
i.e. Press K to look symbol at point up in man pages.
2021-02-23 20:32:34 -05:00
ghost-420
d2a5d2f2aa
[doc: modules/lang/cc] Readability improvements (#4637)
* Readability improvements

NOTE: Projects are assumed to be under a non-root user. If there's a use case for keeping projects under root, let me know.

* Update README.org

* Update README.org

pushd & popd aren't existent in POSIX shell.

* Update README.org

Can't git clone if directory already exists.

* Update README.org

clang-tools NOTE seems to be inaccurate. Opt for minimal dependencies required by default instead.

* Update README.org

👀

* Update README.org

*Can* run the code blocks through Emacs if desired.

* Remove babel parameters

These would be better in `#+PROPERTY: ...`s in the header or our global `.dir-locals.el`, but no standard has been designed for it yet, so omit them until one exists.

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-02-23 19:51:47 -05:00
Henrik Lissner
5c016fa28d
Merge pull request #4667 from kuba-orlik/patch-1
Remove the custom org-priority-regexp
2021-02-23 19:40:38 -05:00
Henrik Lissner
972796913e Move meghanada-mode to java-mode-local-vars-hook
Prevents org src blocks aggressively trying to activate meghanada-mode
multiple times, causing undue slowness.
2021-02-23 19:21:50 -05:00
Andrew Whatson
d06e37ff72 Add lookup handler for geiser-repl-mode 2021-02-23 08:48:56 +10:00
Gerry Agbobada
065b26e0c5
[:ui layout bepo] Fix notmuch, C-, M- mappings
WIP:
- Add fixme for evil-org remaps

Misc changes:
- Remove notmuch-search binding
  (Unmap the bare "s" keymap from notmuch)
- Remap [] evil-org bindings to ()
- Fix org-capture not finalizing with C-c
- Remap evilem-map
- Add more triggers to minibuffer rotations
- Unmap C-c and C-r from evil-org

Meta:
- Specify bepo layout in maintainer status
- Add basic troubleshooting

In the remapping functions:
- Add operator maps
- Remap C- and M- bindings in normal mode

Respect evil-org-movement-bindings:
This allow non-qwerty users to keep the correct bindings. The additional
let-binding is done to force evaluation of the concatenations and avoid
`void-variable concat` when the map! gets evaluated

Avoid double rotation on magit maps

- Reorder properly magit-mode-map like done on notmuch
  (evil-collection PR#428)
2021-02-22 10:32:03 +01:00
Sam Precious
645fde6b42 merge conflict 2021-02-21 20:36:28 +00:00
Henrik Lissner
e2784d6f4f lang/csharp: add sln-mode 2021-02-21 14:44:59 -05:00
Henrik Lissner
28fa854208 lang/emacs-lisp: fix custom-{,theme-}set-faces! demos
No need to load the theme before using its API. The rules are deferred
in any case.
2021-02-21 14:44:59 -05:00
Sam Pillsworth
394e166894 check if buffer exists and not alive before kill 2021-02-20 09:37:55 -05:00
Kuba Orlik
cb32f3f13c
Remove the custom org-priority-regexp
This regular expression broke sorting by priority in agenda view. Reverting it back to the original one fixes the issue
2021-02-17 11:11:38 +01:00
Henrik Lissner
9f0a5aad4e Optimize org-priority-regexp
Mentioned in
https://orgmode.org/list/500865d9-9c8a-25ef-e4ef-030fd4b2a3e3@posteo.eu/T/#m066ffa89b2ab6e888c05ba1efcb4daaf29cc17ccj

May be upstreamed at some point.
2021-02-13 17:01:25 -05:00