Commit graph

3289 commits

Author SHA1 Message Date
Henrik Lissner
b91a1b3e7b
Extract CPU counting to doom-num-cpus function
And improves macOS support as discussed in hlissner/doom-emacs@db6a27c
2020-11-29 14:49:14 -05:00
Henrik Lissner
3d53497cb7
Merge pull request #4335 from nbfalcon/bugfix/elisp-eldoc-invalid-format-operation
Elisp `eldoc': fix "Invalid format operation %-"
2020-11-29 13:58:50 -05:00
Nikita Bloshchanevich
345327ae8b Use max', not min'
`min' puts a lower bound on LIMIT, but we want an upper bound, so `max' must be
used.
2020-11-29 19:55:41 +01:00
Nikita Bloshchanevich
49f4461daa Elisp `eldoc': fix "Invalid format operation %-"
In `+emacs-lisp-append-value-to-eldoc-a', if the `frame-width' of the minibuffer
is smaller than the length of the documentation + " [...]" + 1, a negative
maximum %s bound is passed, causing the error in the title.

Fix this by clamping the computed LIMIT to 0.
2020-11-29 09:37:11 +01:00
Henrik Lissner
8788d69a54
Merge pull request #4139 from jsmestad/add-exunit-to-elixir
Add exunit mode for Elixir
2020-11-27 22:44:22 -05:00
Henrik Lissner
38ce4e8c7c
Merge pull request #4301 from offbyone/org-roam-tagging
Add keybindings for roam tagging
2020-11-27 22:25:25 -05:00
Henrik Lissner
cfa2a3310c
Merge pull request #4306 from andresilva/cleanup-org-readme
remove company-org-roam from lang/org/README.org
2020-11-27 22:25:13 -05:00
Henrik Lissner
7f99eb7a48
Refactor +markdown-flyspell-word-p predicate
A little faster and less duplicated logic.
2020-11-27 22:20:51 -05:00
André Silva
a44436057a
remove company-org-roam from lang/org/README.org 2020-11-23 19:14:12 +00:00
Chris Rose
18db5e2089 Add keybindings for roam tagging
"t" to tag a roam file with the `#+roam_tags` property.
"T" to untag the file
2020-11-22 10:28:24 -08:00
Henrik Lissner
c83e5e75e2
Bump :lang latex
TheBB/company-reftex@275ef70 -> TheBB/company-reftex@291c283
cdominik/cdlatex@480387b -> cdominik/cdlatex@adf96ba
emacs-straight/auctex@59e251c -> emacs-straight/auctex@fb062a3
iyefrat/evil-tex@a3b6875 -> iyefrat/evil-tex@ac313ef
2020-11-21 14:09:08 -05:00
Henrik Lissner
4dab595ad3
Minor refactors & comment revision 2020-11-20 14:10:29 -05:00
Henrik Lissner
0d6c32ff25
Fix #4288: no which-key label for TeX-view 2020-11-20 14:10:29 -05:00
Henrik Lissner
110d70bdff
Merge pull request #4274 from EoinDoherty/racket-unicode
Remove unicode input mode default from Racket REPL
2020-11-19 00:50:57 -05:00
Henrik Lissner
c0033fbc6d
Merge pull request #4282 from samwhitlock/develop
Adding doc update for cmake-language-server
2020-11-19 00:50:23 -05:00
Sam Whitlock
db2ad0828c Adding doc update for cmake-language-server 2020-11-18 06:25:36 +01:00
Henrik Lissner
315ae16240
Add lookup-documentation handler for cmake-mode
Closes #4277

Co-authored-by: Sam Whitlock <samwhitlock@users.noreply.github.com>
2020-11-17 12:46:10 -05:00
Henrik Lissner
5233042f4a
Add lsp support to cmake-mode 2020-11-17 12:46:10 -05:00
Eoin Doherty
911d0a2732 Remove racket repl unicode input hook 2020-11-14 15:59:58 -07:00
Justin Smestad
80992a0cae
Update config.el 2020-11-14 15:35:07 -07:00
Justin Smestad
3de0d4074d
Update modules/lang/elixir/config.el 2020-11-14 15:34:30 -07:00
Henrik Lissner
f40a2e1ed7
lang/org: apply +org--fix-async-export-a to org-export-as 2020-11-14 13:52:11 -05:00
Henrik Lissner
3265c25821
Bump :lang erlang
erlang/otp@36b4ba4 -> erlang/otp@8efb945
2020-11-13 13:11:34 -05:00
Henrik Lissner
62c1e5b6c9
Bump :checkers syntax
flycheck/flycheck@cd8e0a2 -> flycheck/flycheck@79c9245

Fixes #4264: flycheck-rebar3 moved into flycheck
2020-11-13 13:11:34 -05:00
Henrik Lissner
120530e353
Bump :lang lua
technomancy/fennel-mode@a395437 -> technomancy/fennel-mode@7a8824a

Fixes #4263: invalid repl handler for fennel-mode
2020-11-13 13:11:33 -05:00
Gerry Agbobada
2bf73ee34c
[:lang cc] Add LSP configuration snippets 2020-11-13 01:35:54 +01:00
Justin Smestad
9d46c212af Updates for formatting and init hook 2020-11-12 08:58:19 -07:00
Henrik Lissner
1d766bf873
Merge pull request #4255 from RBckmnn/OrgRoamDbLocation
Do not overwrite user's value of org-roam-db-location
2020-11-11 14:25:45 -05:00
Ralf Beckmann
f3a4c27aac Do not overwrite org-roam-db-location 2020-11-11 18:35:54 +01:00
Brian McGillion
6225cc5337 :lang org: (+roam) Replace deprecated functions
Update to the latest functions - after the following commit:
47e83f7d

Org-Roam-Dailies deprecated the older forms of the functions
and replaced with the new constructs.

Signed-off-by: Brian McGillion <brian@ssrc.tii.ae>
2020-11-11 20:02:30 +04:00
Henrik Lissner
5b713b6cd0
Bump :lang lua
immerrr/lua-mode@345ebfc -> immerrr/lua-mode@d2ff304

immerrr/lua-mode#184 introduces many indentation optimizations.
2020-11-10 18:36:47 -05:00
Henrik Lissner
423dbe0992
Bump :lang org
Kungsgeten/org-brain@e703ae0 -> Kungsgeten/org-brain@6e3d861
bastibe/org-journal@fce4fa7 -> bastibe/org-journal@14ce011
org-roam/org-roam@a7cf48e -> org-roam/org-roam@d913447
snosov1/toc-org@ff8d49c -> snosov1/toc-org@aef220c
2020-11-10 18:36:44 -05:00
Henrik Lissner
0c4e300c36
Merge pull request #4236 from eccentric-j/eval-org-babel-ui-elisp
Created PR to backport emacs-lisp org-babel evaluation to manage the UI
2020-11-10 18:31:20 -05:00
Henrik Lissner
911118227c
lang/org: refactor org recipe
Now that straight (and package) now support a :build property.

Relevant to #4243
2020-11-10 13:19:31 -05:00
Henrik Lissner
7d3a41567d
lang/lua: add +fennel 2020-11-09 21:24:24 -05:00
Henrik Lissner
5ccbc468ad
lang/web: fix fill-prefix on continued comments
Before:

  /*
   * pretend this is a line longer than 80 characters
   */

  Call fill-paragraph:

  /*
   * pretend this is a line longer
     than 80 characters
   */

After

  /*
   * pretend this is a line longer than 80 characters
   */

  Call fill-paragraph:

  /*
   * pretend this is a line longer
   * than 80 characters
   */
2020-11-09 17:19:14 -05:00
Henrik Lissner
5c06edd90a
lang/web: fix comments not joining/filling correctly
Before, joining these two lines

  // hello
  // world

Results in

  // hello // world

And filling the following

  // Pretend this line is longer than 80 characters

Becomes

  // Pretend this lineis longer than
  80 characters
2020-11-09 17:19:14 -05:00
Henrik Lissner
b96b6ed64e
Fix /* and /** expansion in various languages
Also adds +web-continue-block-comments option to control:

/*
 *
 */

vs

/*

*/

Has a known issue where the indentation for the closing delimiter is off
by one when +web-continue-block-comments is disabled. Will have to look
into that later.
2020-11-09 17:19:14 -05:00
Jay
454eef591a Created PR to backport emacs-lisp org-babel evaluation to manage the UI 2020-11-09 02:25:59 -05:00
Ryan Lloyd
ccda9ef6bb
Fix Issue #4212; Use Back-Slash for Win FileShares (#4218)
* Fix Issue #4212; Use Back-Slash for Win FileShares

* Replace single backslash with double

Co-authored-by: Henrik Lissner <accounts@v0.io>
2020-11-06 02:32:09 -05:00
Henrik Lissner
68b1594553
Fix #4220: void-function org-clocking-p
On first invocation of +org/toggle-last-clock, before org-clock has
loaded.
2020-11-06 02:29:37 -05:00
Henrik Lissner
304424d844
Fix #4212: slow file checks over network shares
On windows.
2020-11-04 14:40:44 -05:00
Henrik Lissner
50226c45e6
setq -> setq-default for org directory vars
So lazy loaded settings won't overwrite dir or file local variables.
2020-11-03 22:00:15 -05:00
Henrik Lissner
4fc084e7bd
Fix #4209: void-function +latex/LaTeX-indent-item
This was renamed to +latex-indent-item-fn in 98826f3
2020-11-03 15:24:56 -05:00
Henrik Lissner
91a4311a17
Fix #4202: svg files opening as text 2020-11-02 14:54:51 -05:00
Henrik Lissner
fcdd238291
Merge pull request #4146 from sei40kr/python-poetry-tracking-mode
Enable poetry-tracking-mode
2020-11-01 16:25:38 -05:00
Itai Y. Efrat
55b18b70c3 delete extra paren in :lang latex
introduced in #4183
2020-10-31 11:54:11 +02:00
Henrik Lissner
c96e901b61
Merge pull request #4122 from wangggong/php-doc
fix: add explanation for php document
2020-10-31 03:43:55 -04:00
Henrik Lissner
3354efd840
Merge pull request #4185 from carloscheddar/web-mode/add-support-for-eco-files
Associate .eco files with web-mode
2020-10-31 03:43:09 -04:00
Seong Yong-ju
17b6129d34 Minor refactor 2020-10-31 16:18:15 +09:00