Commit Graph

6277 Commits

Author SHA1 Message Date
Henrik Lissner
2a943437a2
lang/python: fix missing +modeline-update-env-in-all-windows-h
...when :ui modeline is disabled.
2019-10-07 15:34:12 -04:00
Henrik Lissner
11a6c03d69
Standardize naming of repl handler commands 2019-10-07 14:08:58 -04:00
Henrik Lissner
01fa9ec169
lang/cc: update README 2019-10-07 12:59:11 -04:00
Henrik Lissner
1aae5c9242
tools/eval: fix extra newlines in term-char-mode REPLs #1836 2019-10-07 12:58:05 -04:00
Henrik Lissner
de223e7398
Fix #1858, #1689: don't kill temp agenda buffers (yet)
Some commands expect temporary org agenda buffers (opened by org-agenda)
to remain open, so instead of proactively killing them we remap
org-agenda-quit and org-agenda-Quit to org-agenda-exit, which does that
for us at a more appropriate time: when closing the agenda.
2019-10-07 12:54:45 -04:00
Henrik Lissner
05f458a75b
Disable benchmark in minibuffer if dashboard is enabled
Redundant; also, printing to minibuffer during startup is somewhat
expensive.
2019-10-06 02:28:44 -04:00
Henrik Lissner
33998bdaff
tools/flycheck: inhibit popups in insert/replace modes 2019-10-05 12:47:31 -04:00
Henrik Lissner
a3b34a6806
Remove SPC h {D,h} keybinds to reduce accidents
`SPC h h` and `SPC h D` are too easy to hit by accident.
2019-10-05 12:17:14 -04:00
Henrik Lissner
5b5dbe1c47
editor/god: minor refactor
+ god-local-mode is autoloaded by the package
+ Use add-hook when add-hook! is unnecessary
+ Move autoload/god.el to autoload.el
2019-10-04 22:14:13 -04:00
Henrik Lissner
4761a7635a
lang/julia: add julia-repl package
Mentioned in #1836
2019-10-04 22:14:05 -04:00
Henrik Lissner
661290e8d7
lang/sh: fix +sh/open-repl 2019-10-04 22:04:47 -04:00
Henrik Lissner
051bceb0a8
Refactor localleader keybinds #1270
Introduces a select few of the localleader keybind standards proposed in
issue #1270, corrects a few typos and introduces more localleader
keybinds in general.

Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
Akhil Wali
1560dadb08 Use pushnew! to set god-exempt-major-modes 2019-10-05 09:41:00 +13:00
Akhil Wali
3e11008a7f Use bound-and-true-p instead of (and (boundp ...)) 2019-10-05 09:10:48 +13:00
Akhil Wali
394a1aaac0 Rename god-... -> +god-... 2019-10-05 09:10:48 +13:00
Akhil Wali
d14a910cf4 Rename and refactor god-mode hooks 2019-10-05 09:10:46 +13:00
Akhil Wali
e5288c990b Add god-mode module 2019-10-05 08:56:09 +13:00
Henrik Lissner
c21607ae66
lang/coq: general refactor
Potentially fixes #1854
2019-10-04 15:33:37 -04:00
Henrik Lissner
f6a182d69c
lang/org: clean up temp org-agenda buffers
Now auto-kills temporary agenda buffers, so long as they weren't already
opened by the user and doesn't exist in any other workspace.
2019-10-04 13:57:20 -04:00
Henrik Lissner
423a38c758
lang/org: move contrib/+hugo -> contrib/hugo
+ Refill +hugo flag's description in the README
+ Lazy load ox-hugo localleader keybinds by package, rather than by
  keymap deferral
2019-10-04 12:37:41 -04:00
Henrik Lissner
c023cef415
Merge pull request #1815 from bersace/pyenv-set-version-from-file
lang/python: recognize .python-version files
2019-10-04 12:13:03 -04:00
Henrik Lissner
1a66742bfc
Merge pull request #1729 from zenlor/feature/ox-hugo
lang/org: add +hugo feature
2019-10-04 12:11:15 -04:00
Henrik Lissner
976570d1f3
Merge pull request #1853 from oguzserbetci/patch-1
Correct a requirement in README.org
2019-10-04 12:08:51 -04:00
Henrik Lissner
d8526e00a7
Use python-shell-interpreter for .py file tmeplate 2019-10-04 11:57:19 -04:00
Oguz Serbetci
3eac1b296c
Correct a requirement in README.org 2019-10-04 13:34:56 +02:00
Lorenzo Giuliani
ce6b2f8c71 move map! to the :preface section 2019-10-04 10:31:19 +02:00
Étienne BERSAC
16ea03df4d
Set python version from .python-version file
This allow Doom Emacs to behave like shims, and respect Pyenv version
chosen by .python-version file.

Stolen from b252d252b0/layers/+lang/python/funcs.el (198).
2019-10-04 08:56:25 +02:00
Henrik Lissner
d297dc6934
Minor refactor & comment revision across the board 2019-10-03 23:33:59 -04:00
Henrik Lissner
31c95042c3
lang/latex: fix autofill in \item's #1849 2019-10-03 20:49:04 -04:00
Henrik Lissner
66abe99dec
Increase sly REPL popup's size #1296 2019-10-03 20:49:04 -04:00
Henrik Lissner
a3fc43adfe
Bind SPC q K to save-buffers-kill-emacs
A keybind for killing Emacs and the daemon in one go. The doom slayer
would be proud.
2019-10-03 20:48:56 -04:00
Henrik Lissner
daee52d358
Fix duplicate backends in +lookup prompts
When running a +lookup/* command with the prefix arg, you are prompted
for which backend to use, which could contain duplicates if the current
buffer has no local backends.
2019-10-03 17:16:06 -04:00
Henrik Lissner
19bfb1285d
Fix #1852: magit not restoring wconf when quitting 2019-10-03 16:43:49 -04:00
Lorenzo Giuliani
4480ab0051 unquote interactive lambda macros 2019-10-03 21:32:07 +02:00
Henrik Lissner
3471828f9e
Merge pull request #1592 from shanavas786/pipenv-bindings
lang/python: add pipenv keybinds
2019-10-03 15:02:48 -04:00
Henrik Lissner
a5d9079c43
Merge branch 'develop' into fix/add-add-featurep-condition-to-global-bindings 2019-10-03 14:57:19 -04:00
Gerry Agbobada
8947227afc Add missing conditionals for flymake/flycheck bindings (#1835) 2019-10-03 14:52:45 -04:00
Henrik Lissner
167ce4ca4d
Merge pull request #1840 from darth10/patch-1
ui/doom: add doom-solarized-dark to +doom-solaire-themes
2019-10-03 12:42:44 -04:00
Maximiliano
c0bd0c71c2 Add lang/python/README.org (#1844) 2019-10-03 12:40:46 -04:00
Henrik Lissner
9f145d082a
Merge pull request #1847 from filalex77/lang-scala-ensime-metals
lang/scala: replace ensime with metals
2019-10-03 12:13:08 -04:00
Henrik Lissner
921e36decd
Merge pull request #1850 from alexandergraul/fix-latex-documentation
lang/latex: update docs wrt latex viewers
2019-10-03 12:10:43 -04:00
Henrik Lissner
de6afec944
Merge pull request #1851 from alexandergraul/add-openSUSE-prerequisites
Add openSUSE prerequisite instructions
2019-10-03 12:09:37 -04:00
Henrik Lissner
f68203c2ef
lang/coq: fix file-missing proof-site errors
Occasionally happens after the first time running `doom refresh` (after
installing proof-general).
2019-10-03 11:43:16 -04:00
Henrik Lissner
0e6c015d60
tools/magit: init forge after building emacsql 2019-10-03 11:42:22 -04:00
Alexander Graul
b7a98cc788 Add openSUSE prerequisite instructions
These instructions were tested on openSUSE Tumbleweed and openSUSE Leap
15.1. There are some modules left that are not documented yet, but this
already improves the sitution for common openSUSE users.
2019-10-03 16:01:35 +02:00
Alexander Graul
db2901af71 Update documentation of recognized latex viewers
The user documentation of +latex-viewers did not keep up with changes to
the variable. This commit realigns its documentation.
2019-10-03 12:56:56 +02:00
Oleksii Filonenko
d2aa2443c2
lang/scala: replace ensime with metals
Ensime just went missing from everywhere.
On [[ensime.github.io]], they encourage to switch to metals -
a new Scala language server already supported by lsp-mode.

This commit:
- removes ensime completely
- adds a doctor.el to check for metals-emacs binary

Original issue: https://discordapp.com/channels/406534637242810369/406554085794381833/628809956103028747
Metals: https://scalameta.org/metals/docs/editors/emacs.html
2019-10-02 10:38:11 +03:00
Akhil Wali
16007d44f3
Add doom-solarized-dark to +doom-solaire-themes 2019-10-01 10:52:46 +13:00
Henrik Lissner
9026efcf5a
tools/lsp: enable flymake or flycheck, not both
And only enable flycheck if it is installed.
2019-09-30 12:50:26 -04:00
Lorenzo Giuliani
440f2cffaa move map! to the :init section of the package definition 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
ab144f89c2 use the λ! macro 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
22d3dbe306 use descriptions from kaushalmodi/ox-hugo@a8e0c6e
remove defun declarations, use lambdas
2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
8457d2f825 descriptions and keybindings as per ox-hugo docs
Mimicks the ox menu `C-c C-e H #`
2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
8fd3bd80da fix config.el, clean package :recipe 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
ea4fa7021d move +hugo feature to contrib/+hugo.el 2019-09-30 17:28:15 +02:00
Lorenzo Giuliani
a9e2bdf28c update package! with straight recipe
This is needed to avoid downloading the whole hugo configuration of the
repo' documentation website
2019-09-30 17:28:15 +02:00
Lorenzo Giuliani
84cd3b5bfb use package! macro :when flag
minor change to the README docs
2019-09-30 17:27:49 +02:00
Lorenzo Giuliani
ede04f705c add +hugo to init.example.el and README.org 2019-09-30 17:25:35 +02:00
Lorenzo Giuliani
f6b79d40a2 add ox-hugo to org 2019-09-30 17:23:38 +02:00
Henrik Lissner
3f7e0fd103
Fix +workspace/delete changing workspaces
...when deleting other workspaces.
2019-09-29 23:12:43 -04:00
Henrik Lissner
fd67534c89
Change how {size-indication,column-number}-mode are enabled
Relevant to #1817
2019-09-29 13:11:26 -04:00
Henrik Lissner
060f6a36d3
Fix +workspace/delete initially filtering workspaces
SPC u SPC TAB d will prompt you for the workspace you want to delete,
with the name of the current workspace prefilled into the the
minibuffer. This filters out all other workspaces from the get go, which
may fool you into thinking you can only delete the current workspace.

Now it only selects the current workspace by default, without filtering
them.
2019-09-29 12:50:20 -04:00
Henrik Lissner
ad1a7fd1ad
completion/helm: conditionally install helm-org 2019-09-29 02:00:47 -04:00
Henrik Lissner
3a026c0a8c
completion/helm: fix void-variable helm-completing-read-handlers-alist error 2019-09-29 01:58:22 -04:00
Henrik Lissner
a8e7c4fd45
Move helm-org config to completion/helm 2019-09-28 23:08:44 -04:00
Henrik Lissner
9d770546da
Merge pull request #1741 from jjzmajic/helm-org
Add helm-org (bound but not installed).
2019-09-28 23:02:25 -04:00
Henrik Lissner
b66de08204
Merge pull request #1727 from jjzmajic/develop
Load hydra examples without using example hydras.
2019-09-28 22:57:38 -04:00
Henrik Lissner
768846fa75
Merge pull request #1794 from rgrinberg/debug-defun-edebug
lang/emacs-lisp: add edebug keybinds
2019-09-28 22:48:46 -04:00
Henrik Lissner
7c8badc8fe
tools/flycheck: speed up buffer-wide flyspell checks 2019-09-28 12:47:21 -04:00
Henrik Lissner
e079b4b1e3
ui/vc-gutter: fix {next,previous}-hunk commands
They would sometimes jump to random hunks.
2019-09-27 15:18:44 -04:00
Henrik Lissner
f4346cdb61
Merge pull request #1832 from webframp/rustdoc
Fix install command for clippy, uses rustup
2019-09-27 15:04:36 -04:00
Sean Escriva
f62723644f
Fix install command for clippy, uses rustup
Trying to install with cargo fails with the following error:

```
Caused by:
  failed to run custom build command for `clippy v0.0.302`

Caused by:
  process didn't exit successfully: `/var/folders/66/180ynjt55z74l338gh0stq0c0000gn/T/cargo-installkNqJBB/release/build/clippy-bcde765a4c9acf93/build-script-build` (exit code: 1)
--- stderr

error: Clippy is no longer available via crates.io

help: please run `rustup component add clippy-preview` instead
```
2019-09-27 14:39:17 -04:00
Henrik Lissner
e88a759f09
Merge pull request #1830 from filalex77/fix-plantuml-url-again
lang/plantuml: fix jar download path (again)
2019-09-27 12:07:23 -04:00
Henrik Lissner
ac17c468d2
tools/pdf: revise comments 2019-09-27 12:05:48 -04:00
Oleksii Filonenko
54d4bbf829
lang/plantuml: fix jar download path (again)
Now this should redirect to the auto-selected mirror.

Related: #1637 #1639
2019-09-27 15:38:21 +03:00
Henrik Lissner
525193f94b
ui/workspaces: fset -> defalias
Allows these commands to be advised.
2019-09-26 17:55:33 -04:00
Henrik Lissner
87b7a8da05
lang/org: fix broken inline-image previews
For uses with imagemagick installed. Caused by
https://code.orgmode.org/bzg/org-mode/commit/48da60f4
2019-09-26 16:04:07 -04:00
Henrik Lissner
647ea041be
lang/csharp: minor correction to readme 2019-09-26 15:23:39 -04:00
Henrik Lissner
62711489df
tools/pdf: run pdf-tools-install-noverify after init 2019-09-26 15:04:25 -04:00
Henrik Lissner
a7e288c191
Merge pull request #1825 from UndeadKernel/fix_pdf-viewers
lang/latex: +pdf-viewers ordering and hook type-o
2019-09-26 14:31:00 -04:00
Henrik Lissner
364cec34e0
tools/lsp: revert lsp-eldoc-enable-hover to default (t) 2019-09-26 14:26:48 -04:00
Henrik Lissner
0690bac82f
completion/company: update plugin list in readme 2019-09-26 14:26:48 -04:00
Henrik Lissner
be1b3d298c
lang/csharp: update README 2019-09-26 14:26:48 -04:00
Henrik Lissner
d51cc0879d
lang/csharp: add +lsp flag & support 2019-09-26 14:26:47 -04:00
Henrik Lissner
bb68bcb80a
lang/rust: update prerequisites in README #1827 2019-09-26 14:26:47 -04:00
Henrik Lissner
737407dcec
tools/flyspell: remove +flycheck-immediately #1824 2019-09-26 14:26:47 -04:00
Henrik Lissner
a940f56fb4
tools/pdf: fix 1826
Error occurs if pdf-annot is never loaded before kill-buffer hook runs.
2019-09-26 14:26:47 -04:00
Henrik Lissner
7ec6a32c30
lang/latex: associate .tex with LaTeX-mode 2019-09-26 14:26:47 -04:00
Henrik Lissner
ece174d9ed
tools/pdf: document pdf-tools-install hackery 2019-09-26 14:26:47 -04:00
Undead Kernel
5385ee4f35 lang/latex: +pdf-viewers ordering and hook type-o
Previously, the last viewer set in `+latex-viewers` would take
precedence. The list is now reversed before applying changes so that the
first set has precedence.

The wrong hook variable was used to revert view buffers after compilation.
2019-09-26 14:35:44 +02:00
Henrik Lissner
2dfa690f83
Autoload new locate-command default
This makes it much easier to customize, since it will always be set early in the startup process, rather than unpredictably, whenever this autoloads file is loaded.
2019-09-23 13:39:53 -04:00
Rudi Grinberg
212bdf8ae5 Set locate-command in tools macos
It should be mdfind since spot light is on by default

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-23 17:47:58 +09:00
Henrik Lissner
30f15189e4
Merge pull request #1810 from rgrinberg/use-mdfind-counsel-locate-mac
Use mdfind for counsel-locate on a Mac
2019-09-22 14:29:13 -04:00
Henrik Lissner
7a1c8bd582
ui/popup: fix buffer cleanup ignoring kill-buffer-hook 2019-09-22 14:25:10 -04:00
Henrik Lissner
4d910accc9
lang/python: revise comments in conda config 2019-09-22 14:05:03 -04:00
Henrik Lissner
19ef103392
completion/helm: add mdfind support to helm-locate 2019-09-22 13:33:26 -04:00
Henrik Lissner
87c6e8900c
Fix org-insert-link desc prompt for helm users #1710
A change upstream causes the prompt to be suppressed if the current
command wasn't run interactively. The check for interactivity gets
tricky when advice are involved.
2019-09-22 13:06:16 -04:00
Henrik Lissner
bc1c16605f
config/default: move SPC g o . to SPC g o o 2019-09-22 12:10:13 -04:00
Henrik Lissner
f4d17707e7
config/default: bind SPC f l to locate
This will be remapped to counsel-locate or helm-locate if the ivy/helm
modules are enabled.
2019-09-22 12:09:51 -04:00
Henrik Lissner
342d7f8f12
Minor reformatting & comment revision 2019-09-22 11:59:53 -04:00
Henrik Lissner
799e822a19
ui/popup: move help buffers to new vslot
So *Messages* and help buffers get stacked instead of opened side by
side.
2019-09-22 11:58:42 -04:00
Henrik Lissner
efbc57a519
tools/direnv: update lorri overlay #1808 2019-09-22 11:57:40 -04:00
Henrik Lissner
db0846f502
ui/popup: don't catch ibuffer windows
They're your problem now.
2019-09-22 11:56:00 -04:00
Henrik Lissner
bdd51cdee9
lang/org: fix promotion/demotion ctrl keys 2019-09-22 11:39:28 -04:00
Rudi Grinberg
5c76bfce75 Use mdfind for counsel-locate on a Mac
This is the more sensible option as locate isn't configured by default
and spotlight is turned on by default.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-23 00:35:57 +09:00
Henrik Lissner
86928e425b
lang/pdf: fix wrong-num-of-args error for MacOS users 2019-09-21 14:19:56 -04:00
Henrik Lissner
6bc9a58ad4
config/default: bind SPC g {y,Y} to git-link 2019-09-21 13:59:15 -04:00
Henrik Lissner
6f9b7a2889
lang/nix: add ivy version of helm-nixos-options
And make it nix-mode's lookup-documentation handler, so pressing `K` on
an option will prefill the ivy search.
2019-09-21 13:57:26 -04:00
Henrik Lissner
f93d3ca596
editor/evil: evil-escape-delay = 0.15 2019-09-20 23:55:25 -04:00
Henrik Lissner
06a8384f77
ui/treemacs: remove unnecessary hack
Due to changes upstream.
2019-09-20 23:54:53 -04:00
Henrik Lissner
2de198e749
Fix +popup/raise not raising some windows
The command now raises the popup into the previously selected window,
unless the prefix argument is used.
2019-09-20 23:54:17 -04:00
Henrik Lissner
e10cd8cf2e
Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Henrik Lissner
bd93682de5
config/default: tramp-default-method = ssh 2019-09-20 17:18:16 -04:00
Henrik Lissner
bad0dba1fc
tools/magit: refactor magit-version advice
Not strictly necessary, but more correct.
2019-09-20 17:18:16 -04:00
Evan Lecklider
de43b499da
Add .svelte to web-mode
With the merge of https://github.com/fxbois/web-mode/pull/1074, web-mode now supports Svelte templates. This change activates web mode when opening a `.svelte` file.
2019-09-20 13:50:43 -07:00
Henrik Lissner
f05512c2e5
lang/rust: restore advice redefs
Update package-installed-p redefinition to use a safe `require`, so that rustic-setup-rls will fail gracefully if lsp/eglot aren't available.

And restore rustic-install-rls-client-p redefinition to prevent rustic from trying to install packages.
2019-09-20 14:49:39 -04:00
Andrew Whatson
8e9d3fdc5d Fix package-installed-p hack for rustic 2019-09-20 21:49:44 +10:00
Henrik Lissner
8a634bc04d
Fix evil-collection-pdf not loading #1789
And prevents evil-collection-pdf from loading pdf-tools' eval-after-load
blocks twice.
2019-09-20 01:22:25 -04:00
Henrik Lissner
fccafff291
tools/pdf: install epdfinfo on load #1788
Reverses 4f7bf8b
2019-09-20 01:19:40 -04:00
Henrik Lissner
7f2c7e7ae3
lang/rust: prevent rustic from installing packages 2019-09-20 00:11:02 -04:00
Henrik Lissner
d5ecfd3429
Move pdf-tools popup rules to tools/pdf 2019-09-19 18:55:44 -04:00
Henrik Lissner
a0826447f5
tools/pdf: refactor retina support advice #1667 2019-09-19 18:39:09 -04:00
Henrik Lissner
4aff103770
Merge pull request #1785 from rgrinberg/org-journal-feature
lang/org: add +journal feature (org-journal)
2019-09-19 12:57:48 -04:00
Rudi Grinberg
1ffaa699f8 Fix naming convention
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 23:01:08 +09:00
Rudi Grinberg
46c0ec0f11 [emacs lisp] Add bindings for debugging defuns
`, d f` - turn on debugging for defun
`, d F` - turn off debugging for defun

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 13:58:16 +09:00
Rudi Grinberg
baf9b3bc87 Use cookie for journal feature check
The :when option in the use-package clause is then removed

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:30:26 +09:00
Rudi Grinberg
aa1d2f5d51 org-journal: defer config
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:51 +09:00
Rudi Grinberg
594e38fd47 Move org-journal config to contrib
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:06 +09:00
Henrik Lissner
42df2eaf8e
Merge pull request #1786 from cnsunyour/develop
Fix variable misspelling (lv-use-separator)
2019-09-15 19:24:51 -04:00
Henrik Lissner
06328840c3
lang/org: split compound condition into two :when's 2019-09-15 19:23:06 -04:00
Henrik Lissner
0d719d6773
Move SPC b o to SPC b O
To make kill-commands a little harder to press accidentally.
2019-09-15 16:22:02 -04:00
Henrik Lissner
20eb5ce4f6
Bind SPC / f to locate/counsel-locate 2019-09-15 16:21:10 -04:00
Henrik Lissner
dc15d471da
Bind zn to +evil:narrow-buffer 2019-09-15 16:19:47 -04:00
Henrik Lissner
fdeb1aa45d
Prevent evil-collection from loading packages twice
Triggering eval-after-load blocks (and after!/use-package!) twice.
2019-09-15 16:18:31 -04:00
Henrik Lissner
4f7bf8b976
tools/pdf: don't install pdf-tools on load
Now that pdf-tools-install compiles epdfinfo asynchronously, pdf files
are loaded before it is finished, yielding errors while pdf-view-mode
initializes. There is currently no effective workaround;
pdf-tools-install must be executed manually.
2019-09-15 16:16:46 -04:00
Henrik Lissner
e956c0dc5a
lang/rust: enable rainbow-delimiters-mode #1787 2019-09-15 12:06:40 -04:00
Sunn Yao
97b32bec15
Fixes wrong variable name: lv-use-seperator 2019-09-15 18:50:46 +08:00
Rudi Grinberg
7886138f5b Add support for org-journal
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-15 13:56:43 +09:00
Henrik Lissner
ab8b31e5bc
Change behavior of BANG for +evil:narrow-buffer
BANG = use indirect buffers, otherwise, narrow/widen the current buffer.
2019-09-14 18:32:14 -04:00
Henrik Lissner
f7c368c5da
ui/workspaces: associate files opened via emacsclient
...with the current workspace.
2019-09-14 18:28:30 -04:00
Henrik Lissner
20d15c685e
Fix :narrow ex command 2019-09-14 01:56:38 -04:00
Henrik Lissner
6bef031e25
Bind SPC b - to doom/toggle-narrow-buffer 2019-09-14 01:55:16 -04:00
Henrik Lissner
a736158dae
lang/ocaml: update README 2019-09-13 22:04:53 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
83c95ddaa0
lang/clojure: general refactor
To optimize load time and conform to new elips conventions introduced
with straight.el integration.
2019-09-13 22:00:34 -04:00
Henrik Lissner
31ccd9be78
Replace vestigial references to def-package!
def-package! is deprecated and is replaced with use-package! to reduce
confusion about its purpose and connection to use-package.
2019-09-13 22:00:34 -04:00
Henrik Lissner
016f6c1b8b
lang/scheme: general refactor
To optimize it and conform to new elips conventions introduced with
straight.el integration.
2019-09-13 22:00:33 -04:00
Henrik Lissner
c3997730dd
lang/org: rebind zn to org-tree-to-indirect-buffer
To match global behavior of zn (narrow in indirect buffer).
2019-09-13 00:28:08 -04:00
Henrik Lissner
5e6c2205b8
Bind to zn/zN to new narrow/widen (indirect) commands 2019-09-13 00:28:08 -04:00
Jake Coble
d3b1ef72c2 Use org-startup-indented instead of mode hook 2019-09-12 14:04:38 -07:00
Henrik Lissner
a16838b7c2
Merge pull request #1759 from rgrinberg/lean-mode
Add lang/lean module
2019-09-11 23:42:27 -04:00
Henrik Lissner
1c05773c39
General, minor refactors & comment revision 2019-09-11 23:41:08 -04:00
Henrik Lissner
f9feaec5bd
lang/web: fix stylus-mode (install sws-mode) #1775
For some reason, even though sws-mode is a declared dependency of
stylus-mode, it doesn't get installed, so we have to do so manually.
2019-09-11 23:41:08 -04:00
Henrik Lissner
b1f9965fe7
lang/python: install lspyls in doom-etc-dir #1776 2019-09-11 23:41:08 -04:00
Henrik Lissner
d866ee3738
ui/popup: conform function to naming conventions 2019-09-10 15:01:00 -04:00
Henrik Lissner
6f6e30c428
ui/popup: refactor org hacks
This removes a few popup advice functions that are no longer necessary
and changes how we handle org agenda windows (they're now displayed in
the current window, rather than a popup -- see org-agenda-window-setup
to change this).

Other issues addressed:

+ Fixes 'Attempt to delete main window of frame' errors when using
  org-todo from popups (particularly in daemon Emacs).
+ Removed the custom 'popup-window options for org-agenda-window-setup
  and org-src-window-setup, and change them to 'current-window and
  'other-window, respectively.
2019-09-10 14:54:13 -04:00
Henrik Lissner
887bc05478
Ensure evil-escape loads later at startup
evil-normal-state-exit-hook is fired prematurely at startup, which makes
it a poor candidate for :after-call deferral.
2019-09-09 23:04:07 -04:00
Rudi Grinberg
8778eb2288 Disable auto initializatinon of company in lean mode
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Rudi Grinberg
2527306069 Use map! with after! to setup bindings
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Rudi Grinberg
dbf9e9e2c7 Add a module for the lean theorem prover
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Henrik Lissner
04c593a765
Remove deleted imenu module from modules/README.org 2019-09-09 15:46:13 -04:00
Henrik Lissner
43d80dcec6
Fix #1692 & stop org-todo from monopolizing frame
How org-todo manipulates the window config has changed upstream.
2019-09-09 14:25:23 -04:00
Henrik Lissner
23509d22c5
Merge pull request #1761 from rgrinberg/coq-bindings
lang/coq: add localleader key bindings
2019-09-08 21:00:33 -04:00
Henrik Lissner
a3a73bd316
Handle non-string/symbol langs in babel lazy loader
Possibly addresses #1745
2019-09-08 20:55:21 -04:00
Henrik Lissner
d0e3bc3455
Fix #1765: enabling tide when lsp is active 2019-09-08 19:20:42 -04:00
Rudi Grinberg
081e57dc10 Add coq key bindings
These bindings are modelled afer the bindings in spacemacs

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-08 17:44:12 +09:00
Henrik Lissner
1539387747
Reformat docs/api.org 2019-09-07 19:57:58 -04:00
Henrik Lissner
f816149589
lang/org: update +org/remove-link
To reflects changes made upstream, in org.
2019-09-07 19:57:58 -04:00
Henrik Lissner
70c60e6583
tools/magit: re-enable magit-todos over tramp
Reverts 9ab49be. TRAMP support was added in
alphapapa/magit-todos@a80dace
2019-09-07 19:57:58 -04:00
Henrik Lissner
8d50280168
lang/agda: reformat map! call
To match other uses of map!
2019-09-07 19:57:58 -04:00
Sunn Yao
e1d1d148c1 lang/plantuml: fix regexp in plantuml--fix-atstart-in-org-src-blocks-a (#1760)
* Fix a regexp bug
* [:blank:] never match '\n', so add '\n' to regexp
2019-09-07 12:16:08 -04:00
Sunn Yao
b6b2d74f25 lang/plantuml: fix src blocks that start w/ @start (#1746)
* Fix advice bug of chinese and japanese
* Fix bugs of advice
* Update config.el
* Fix "@start" prefix execute error on ob-plantuml
* replace with 'after!' and rename advice function
2019-09-07 00:27:23 -04:00
Henrik Lissner
580cf639c1
Merge pull request #1748 from babariviere/develop
Add go-add-tags for go-mode
2019-09-06 19:18:17 -04:00
UndeadKernel
56d8e1e0f8 bindings: fix emacs bindings and add more 2019-09-07 00:32:34 +02:00
babariviere
3d1e232f50 add go-add-tags for go-mode 2019-09-06 11:00:24 +02:00
Henrik Lissner
ac5168f8af
lang/javascript: use-package -> use-package! #1712 2019-09-06 01:32:20 -04:00
Henrik Lissner
d8d4337228
Merge pull request #1622 from jsravn/fix-go-test-rerun
Fix +go/test-rerun
2019-09-06 01:05:45 -04:00
Henrik Lissner
01c9ec0c7f
Merge pull request #1716 from flatwhatson/sh-keywords
Add ln to +sh-builtin-keywords
2019-09-06 00:50:04 -04:00
Henrik Lissner
2731a5cd9a
Merge pull request #1756 from rgrinberg/fix-readme-agda
Fix wiki for agda
2019-09-06 00:47:47 -04:00
Henrik Lissner
49d86ae648
lang/lua: conform hooks to new naming convention 2019-09-06 00:34:23 -04:00
Henrik Lissner
e55ed59951
lang/lua: add flycheck-moonscript package
And only install moonscript package if +moonscript flag is provided.
2019-09-06 00:33:17 -04:00
Henrik Lissner
3b7711420f
General comment revision & cleanup 2019-09-06 00:25:35 -04:00
Henrik Lissner
c0d2ab331e
Remove command-log-mode
This isn't vital enough a package to be included in core. Emacs already
provides view-lossage, and there are other, better packages for
displaying your keybinds as you type.

Even one that I've been working on (with special evil support):
https://github.com/hlissner/doom-emacs-private/blob/master/lisp/keycast.el
2019-09-06 00:13:40 -04:00
Rudi Grinberg
cd1783ed8e Fix wiki for agda
we no longer use agda-mode locate

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-06 12:39:25 +09:00
Henrik Lissner
778c7c4244
Fix #1750: errors while exporting markdown
Now runs the exporters directly, rather than through shells. Also fixes
"This document format requires a nonempty..." errors with pandoc
exporter.
2019-09-05 14:05:27 -04:00
Henrik Lissner
7e36c5c2b3
ui/tabs: fix recursive load errors & update
An autoload was causing an autoload before their respective packages
could declare they had been loaded, leading to cyclical loading errors.
2019-09-05 13:43:49 -04:00
Henrik Lissner
1031adb6af
lang/org: remove redundant variables
Many of these settings are redundant with their defaults.
2019-09-05 13:12:44 -04:00
Henrik Lissner
975928193b
Remove doom/open-bug-report command #1752
The command was removed some time ago and won't be restored (for now).
2019-09-04 19:02:50 -04:00
Henrik Lissner
92c839be02
tools/magit: warn if emacsql fails to build #1751 2019-09-03 15:47:38 -04:00
Henrik Lissner
81ee250c09
Minor refactor & revision across the board 2019-09-03 00:59:46 -04:00
Henrik Lissner
059ede53b6
Update all unit tests
To meet changes introduced from the straight branch merge.
2019-09-03 00:59:46 -04:00
Henrik Lissner
e996216714
Have lsp! return non-nil if successful
And fix an issue where +javascript-init-lsp-or-tide-maybe-h would
reference lsp-mode in the rare case where lsp-mode isn't defined (likely
because the user forgot to run `doom refresh` after enabling the :tools
lsp module).
2019-09-02 21:43:12 -04:00
Henrik Lissner
713258ee31
ui/neotree: fix reference to renamed function 2019-09-02 19:17:15 -04:00
Henrik Lissner
abc80e43ae
tools/magit: disable magit-todos over TRAMP 2019-09-02 13:14:52 -04:00
Henrik Lissner
07dfe2703c
Fix void-function diff-hl-magit-post-refresh error 2019-09-02 12:42:02 -04:00
Henrik Lissner
f763bf2fd0
Change :mc to take delimited pattern
This used to take a regexp after a space: ':mc REGEXP'. It now is
delimited, like :g or :s, e.g.

  :mc/REGEXP/FLAGS
  :mc/[a-z]
  :mc/abc/g
2019-09-02 01:30:04 -04:00
Henrik Lissner
3c4252ffe7
Merge branch 'develop' into dired 2019-09-02 00:51:52 -04:00
Sunn Yao
8f061eb6b8 input/{chinese,japanese}: fix org-html-paragraph advice 2019-09-02 00:48:33 -04:00
Henrik Lissner
05ab672ef9
Merge pull request #1732 from UndeadKernel/feature_sp-org
lang/org: smarter smartparens in org src blocks
2019-09-02 00:46:44 -04:00
Henrik Lissner
6254829d46
Merge pull request #1731 from rgrinberg/agda-straight
lang/agda: install agda2-mode via straight
2019-09-02 00:45:56 -04:00
Valentin Ignatev
7ffc5d3134 Call renamed hook in the +cc/reload-compile-db autoload 2019-09-01 16:23:04 +03:00
Uros Perisic
3996b01457 Add helm-org (bound but not installed). 2019-08-31 19:45:15 +08:00
Rudi Grinberg
88fc054919 Use straight for agda
We can fetch the mode directly from straight. There's no need to rely on
having this .el file installed for us. Now agda's el files can be edited
directly like all other emacs packages.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-31 09:45:13 +07:00
Uros Perisic
9589f6e372 Load hydra examples without using example hydras.
`+hydra/window-nav` uses functions from `hydra-examples.el` but the file
is never loaded. Adding this does not actually define any hydras (this
would require `hydra-examples-verbatim` to be `t`), it just load the
utility functions to make the hydras defined in doom work.
2019-08-30 13:58:08 +08:00
Henrik Lissner
9bbc77c2c7
Focus org-capture frame on MacOS 2019-08-29 18:45:20 -04:00
Jakub Darul
f7f4c39492 fixed formatting 2019-08-29 20:43:52 +02:00
Jakub Darul
ba69c9efe4 added featurep codition to keybindings
includes popup, flycheck, flyspell, org +present, indent-guides
2019-08-29 20:38:56 +02:00
Undead Kernel
521ff7ac1a lang/org: smarter smartparens in org src blocks
While point is in a babel src block, do not autoexpand emphasis markers.
2019-08-29 15:43:53 +02:00
Henrik Lissner
21883d9700
lang/javascript: fix npm-mode keybinds #1712 2019-08-28 22:41:31 -04:00
Henrik Lissner
f90cf1f974
Fix +default/org-notes-headlines 2019-08-28 22:08:13 -04:00
Henrik Lissner
b141b4bbd8
Merge pull request #1720 from AloisJanicek/fix-snippets-keybindings
fix function name mismatch in snippets keybindings
2019-08-28 16:49:06 -04:00
Henrik Lissner
f806b54333
Merge pull request #1723 from JakDar/develop
config/default: remove unused floobits & impatient-mode keybinds
2019-08-28 16:48:48 -04:00
Jakub Darul
1a95ed263b removed unused floobits and impatient-mode bindings 2019-08-28 21:57:40 +02:00
Henrik Lissner
ccaf92b0d3
tools/magit: don't kill all magit buffers when quitting one
And mark all outdated buffers, rather than just the ones in the current
workgroup.
2019-08-28 15:22:14 -04:00
Henrik Lissner
7727920629
Rewrite doom/reload 2019-08-28 15:19:58 -04:00
Henrik Lissner
09f077259e
lang/javascript: make npm keybinds more accessible #1712 2019-08-28 15:17:59 -04:00
Henrik Lissner
9e122c6847
ui/workspaces: fix session restoration
Caused by an inverted buffer filter when saving the current session.
2019-08-28 12:41:00 -04:00
Henrik Lissner
4cc359fd2b
Add SPC b d keybind for killing buffers
Relevant to #1436
2019-08-28 12:41:00 -04:00
Henrik Lissner
1cb9dbb2de
Add evil-switch-to-windows-last-buffer keybinds
SPC ` and SPC b l
2019-08-28 12:40:59 -04:00
Henrik Lissner
16b1456192
lang/org: fix new filepath defaults
...if org is loaded before the module.
2019-08-28 12:40:59 -04:00
Alois Janíček
e195d13440
fix function name mismatch in snippets keybindings
some function related to snippets were renamed but their references
weren't updated to reflect this change resulting in error
2019-08-28 11:35:10 +02:00
Henrik Lissner
cbd3a3b252
Fix #1697: use 2.0 branch for ensime package 2019-08-28 00:40:50 -04:00
Henrik Lissner
96e2a7726d
ui/doom: remove 'append in doom-load-theme-hook 2019-08-28 00:40:50 -04:00
Henrik Lissner
29614a3187
Merge pull request #1693 from emil-r-petersen/fixup-shortcut
Add leader keybinds for magit-commit-fixup
2019-08-27 16:31:24 -04:00
Henrik Lissner
611786dd01
Merge pull request #1713 from rgrinberg/fix-agda
lang/agda: fix 'SPC m a' keybind (agda2-auto)
2019-08-27 16:28:54 -04:00
Henrik Lissner
880c581c0d
tools/direnv: add README 2019-08-27 12:50:10 -04:00
Andrew Whatson
4f7adcca7c Add ln to +sh-builtin-keywords 2019-08-28 00:15:33 +10:00
James Ravn
647fe4ce68 Use compile instead of async 2019-08-27 11:02:57 +01:00
Ting Zhou
db5049e13e emacs/dired: minor fix 2019-08-27 00:14:51 -07:00
Rudi Grinberg
d29431d10f Fix keybinding for agda's auto
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-27 14:12:05 +07:00
Henrik Lissner
b3c9abfc39
Add :editor word-wrap to modules/README.org 2019-08-27 02:33:57 -04:00
Henrik Lissner
9d716dd13d
Merge pull request #1709 from flatwhatson/word-wrap
Add :editor word-wrap module
2019-08-27 01:06:54 -04:00
Andrew Whatson
6381a5c0ae Add :editor word-wrap module
Defines a new minor-mode `+word-wrap-mode` which configures
adaptive-wrap-prefix-mode and visual-line-mode for smart soft-wrapping
of code.

Evil users can toggle it with `SPC t w`.

Enable globally with `+global-word-wrap-mode`.

See the README for more details!
2019-08-27 15:04:38 +10:00
Alexander Fu Xi
6c4d8cd408 tools/pdf: display retina images on Emacs NS-port #1667
* Advice pdf-tools to display retina image on Mac
* Apply to other functions
* hotfix
* remove redundant advice
2019-08-27 00:36:20 -04:00
Henrik Lissner
08dd489a93
lang/org: correct/expand keybinding comments 2019-08-27 00:13:04 -04:00
Henrik Lissner
3fae411918
lang/latex: refactor default viewer resolution
And add evince to list of auto-detected viewers.

This should fix an issue where preview-pane was used regardless of what
viewer(s) were available.
2019-08-27 00:11:52 -04:00
Henrik Lissner
a9b5640d1f
tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
2019-08-27 00:09:50 -04:00
Henrik Lissner
af26a14230
lang/cc: decouple lsp init from ccls package 2019-08-27 00:05:13 -04:00
Henrik Lissner
8766499b0d
Fix some file permissions errors
Occurs when deferred packages are loaded while in an unreadable or
non-existent directory.
2019-08-27 00:05:12 -04:00
Henrik Lissner
43ebba886f
lang/javascript: fix eldoc in tide-mode 2019-08-27 00:05:12 -04:00
Henrik Lissner
3d1569515b
emacs/vc: minor reformatting
And fix ;;;###package cookies. They aren't necessary for after! or
use-package! blocks.
2019-08-27 00:05:12 -04:00
Ting Zhou
c5c500e033 emacs/dired: ranger already come with omit-mode 2019-08-26 00:01:37 -07:00
Ting Zhou
ebff3ff6e0 emacs/dired: use diff-hl instead of dired-k 2019-08-25 23:20:17 -07:00
Henrik Lissner
5b656ec56c
emacs/vc: refactor enforcement of git-commit conventions
To make it easier for users to customize.
2019-08-23 20:29:35 -04:00
oreodave
ff1b210469 lang/csharp: Fix code issues keybind does not work
<localleader>ri : omnisharp-fix-code-issue-at-point
This function does not exist, thus the keybind doesn't work
2019-08-23 23:29:46 +01:00
oreodave
c35c704de8 lang/csharp: updated bindings
Specifically:
- `t-a` -> `t-s` ("unit test all" is now "unit test buffer")
- `t-r` -> `t-l` ("unit test ?" is now "unit test last")
- `t-s` is the same (couldn't think of anything better)
2019-08-23 23:28:50 +01:00
oreodave
da0f3afb12 lang/csharp: -Remove old bindings
These bindings use older omnisharp functions that no longer work. Should
be replaced by new omnisharp functions
2019-08-23 23:28:28 +01:00
Henrik Lissner
6c734ab039
ui/doom-dashboard: use fancy-splash-image variable 2019-08-23 01:56:44 -04:00
Henrik Lissner
e38dad13c6
lang/lua: fix +lua-love-project-root
Its former logic would only return a correct path if both
main.{lua,moon} and src/main.{lua,moon} exist within the same project,
which is very unlikely.
2019-08-23 01:56:43 -04:00
Henrik Lissner
ee81d0533a
lang/lua: set default indent width to 2
As per the official lua style guide:
http://lua-users.org/wiki/LuaStyleGuide
2019-08-23 01:04:41 -04:00