Commit Graph

13891 Commits

Author SHA1 Message Date
b9b987e1ab Optimize straight build step
Constant `(require 'comp nil t)` checks are quite slow on systems where the library isn't available, so only do it once.
2020-07-28 01:34:33 -04:00
d8af5c3cad Support native compilation of packages 2020-07-28 15:25:34 +10:00
9c96feba56 Fix wrong-type-arg stringp error on +default/dired
When selecting a directory.
2020-07-27 18:09:57 -04:00
0e73297707 lang/org: fix edge case in +org--insert-item 2020-07-27 03:07:04 -04:00
046dfb6475 lang/python: refactor lsp integration 2020-07-27 01:20:49 -04:00
6ebdbafbe4 Bump :lang python
cython/cython@12ab8bc -> cython/cython@5d8527d
emacs-lsp/lsp-pyright@242d19b -> emacs-lsp/lsp-pyright@f85ad03
emacs-lsp/lsp-python-ms@7068cf0 -> emacs-lsp/lsp-python-ms@d42ffc2
pythonic-emacs/anaconda-mode@10299bd -> pythonic-emacs/anaconda-mode@6094ded
wbolster/emacs-python-pytest@09ad688 -> wbolster/emacs-python-pytest@dd05959
2020-07-27 01:19:13 -04:00
8dfe8840a6 docs/faq: add "My keybinds don't work" 2020-07-26 18:50:16 -04:00
87199113bd SPC f d -> +default/dired
+default/dired will prompt you for a directory to open dired in. If
passed the universal argument, it will prompt you for a known project
instead.
2020-07-26 18:40:42 -04:00
ccfaf3f464 Move auto-mode-alist fallbacks to bottom
So they don't override auto-mode-alist entries added by packages, like
direnv's .envrc entry.
2020-07-26 18:26:33 -04:00
cacc9d2e9b lang/org: org-list-allow-alphabetical = t 2020-07-26 16:17:07 -04:00
a5c509afff lang/org: org-catch-invisible-edits = 'smart 2020-07-26 16:17:07 -04:00
b2e11f9a72 Revise docstrings for org hooks 2020-07-26 16:17:04 -04:00
629c7bed8e Rename λ! (deprecated) -> cmd! 2020-07-26 15:56:51 -04:00
12e414be89 Rename +org/toggle-clock -> +org/toggle-last-clock
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
076cee4e89 Revise +org--insert-item
Which powers +org/insert-item-below and +org/insert-item-above.
2020-07-26 15:44:42 -04:00
e6979166ee Disable flycheck in racket-xp-mode
Plus minor refactors.

Closes #3594

Co-authored-by: sorawee <sorawee@users.noreply.github.com>
2020-07-26 15:09:05 -04:00
0f39d7bda4 lang/cc: remove unnecessary settings
lsp-mode no longer uses company-lsp and with the remove of
company-prescient company-transformers is already nil.
2020-07-26 14:52:27 -04:00
e52993fe33 completion/company: update README's package list
To reflect e7c21634a
2020-07-26 14:52:16 -04:00
e7c21634a7 Remove company-prescient
Prescient re-sorts completion candidates by frecency, which is
disruptive for backends that do their own sorting (like LSP or sly, or
any backend that does fuzzy completion). It also slows down the
presentation of candidates by at least a magnitude of 2. The net loss in
performance and accuracy doesn't justify having frecency sorting, and
disabling it on a per-mode basis is too big a maintenance hassle.

Fix #3630
2020-07-26 14:43:19 -04:00
6ca9e0e2f1 Fix #3632: wrong-number-of-args on setq-local
Emacs 27.0.90 made setq-local variadic. I've backported this in core-lib
for Emacs <27 users. However, there are users who install Emacs
27.0.50...
2020-07-26 14:12:07 -04:00
e1fc2db751 Disable line numbers in dashboard
They look ugly when large margins are involved.
2020-07-26 14:03:45 -04:00
69ce5d5ea0 docs/getting_started: update ToC 2020-07-26 02:59:05 -04:00
135929d4ae docs/getting_started: fix heading hierarchy 2020-07-26 02:58:15 -04:00
8c2026b4ab docs/getting_started: revise & expand "Writing your own modules" 2020-07-26 02:56:27 -04:00
707f516edb Merge pull request #3629 from mjlbach/feature/add_pyright
Add support for pyright language server
2020-07-25 23:28:54 -04:00
d41df5f2c2 editor/format: add README #1166 2020-07-25 23:24:38 -04:00
4b96039374 bin/org-tangle: expand #+INCLUDE directives
See 711e68770 for details.
2020-07-25 22:57:22 -04:00
8da31dbbab config/literate: update & revise readme 2020-07-25 22:38:37 -04:00
711e687709 config/literate: expand #+INCLUDE directives
It's surprising that tangling doesn't expand #+INCLUDE directives. It's
so useful for literate configs I decided to expand them manually before
tangling (and relative to DOOMDIR, unless given an absolute path).
2020-07-25 22:33:52 -04:00
b2787a9426 Fix #3627: persist auto-yasnippet snippets
Needs to be persisted to a directory yasnippet can see.
2020-07-25 22:05:40 -04:00
e71b7fc705 Revise comments in core.el 2020-07-25 17:52:55 -04:00
b8a8ca9b06 Consider any window with no-other-window a popup
This allows +popup/other (other-popup) to jump to side windows created
outside of Doom's popup manager (e.g. treemacs or neotree).
2020-07-25 17:50:27 -04:00
99d5cd1fba Check +emacs-lisp-disable-flycheck-in-dirs against default-directory
Instead of buffer-file-name, which could be nil in some buffers.
2020-07-25 16:55:54 -04:00
e6ae1d295c Add support for pyright language server 2020-07-25 11:39:37 -07:00
807eb82bde docs/faq: add "How to make a new theme" 2020-07-25 02:22:41 -04:00
afcf56a610 Redesign dwim RET on org headings
In an effort to make +org/dwim-at-point more useful and intuitive.

- Fix latex preview toggling in subtree
- Toggle inline images more selectively
- Clean up after itself (delete overlays)
- Update +org/dwim-at-point docstring
- Always update todo statistics, cookies, checkbox counts and ToC.
2020-07-24 19:27:50 -04:00
2441d28ad1 Fix wrong-number-of-args error from cmd!! macro 2020-07-24 18:17:43 -04:00
7a276dbf6b Restore evil keybinds for mu4e-view-mode #3464 2020-07-24 17:57:56 -04:00
cd3c865c01 Bump :ui doom
hlissner/emacs-doom-themes@7307dc6 -> hlissner/emacs-doom-themes@294a432

Closes #3617

Co-authored-by: Maikol Solís <maikol-solis@users.noreply.github.com>
2020-07-24 15:25:21 -04:00
ff21dfe532 Revise :config literate README
Closes #3621

Co-authored-by: Carl Lange <carl@flax.ie>
2020-07-24 15:24:28 -04:00
3aeb177847 Add +literate-enable-recompile-h to enable save-on-tangle 2020-07-24 15:21:44 -04:00
bcc1b84e76 Increase so-long threshold for softwrapped text modes 2020-07-24 02:29:03 -04:00
aac73f4c01 Merge pull request #3613 from jsmestad/elixir-numbers-with-underscore
Support number highlighting for long Elixir numbers
2020-07-24 02:22:25 -04:00
61cb7252e2 Fix #3509 again 2020-07-24 02:13:19 -04:00
47a350f65f jinja2-enable-indent-on-save = nil #3555 2020-07-24 01:59:00 -04:00
42fbf201a9 Merge pull request #3619 from seanfarley/smf/jinja2-mode
Bump :tools ansible; fix #3555
2020-07-24 01:56:00 -04:00
a78c3973b2 Add server/ to gitignore #3324 2020-07-24 01:49:59 -04:00
9ec5428441 Set core.autocrlf = true in repos on Windows #2637
Line encoding issues can plague repos with dirty worktree prompts
updating packages or "Local variables entry is missing the suffix"
errors when installing them.
2020-07-24 01:49:59 -04:00
976a601750 docs/getting_started: add install guides for Windows
Closes #3444
Closes #2575
2020-07-24 01:49:59 -04:00
87d17fab8c docs/getting_started: general revision
An effort to make our documentation clearer, more concise in places,
simpler where possible and highlight caveats so folks aren't caught by
surprise by strange behavior.

- Remove --with-modern-cg433n-icon (#3554), as the default icon is a
  reasonable default, and I'd like to keep things simple.
- Mention "could not find package in recipe repositories" error and what
  to do about it.
- Mention that 'doom sync -u' is necessary for Doom's package manager to
  see recipe changes.
- Mention :no-byte-compile for installing local packages; to save you
  the hassle of running 'doom sync' every time you change them.
- Clarify Emacs 27 install instructions where possible (particularly for
  nixOS and Ubuntu)
2020-07-24 01:49:58 -04:00